Thursday, May 22, 2025
10 changes · 18.0
Resolved issues and error corrections
This update adjusts an automated live chat test so it waits for browser history updates before moving back and forward. It helps reduce false test failures and improves confidence in live chat quality checks without changing end-user functionality.
Original PR description
The tour fixed implicitly checks the browser's history. In Odoo, and history entry is pushed after a setTimeout(0) to allow multiple calls to be aggregated. The fix aknowledges this by introducing delays before executing the action. runbot-error-108129 runbot-error-223364 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an accounting screen issue where the 'Accounting Entries' section was always shown, even when it was not relevant. Users should now see a cleaner, more accurate interface with that section appearing only when appropriate.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The blog page heading can now be customized instead of being locked to a fixed title. This lets website managers translate or adjust the wording for different audiences, improving localization and content control.
Original PR description
Following [1], the blog page reverted to using the first blog post as the cover. However, the title of the page ("Our Latest Posts") was made non-editable and, consequently, non-translatable, which is not ideal.
This commit addresses the issue by making the title editable, ensuring it can also be translated.
[1]: https://github.com/odoo/odoo/commit/05ef95d3f13ac42713bb8d8a3002f149345cc08b
opw-4289735This update removes obsolete hidden setup fields from Chilean and Latin American invoicing screens. It prevents unnecessary Odoo.sh build warnings without changing how users create or manage invoices, refunds, journals, or bank records.
Original PR description
## Description of the issue/feature this PR addresses: Starting in 18.0, it is no longer mandatory to define invisible fields in views so that other expressions (domains, modifiers) can work…
## Description of the issue/feature this PR addresses:
Starting in 18.0, it is no longer mandatory to define invisible fields
in views so that other expressions (domains, modifiers) can work correctly,
as they are now added automatically to views.
However, their presence in the codebase causes issues when building
development branches in Odoo SH, which is why this commit removes
the reported fields that are throwing warnings.
```
Please indicate why the always invisible fields are present in the view, or remove the field tag.
Addon: 'l10n_cl'
View: view_move_form_inherit_l10n_cl
Fields:
<field name="l10n_latam_internal_type" invisible="1"/>
View: view_complete_invoice_refund_tree
Fields:
<field name="currency_id" column_invisible="True" readonly="state in ['cancel', 'posted']"/>
View: view_res_bank_form
Fields:
<field name="fiscal_country_codes" invisible="1"/>
Addon: 'l10n_latam_invoice_document'
View: view_account_journal_form
Fields:
<field name="country_code" invisible="1"/>
View: view_move_form
Fields:
<field name="l10n_latam_available_document_type_ids" invisible="1"/>
<field name="l10n_latam_manual_document_number" invisible="1"/>
View: view_account_move_reversal
Fields:
<field name="l10n_latam_use_documents" invisible="1"/>
<field name="l10n_latam_available_document_type_ids" invisible="1"/>
```
In the case of the view "l10n_cl.view_move_form_inherit_l10n_cl,"
since it only contains one field, the entire view will be removed.
No other views inherit from it.
Related enterprise PR: https://github.com/odoo/enterprise/pull/85904
## Current behavior before PR:
SH branches throw a warning because invisible fields are present in views, which is no longer needed after linked commit.
## Desired behavior after PR is merged:
SH branches won't become red or warn about invisible fields present in views because they have been added automatically to the view.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prList views now highlight selected rows consistently, whether they are even or odd striped rows. This removes a small visual inconsistency so users can more clearly see which record they have selected.
Original PR description
Current behavior before PR: When selecting an even row by clicking on it (if it's not opening a record) or by selecting the checkbox and then unchecking it, it will highlight this row. This is only working on even rows but not on odd rows. Desired behavior after PR is merged: This fix aims to make even and odd rows work correctly by being highlighted. task-4809597 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an error that occurred when users downloaded a PDF for a draft invoice that had not yet been confirmed. This prevents a crash and allows the download flow to handle draft invoices more reliably.
Original PR description
When the user downloads the pdf of a draft invoice, a traceback will appear. Steps to reproduce the error: - Create a new invoice > Don't confirm it - Go to list view of invoices - Select that…
When the user downloads the pdf of a draft invoice,
a traceback will appear.
Steps to reproduce the error:
- Create a new invoice > Don't confirm it
- Go to list view of invoices
- Select that invoice > Download > PDF
Traceback:
```
File "addons/account/controllers/download_docs.py", line 52, in download_invoice_documents_filetype
doc_data = invoice._get_invoice_legal_documents(filetype, allow_fallback=allow_fallback)
File "addons/account_edi_ubl_cii/models/account_move.py", line 45, in _get_invoice_legal_documents
return super()._get_invoice_legal_documents(filetype, allow_fallback=allow_fallback)
File "addons/account/models/account_move.py", line 5712, in _get_invoice_legal_documents
return self._get_invoice_pdf_proforma()
File "addons/account/models/account_move.py", line 5686, in _get_invoice_pdf_proforma
filename = self._get_invoice_proforma_pdf_report_filename()
File "addons/account/models/account_move.py", line 5744, in _get_invoice_proforma_pdf_report_filename
return f"{self.name.replace('/', '_')}_proforma.pdf"
AttributeError: 'bool' object has no attribute 'replace'
```
https://github.com/odoo/odoo/blob/36e4b6f93bf2123557947e910e1be651c5357319/addons/account/models/account_move.py#L5744
When the customer downloads the pdf a draft invoice, ``self.name`` will be False,
So it will lead to the above traceback.
sentry-6191644587
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prPayslips now stay in sync when an employee's legal name is corrected after the payslip was created. This prevents outdated or misspelled employee names from remaining on payroll documents, improving record accuracy.
Original PR description
Currently if you make a mistake in the name of your employee and create a payslip, it's name will never be corrected since there is no direct dependency on the field.
The customer statement page now keeps its navigation breadcrumb visible on smaller screens. Action buttons adjust their placement instead, making it easier for users to understand where they are and move around on mobile devices.
Original PR description
Because the customer statement buttons took too much space, the breadcrumb becomes invisible. This commit fixes always show the breadcrumb, and the buttons move instead. task-4583817
This update removes outdated hidden fields from Chilean electronic invoicing and stock document screens. It prevents unnecessary warnings in Odoo SH development builds without changing normal user workflows or visible functionality.
Original PR description
## Description of the issue/feature this PR addresses: Starting in 18.0, it is no longer mandatory to define invisible fields in views so that other expressions (domains, modifiers) can work…
## Description of the issue/feature this PR addresses:
Starting in 18.0, it is no longer mandatory to define invisible fields
in views so that other expressions (domains, modifiers) can work correctly,
as they are now added automatically to views.
However, their presence in the codebase causes issues when building
development branches in Odoo SH, which is why this commit removes
the reported fields that are throwing warnings.
```
Please indicate why the always invisible fields are present in the view, or remove the field tag.
Addon: 'l10n_cl_edi'
View: view_account_move_debit_note
Fields:
<field name="country_code" invisible="1"/>
View: view_invoice_form
Fields:
<field name="l10n_cl_dte_acceptation_status" invisible="1"/>
<field name="l10n_cl_reference_doc_internal_type" invisible="True"/>
View: view_account_move_reversal
Fields:
<field name="country_code" invisible="1"/>
<field name="l10n_cl_edi_reference_doc_code" readonly="1" force_save="1" invisible="1"/>
View: l10n_cl_latam_document_type_view
Fields:
<field name="l10n_cl_show_caf_button" invisible="1"/>
Addon: 'l10n_cl_edi_stock'
View: view_picking_edi_form
Fields:
<field name="l10n_cl_sii_send_file" invisible="1"/>
<field name="l10n_cl_dte_file" invisible="1"/>
<field name="l10n_cl_draft_status" invisible="1"/>
View: view_picking_edi_tree
Fields:
<field name="country_code" column_invisible="True"/>
```
Related community PR: https://github.com/odoo/odoo/pull/210616
## Current behavior before PR:
SH branches throw a warning because invisible fields are present in views, which is no longer needed after linked commit.
## Desired behavior after PR is merged:
SH branches won't become red or warn about invisible fields present in views because they have been added automatically to the view.
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe point of sale IoT scale test has been updated to match a related correction made in the main Odoo codebase. This helps ensure scale integration checks remain accurate and avoids false test failures after the upstream fix.
Original PR description
This commit simply amends the expected scale checksum after the fix that was carried out in the community PR (odoo/odoo#209815) opw-4643243