Tuesday, November 4, 2025
4 changes · 19.0
Enhancements to existing features
This change adds a shared set of helper methods for accounting tests, making it easier to create invoices, sales orders, reversals, and other common test records. It helps establish a single standard that future accounting test work can reuse, improving consistency and reducing duplicated test setup code.
Original PR description
This commit adds bunch of helper methods on AccountTestInvoicingCommon to make it easier to do generic accounting test actions, such as: - creating invoice - creating sale order - reversing invoice - skipping test if module isn't installed - creating down payment invoice ... and many more. We're aware that there are thousands of different helpers for creating invoice out there in different localizations. This commit serves as the first necessary step to create one standard that can be extended across all other test helpers. This is a simplified version of the merged commit in master. We are not refactoring/rewriting any other test to use these new helpers. Our goal is just to make it available for everyone to start using this helper on their accounting-related tests. task-4891206 Forward-Port-Of: odoo/odoo#234036 Forward-Port-Of: odoo/odoo#233724
This update adds the "Wage on signature" field to the contract version list and the "Company Car" field to the employee list. It makes these values visible at a glance, helping users review important HR information more quickly without opening each record.
Original PR description
*: hr_contract_salary,l10n_be_hr_payroll_fleet Added the "Wage on signature" field to versions list view, and "Company Car" to employee list view. task-5231169
Receipts are now included by default in the invoice and bill views, alongside regular customer invoices and vendor bills. This makes it easier for users to see all related accounting documents without adjusting filters manually.
Original PR description
This commit Shows by default receipts along side invoices/bills from customer invoices or vendor bills pages. task-5187350 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The deferred date fields now use a range-style date picker, making it simpler to enter matching start and end dates. If the end date is left blank, it will automatically match the start date, which avoids errors and supports accrual entries without unnecessary warnings.
Original PR description
* use the widget `daterange` on `deferred_start_date` and `deferred_end_date` * auto fill `deferred_end_date` when it is empty to `deferred_start_date` to avoid double encoding of the same value, and avoid raising an error * remove the warning `has_abnormal_deferred_dates` when the date is the same, this can be used to do an accrual entry. task-5207293