Daily updates from Odoo
Saturday, September 13, 2025
1 change · saas-18.2
Resolved issues and error corrections
This change updates a journal report test so it no longer depends on a payment reference staying empty in all localizations. It helps prevent false build failures when Czech localization is installed, improving release stability without changing user-facing behavior.
Original PR description
test_document_data_basic was failing in builds with l10n_cz installed because - we set move_sales_2.payment_reference = '' in setUpClass and without l10n_cz it stays empty - but with l10n_cz installed it gets recomputed because of precompute=True on taxable_supply_date (which a stored computed field that triggers an extra write on account.move when the company is in CZ, and that write causes the compute graph to run again, and _compute_payment_reference fills the value back in) this commit solves this issue by not making assumptions about the payment_reference value and would use it as is in the generated data validation build_error-231479 Forward-Port-Of: odoo/enterprise#94554