Monday, June 23, 2025
9 changes · 17.0
Resolved issues and error corrections
The accounting reports now use the editable field translation for the “Untaxed Amount” label. This lets businesses customize that label in another language and have it appear correctly on printed sale orders and invoices.
Original PR description
Versions -------- - 17.0+ Steps ----- 1. Enable a second language; 2. enable developer mode; 3. go to Settings / Technical / User Interface / Views; 4. look for "document_tax_totals_template" 5. attempt to change the translation for "Untaxed Amount"; 6. print a sale order or invoice for a customer using the 2nd language. Issue ----- Neither customizing the translation in the template, nor importing a custom translation file is able to change the translation. Cause ----- Because the "Untaxed Amount" token used isn't associated with any templates, records, or fields, the translation will be fetched from file instead of the database. Solution -------- Retrieve the string from the `account.move.amount_untaxed` field. This way, customizing the translation on the field will also update the translation in the document. opw-4747710
This fix ensures partial credit notes in Jordanian electronic invoicing use the correct unit price matching the original invoice. It improves accuracy in submitted XML documents and helps avoid invoice validation or reconciliation discrepancies.
Original PR description
In certain cases, the unit price value on a partial credit note does not match the unit price on the corresponding invoice This commit solves this issue by using a more precise price subtotal in XML numbers calculations task-4877278 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Credit notes in the Jordanian electronic invoicing flow now correctly match invoice lines when the same product appears multiple times with different discounts. This prevents incorrect line references and helps ensure credit notes reflect the original invoice accurately.
Original PR description
When generating a credit note for an invoice with multiple lines of the same product (same product_id, name, and price_unit) but different discounts, the system incorrectly matches both credit note lines to the same invoice line. This commit solves this issue by adding line discount to the criteria used to match credit notes lines with invoices lines. task-4876849 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where the alias domain option disappeared when creating a new accounting journal without a default domain. Users can now set the alias domain from the journal's advanced settings, making journal email configuration easier and more reliable.
Original PR description
**Description** For new journals created, no domain is defined on the alias by default, and having no domain defined will just make the field go hidden entirely. --- **Steps to Reproduce** 1. Add an alias domain if not already existing through : General Settings -> Discuss -> Alias Domain 2. Accounting -> Configuration -> Accounting -> Journals 3. Create new Journal , save it and go to the advanced settings page. 4. notice that you cannot define a domain on the journal settings --- **Before** - Having no domain defined will just make the field go hidden entirely. --- **After** - No domain will still not be defined, but you can easily define it on the journal. --- --- - This fix reuses the necessary part of an IMP commit from version 18.0 which resolve the issue commit : https://github.com/odoo/odoo/commit/c0f82707f8da95d6f193171d856b9627106403f9 --- opw-4827730
A timing-related issue in the automated Spanish TBAI point-of-sale test has been fixed. The test now waits for the correct selection window before choosing an option, reducing random failures and improving confidence in release checks.
Original PR description
This commit aims to fix a random failure in the Spanish TBAI POS tour. We add a step to ensure that the selection popup is shown before clicking on the item "R1". runbot-112388
This update corrects an internal automated test so it matches the actual behavior when no analytic account is set. It helps keep the project budget app's test suite reliable and prevents false build failures without changing user-facing functionality.
Original PR description
The _get_buget_items returns `None` when no analytic account is set, however the test is expecting an empty dict value. This commits fixes it to match correctly. This is due to a fix for a single app test that only failed in 16.0 but the FW in 17.0 was also merged. [see](https://github.com/odoo-dev/enterprise/commit/f70ba61a4a650559d203fcca27458ba0912398e7) Build error: https://runbot.odoo.com/odoo/runbot.build.error/227574
Job applications created with Recruitment and Referral installed now keep the source selected by the user when there is no referral user. This prevents useful tracking information from being accidentally cleared when saving an application.
Original PR description
### Steps to reproduce: - Ensure Recruitment and Referral modules are installed - Create a job application and set a value in source field - Save and notice the source field got deleted ### Cause: This is happening as in hr_referral we are setting the source_id to be the referral user's source. https://github.com/odoo/enterprise/blob/18cc5b67095d304d514a362c5f02d8426b4a3697/hr_referral/models/hr_applicant.py#L65-L67 ### Fix: If there is not referral user we should keep the value set by the user and not override it with False opw-4677023
This fix prevents the UK HMRC VAT submission wizard from crashing when expected setup information is missing. Instead of showing a technical error, the system now stops safely and shows a user-friendly message, improving reliability during VAT reporting workflows.
Original PR description
The default_get method of the 'l10n_uk.hmrc.send.wizard' model assumed the presence of 'client_data' in the context, leading to a KeyError during test_display_name_new_record. This fix checks for the presence of 'client_data' before attempting to call import_vat_obligations. If 'client_data' is not present, it avoids calling import_vat_obligations and raises a UserError, thus preventing the KeyError. build_error-115767
This update corrects a test related to how manufacturing work order labor costs are checked in accounting. It helps keep automated quality checks reliable so future changes are less likely to disrupt manufacturing cost tracking.
Original PR description
https://github.com/odoo/odoo/pull/183382