Sunday, October 24, 2021
1 change · master
Miscellaneous changes
### Expected behavior The order button should go green and active when you 'unskipped' an orderline ### Current behavior The order button doesn't go green and can't be clicked when an orderline is 'unskipped' ### Steps to reproduce the error First of all, you need to setup a PoS Restaurant with these options : - Bar/Restaurant - Enable `Table Management` - Enable and setup `Order Printer` with IP Address and choose Categories to be printed on. After that : 1. Open a restauran
Original PR description
### Expected behavior The order button should go green and active when you 'unskipped' an orderline ### Current behavior The order button doesn't go green and can't be clicked when an orderline is 'unskipped' ### Steps to reproduce the error First of all, you need to setup a PoS Restaurant with these options : - Bar/Restaurant - Enable `Table Management` - Enable and setup `Order Printer` with IP Address and choose Categories to be printed on. After that : 1. Open a restaurant session 2. Pick a table 3. Select a product and put it on hold 4. Select the **same** product and order it 5. 'Unskipped' the product from step 3 Order button should be green and active but is unactive so the order can't be sent ### Reason Previously, the condition was only based on the product_id so error occurs when multiline of the same product are handled. We need to verify if it's the same orderline opw-2557518 Forward-Port-Of: odoo/odoo#78608