Merge lp:~openerp-dev/openobject-addons/6.1-opw-581667-cbi into lp:openobject-addons/6.1
Proposed by
Chris Biersbach (OpenERP)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.1-opw-581667-cbi |
Merge into: | lp:openobject-addons/6.1 |
Diff against target: |
135 lines (+21/-13) 4 files modified
account/account_invoice.py (+10/-2) account/account_move_line.py (+5/-5) account_voucher/account_voucher.py (+1/-1) stock/stock.py (+5/-5) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-581667-cbi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+139396@code.launchpad.net |
Description of the change
The issue that was encounteres: In multiple places (pickings, invoices, journal entries, payments, etc.), date default values moved to the next day too early.
The reason: The code to compute dates and datetimes was mostly timezone-oblivious. For example, time.strftime was used for generating default values for date fields, which is wrong, a new function was created exactly for this purpose.
The fix: I replaced timezone-oblivious code with its timezone-aware counterpart
To post a comment you must log in.
Unmerged revisions
- 7086. By Chris Biersbach (OpenERP)
-
[FIX] More timezone fixes in account_voucher and stock
- 7085. By Chris Biersbach (OpenERP)
-
[FIX] This fixes various timezone issues in picking, invoice and journal entry