lp:~openerp-dev/openobject-server/6.1-bug-932830-cto
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/6.1-bug-932830-cto
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 71 lines (+12/-16)1 file modifiedopenerp/tools/graph.py (+12/-16)
Related bugs
Bug #932830: Diagram view with cycle: infinite loop | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 4072. By Olivier Dony (Odoo)
-
[FIX] fields.binary: allow writing base64 unicode string values
The fields.binary type allows storing arbitrary
byte arrays, but it has been used historically
to store base64-encoded versions of the binaries.
This was partially related to the way these binary
values are serialized when transferred using the
standard XML-RPC protocol.
With the introduction of JSON-based RPC calls
alongside the 6.1 web client, these base64-encoded
binaries may now be deserialized as unicode ASCII
strings instead of 8-bit strings. That seems like
an acceptable behavior and we can simply coerce
these unicode strings to bytes strings as we know
they will be pure ASCII. Any non-ASCII unicode
value for binary field makes no sense and should
be passed as a byte string directly.Thanks to Rui Barreiros for providing the final
hint in bug 919982 comments that lead to the
identification of this bug. - 4069. By Olivier Dony (Odoo)
-
[FIX] Correct remaining SQL now() calls, must use UTC
This is essential to have the proper behavior for
timestamps: on the database side we exclusively
store UTC data (no DST issues, etc.) as naive
timestamps (to prevent Postgres from messing with them).
Inside OpenERP server/addons we work again with
pure UTC data (much simpler), and only render
them according to the user's timezone when they
are displayed in the user interface or rendered
in a PDF report.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server