odoo/enterprise#84183

Created by fw-bot
Merged at e2af7949ce8310ef2989830b2a790d4b67ff811c

Statuses:

Linked pull requests
label
odoo-dev:saas-18.2-saas-18.1-point_of_sale-fix-preset-wrong-time-in-back-end-djip-410178-fw
head
d5941f3c2dc27d1c939e246a08e928c1a2de024b
merged
6 months ago by Dhruv Jitendrakumar Patel (djip)
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

Forward-Port-Of: #77558