Monday, March 9, 2026
1 change · saas-19.1
Enhancements to existing features
This update optimizes the way tests for the stock barcode module are run. By moving setup steps to a class-level configuration, tests now execute faster. This change improves overall system performance and stability.
Original PR description
This commit moves the records' creation and the configuration of the `stock_barcode` tests from the `setUp` to the `setUpClass` method, so those are done only once and not at the beginning of every test. The purpose of this change is to slightly speed up the run of tests. Forward-Port-Of: odoo/enterprise#109624