diff options
| author | William Henrotin <whe@odoo.com> | 2019-12-16 11:36:39 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-12-23 10:56:13 +0000 |
| commit | a60b90c530e3efee1a4435c66bea39c5368b2693 (patch) | |
| tree | 577f9560c9cc2fa8eb9cc5ada1502976003b5697 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | e288af818f5ac3d6ec135082c16ef3f4edd76877 (diff) | |
[FIX] stock: cast string as date
Writing for the web interface on the scheduled date of a stock move
will failed as the date is send to the python server as a string. Then,
a duration in datetime format is added. This failed as operation on string
and datetime is forbidden.
This commit cast the string date into a datetime object before applying
date logic.
closes odoo/odoo#42287
X-original-commit: 8f122297f80e06c06a3a5efc6815b9ba627d0ed8
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
