Friday, May 24, 2024
2 changes · saas-17.1
Resolved issues and error corrections
Point of Sale now avoids an unnecessary pricelist lookup when a scanned barcode belongs to a product that is not available. This prevents possible errors during checkout and keeps cashier workflows smoother.
Original PR description
Prior to this commit, scanning a product barcode for a missing product would trigger a search for the missing pricelist, potentially leading to an error. This commit fixes this issue by preventing the pricelist search when the product is missing. opw-3850050 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale now correctly hides the default price list when a default price list is already configured. This restores the expected behavior after a previous refactor and avoids confusing price list information being shown to cashiers.
Original PR description
Default Price on POS would not show on older versions if there was a default pricelist set already on the POS. But would show default price if it was unset. This was not changed in the refactor, so the line that was referenced to see if default pricelist was set was referring to a variable that was no longer being set. Using the current default pricelist that is stored at pos.config.pricelist_id achieves the same functionality as before on this version of the POS. opw-3926123 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr