Thursday, April 6, 2023
1 change · master
Resolved issues and error corrections
This fix prevents Point of Sale sessions from failing to load when product packagings with barcodes are configured. Businesses using packaged products can start sales sessions normally and see packaging information correctly.
Original PR description
Happen since 29d55e44 To reproduce the error: - Settings > Inventory > Enable "Product Packagings" - Inventory > Configuration > Products > Product Packagings - Create a new packaging having a barcode - Start a Point of Sale session - The session is not loaded and a traceback is raised Reason: we try to apply the find() method on an object instead of an array After this commit, the session is loaded and the packaging is correctly displayed