lp:~openerp-dev/openobject-server/trunk-bug-925361-odo

Created by Olivier Dony (Odoo) and last modified
Get this branch:
bzr branch lp:~openerp-dev/openobject-server/trunk-bug-925361-odo
Members of OpenERP R&D Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
OpenERP R&D Team
Project:
Odoo Server (MOVED TO GITHUB)
Status:
Merged

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.

4048. By Vo Minh Thu

[IMP] tests: expose an explicit list of test sub-modules.

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.

4046. By Vo Minh Thu

[FIX] ir_rule: disallow ir_rules on ir_rule.

4045. By Olivier Dony (Odoo)

[ADD] base: missing post-1995 ISO3166 countries

4044. By Xavier (Open ERP)

[IMP] remove nonsensical attributes on tree and search, tighten tree/@toolbar

4043. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4042. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4041. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4040. By Vo Minh Thu

[MERGE] --proxy mode added, using Werkzeug ProxyFix class.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:openobject-server
This branch contains Public information 
Everyone can see this information.

Subscribers