odoo/enterprise#84312
Created by fw-bot
Closed
- label
- odoo-dev:saas-18.3-saas-18.1-point_of_sale-fix-preset-wrong-time-in-back-end-djip-432028-fw
- head
- 94946fdc5334772a583f6c85d8f78d04e08844c7
odoo/odoo | odoo/enterprise | |
---|---|---|
saas-18.1 | #194058 | #77558 |
saas-18.2 | #207571 | #84183 |
saas-18.3 | #207767 | #84312 |
[FW][FIX] point_of_sale: preset wrong time in back-end
Steps:
- Open Restaurant in POS system.
- Create an order with preset as Takeout and select desired time.
- validate it.
- open that order in backend.
- Observe the takeout date & timeāit differs from the originally selected time.
Issue:
- The POS system stores the preset_time in local time, but the backend consider it as UTC, leading to mismatched times when displayed.
Fix:
- The frontend now sets preset_time in UTC before saving, ensuring consistent time handling across the system.
task-4477402
Related: odoo/odoo#194058