summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-02-29 18:25:49 -0700
committerDenis Ledoux <dle@odoo.com>2016-02-29 18:33:55 -0700
commit3bc7ea6bcf3a53281b7b0d01b94caf83f121284c (patch)
tree83a0ff95f40c43b0c37fc8320e75ab0b97bfb941 /doc/reference
parent8c278a4e4a8f1d8c899fc4f9d8d2a5abc13a4192 (diff)
[FIX] stock: stock valuation user timezone date
When delivering a delivery order (`stock.picking.out`), which generates accounting entries e.g. thanks to the real-time stock valuation, the date of the move set was the UTC today date, while it must be the user's today date, using the timezone passed in the context. This prevented the delivery of the `stock.picking.out` when the `Check date in period` boolean was checked in the stock journal, and the user date is in the previous month compared to the UTC date, as the date set on the move entries were not in the selected period for these move entries. e.g. When the user timezone is UTC -8, and his current time is 2016-02-29 18:00:00, the UTC date is 2016-03-01 02:00:00, the period chosen is February (correct), but the date on the move entries were set to 2016-03-01. opw-670820
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions