odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] point_of_sale,pos_sale: correctly load last order after refresh

Open robinengels opened this issue 1 year ago • 1 comments

After parking an order, if you refresh the page the parked order would be selected as the current order.

Steps to reproduce:

  • Setup a PoS with atleast one trusted PoS
  • Open the PoS and add some products to the order
  • Park the order
  • Refresh the page

Observation: The parked order is selected

Why the fix:

When setting the start order we take the last order saved instead of the first one.

opw-4104298

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

robinengels avatar Oct 01 '24 15:10 robinengels

Pull request status dashboard

robodoo avatar Oct 01 '24 15:10 robodoo