summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2020-05-08 09:14:55 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2020-05-11 09:32:35 +0000
commit01c64f3907b5b82f5e9d9ef3e17441971ac67df4 (patch)
tree8b62a13baa0b3f1d83b1c984578092110de9099b /addons/web/static/src/js/fields/basic_fields.js
parent9b27b4d9238b014ffc868342e5fc3545356cbd63 (diff)
[FIX] point_of_sale: wrong date in pos payment
- Have a user in an early timezone (for example Samoa Standard Time); - Open a POS session in the evening (say 20h). - Buy something and pay with cash. - Close the session. - List the session orders, and open the newly create order. Before this commit, the date of the order was correct (today at 20h), but the date of the payment was wrong (yesterday at 13h). This error occurs because a wrong format was used and the date was taken into account two times the timezone. Now, both dates are corrected. This fix is a partial revert of 2157540768112107a3c68ed28ce429572e28fce5 opw-2231820 X-original-commit: 020e5547ad10583000748659de0e2b14ceabbf97
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions