lp:~openerp-dev/openobject-server/trunk-bug-925361-odo
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/trunk-bug-925361-odo
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 4049. By Olivier Dony (Odoo)
-
[ADD] field.date.
context_ today: added function to use as _defaults for date fields As discussed on bug 925361, in order to have
a consistent behavior everywhere we need default
values to be using the client's timezone, just
as if the user had set the value themselves
using their local clock.
Because fields.date values are timezone
agnostic by design, they must be correctly
initialized from the start, no conversion
happens later.
The new context_today method is mean to be
easily usable as _defaults initialize, i.e.:
'date_field': fields.date.context_ today
is all that is needed.
It also avoids the classical mistake of
forgetting to make the default value
dynamic and directly passing the result of
a time.strftime() call. - 4047. By Olivier Dony (Odoo)
-
[IMP] res.partner.bank: swap state/country fields in vertical layout
Users need to fill in country to see the
list of states, so it must be first in the
form, even if that does not feel very
natural in a vertical layout. - 4044. By Xavier (Open ERP)
-
[IMP] remove nonsensical attributes on tree and search, tighten tree/@toolbar
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server