Friday, May 3, 2024
3 changes · saas-17.1
Resolved issues and error corrections
Point of Sale now automatically loads products that were previously missing from the local data, such as items inside combo products. This prevents errors when staff select affected products and helps keep sales operations running smoothly.
Original PR description
Prior to this commit, if a product wasn't loaded into the PoS, it would result undefined in the model. For instance, if one of the products in a combo product wasn't loaded into the PoS, an error would be raised when clicking on its combo product. This commit resolves the issue by ensuring that missing products are loaded, thereby preventing such errors. In addition, this commit introduces a domain to restrict the category, if applicable. opw-3810994 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale app now avoids downloading product or related images when they are not needed. This reduces unnecessary data usage and can make POS sessions load more efficiently, especially in image-heavy catalogs.
Original PR description
This commit completes the work started in https://github.com/odoo/odoo/commit/60b5baf392c7fc6029d6b7ed870ec8163a9d1c6b to prevent loading images that are not necessary. The previous implementation was not complete and this commit addresses the remaining issues. opw-3877851 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix improves Mexican electronic invoicing by using the proper product classification helper and correcting the default unit-of-measure code. It helps reduce invoice validation issues and improves compliance with local e-invoicing requirements.