Thursday, March 5, 2026
3 changes · saas-19.2
Enhancements to existing features
This update refines how stock push rules are triggered within Odoo. Previously, rules were based on the move and destination location. Now, rules are determined by the individual move lines and their destination locations, leading to more accurate and efficient stock transfers. This change enhances the reliability of automated stock management.
Original PR description
This PR changes how push rules work. Instead of making push rules work on the move and the move destination location, they now work on the move_lines and the move_lines destination location. Task-5212472
This update ensures invoices sent to French, German, or Belgian customers comply with the latest regulations for Factur-X and ZUGFeRD formats. It also adapts invoice formats for B2B and B2G transactions in Germany, using ZUGFeRD for business-to-business and XRechnung for business-to-government invoices, improving clarity and accuracy.
Original PR description
Updating the FacturX format (France)/ ZUGFeRD format (Germany) to respect the new norms: Factur-X 1.07.3 EXTENDED and ZUGFeRD 2.3.3 EXTENDED. Add the differentiation between these two formats in the customer interface, even if they point to the same value in the code. It clarifies things for the customer, things are called by their name. Also, in Germany, for B2B invoices (peppol EAS = 9930), use ZUGFeRD, but for B2G invoices (peppol EAS = 0204), use XRechnung. Adaptation of the default values in the partner form according to this statement. For French and German companies that are sending invoices to French, German or Belgian customers, changed the default format of invoice sent to be compliant to PDF/A-3 norms. task-5266286 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#252018 Forward-Port-Of: odoo/odoo#237091
This update speeds up testing for the Stock Barcode module by optimizing the initial setup process. Specifically, the creation of a company, which was a significant bottleneck, has been moved to a setup class. While fully moving all setup to the setup class initially caused test failures, this change represents a key improvement in test execution time.
Original PR description
TestBarcodeClientAction [setup is quite slow](https://runbot229.odoo.com/runbot/static/build/102958171-master/tests/profile/profile_2.html#localProfilePath=1), especially because it creates a company. In addition in all classes extending this one, we spend at least 6 minutes on this line. (when testing sale_timesheet -> !stock_barcode_mrp_subcontracting) This commit proposes to move at least the company creation in a setupclass. It would be great to move all the setup in the setupclass but the tests are failling when doing so and could be achieved by a member of the stock_barcode owner team. Tests based on this setup should be a few minutes faster with this change. Forward-Port-Of: odoo/enterprise#109509