Daily updates from Odoo
Wednesday, October 16, 2024
2 changes
1 change
Code cleanup and technical improvements
Point of Sale preparation now uses product templates as the main product card, reducing limitations around variants, attributes, and pricing. This lays the groundwork for better performance and more flexible product management in PoS workflows.
Original PR description
Historically, the point of sale module used the product.product model to represent products cards in PoS. A workaround has been done to handle variants, attributes and pricelist. Now the fact that we miss the product.template model in the PoS module is a blocker for the future of the PoS module. Causing a lot of performance issues and limitations. This commit replace the use of product.product as product card by the product.template model. This will allow us to use the product.template with pricelist, attributes, variants and other features. The old product.product models has been proxied to the product.template each variable that isn't on the product.product model will be taken from the product.template model. taskId: 4134659
1 change
Code cleanup and technical improvements
The German point-of-sale certification modules were updated to use newer browser communication methods instead of an older dependency. This is an internal cleanup that should help maintainability without changing the user experience.
Original PR description
In this pr we refactor the methods that rely on `jquery` in favor of `fetch`.