summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-12-05 15:00:07 +0100
committerLucas Perais (lpe) <lpe@odoo.com>2017-12-06 14:30:44 +0100
commitaf8908b03c73f8bb5b6ff3a60171caedaf017e82 (patch)
treea9ecf8efb33a04c98a3e9ea0d47847f43500efc6 /addons/web_editor/static/src
parent9d0b4d0c2d9e970f614ebe8ce7cabe35275ebfc9 (diff)
[FIX] stock: do not propagate date when negative delta
In Pick - Ship: - validate a sale order which scheduled date is an hour in the future. - validate the WH/PICK picking Before this commit the WH/OUT picking 's scheduled date was set a day in the **past** This was due to the implementation of datetime substraction and timedelta, which, in case of a negative value, would take -1 day and some complementary values (hours, minutes etc...) (the difference is complementary) After this commit, the WH/OUT picking 's scheduled date stays what it was in that particular use case. OPW 784452
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions