Commit Graph

3 Commits (4605af5ba810d888c293891c4b29ad716bac0f90)

Author SHA1 Message Date
Sébastien BEAU fc4bcb3774 [IMP] jsonifier: black, isort, prettier 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