odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FW][FIX] point_of_sale: fix incorrect sorting logic on ticket screen

Open fw-bot opened this issue 6 months ago • 2 comments

Before:

  • Orders were compared using full date objects, which caused incorrect sorting when the dates were the same.

After:

  • Sorting now uses numeric timestamps for accurate date comparison.
  • If timestamps are equal, it falls back to sorting by order number.

Task: 4881605 Runbot Error: odoo/error#226754

Forward-Port-Of: odoo/odoo#215123

fw-bot avatar Jun 21 '25 03:06 fw-bot

Pull request status dashboard

robodoo avatar Jun 21 '25 03:06 robodoo

@djip-odoo @davidmonnom this PR targets master and is the last of the forward-port chain.

To merge the full chain, use

@robodoo r+

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

fw-bot avatar Jun 21 '25 03:06 fw-bot

@robodoo r+

djip-odoo avatar Jun 23 '25 04:06 djip-odoo

@djip-odoo @davidmonnom staging failed: ci/runbot on b1bef6f240812d37bf29afbf76a89d95145ce714 (view more at https://runbot.odoo.com/runbot/build/83029004)

robodoo avatar Jun 23 '25 04:06 robodoo

@djip-odoo @davidmonnom this PR was modified / updated and has become a normal PR. It must be merged directly.

fw-bot avatar Jun 23 '25 09:06 fw-bot

@robodoo r+

djip-odoo avatar Jun 23 '25 10:06 djip-odoo