Daily updates from Odoo
Wednesday, March 11, 2026
1 change · saas-19.2
Enhancements to existing features
This update optimizes the way tests are run for the stock barcode module, speeding up test execution times. By moving test setup to a single class, the process is streamlined, reducing redundant operations. This results in a minor performance improvement for our testing procedures.
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#109827 Forward-Port-Of: odoo/enterprise#109624