default date values improperly set in UTC during actions triggered via workflows
Bug #949516 reported by
Willow IT's Code Repository Admin
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
The function in fields.date, context_today, uses the context variable 'tz'. Since context is not passed by workflow triggers, dates generated by workflow transitions are picking up UTC date, not the client's timezone date.
For example, validating a customer invoice that has no invoice date.
This is possibly related to bug:434266
Related branches
To post a comment you must log in.
Indeed, it seems important else the date of many records will simply be wrong... /code.launchpad .net/~openerp- community/ openobject- server/ context- in-workflows/ +merge/ 85518
Please also consider merging NaN and Akretion work to have workflow passing the context into 6.2 as it didn't make it into 6.1:
https:/