Commit Graph

4 Commits (5f723b210627f88160c0eee696d815f0b44a6ff5)

Author SHA1 Message Date
Sébastien BEAU 6281758a6e jsonifier: remove deprecated logic for getting the date in user tz 2023-02-27 10:16:05 +01:00
Sébastien BEAU a9449b2be9 [IMP] jsonifier: black, isort, prettier 2023-02-27 10:05:54 +01:00
Simone Orsi 4b4de6471e jsonifier: fix date handling
We should always keep UTC and let the consumer deal w/ it.
This change is backward compatible but allows to turn off
the old behavior w/ the ctx flag `jsonifier__date_user_tz=False`.
2023-02-27 10:05:54 +01:00
Simone Orsi 47306c8143 Replace base_jsonify w/ jsonifier
Rationale:

1. the name reflects better what it does
   as this is not _just_ a base module

2. solves publication issue on odoo apps store
   due to an old module registered w/ the same name
   that even if un-published blocks publishing the module
   for all versions.
   This in turn, blocks the publication of ALL modules
   that depend on base_jsonify.
2023-02-27 10:05:54 +01:00