Commit Graph

3 Commits (c888c09d99af17210c57d5f3069aeb9ae2bdaf9d)

Author SHA1 Message Date
Sébastien BEAU 3852262660 jsonifier: remove deprecated logic for getting the date in user tz 2024-01-02 15:53:30 +07:00
Simone Orsi be27d5d309 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`.
2024-01-02 15:53:30 +07:00
Simone Orsi 4175d5cefa 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.
2024-01-02 15:53:30 +07:00