odoo/enterprise#77558
Created by Dhruv Jitendrakumar Patel (djip)
Merged
at 0c0d075e7d79e0d538baf51893d6e9bf8539497c
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 1s)
Linked pull requests
- label
- odoo-dev:saas-18.1-point_of_sale-fix-preset-wrong-time-in-back-end-djip
- head
- 9269ec8441cc66f4ffd377fdc4a945e82eb29038
- merged
- 6 months ago by POS IoT, Joseph Caburnay (jcb)
odoo/odoo | odoo/enterprise | |
---|---|---|
saas-18.1 | #194058 | #77558 |
saas-18.2 | #207571 | #84183 |
saas-18.3 | #207767 | #84312 |
[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