Daily updates from Odoo
Friday, September 3, 2021
13 changes
Enhancements to existing features
The event form now places the Registration Desk shortcut beside the Attendees shortcut. This makes the event screen more intuitive and keeps related event check-in actions grouped together regardless of module installation order.
Original PR description
PURPOSE The 'Registration Desk' stat button should be appear next to 'Attendees' stat button. The purpose of this commit is to re-arrange 'Registration Desk' stat button and set it after the 'Attendees' stat button. SPECIFICATIONS Currently, if the event_barcode module is installed, the 'Registration Desk' stat button is placed after 'Leads' stat button on the event form view. This improves the inheritance priority and the x-path of the 'Registration Desk' stat button by placing it after the 'Attendees' stat button. This is the goal of this commit. LINKS PR #20082 TaskID-2585998
The accounting report test suite was updated to stay aligned with recent related changes in the main Odoo codebase. This helps ensure tax and point-of-sale accounting reports continue to be validated reliably without introducing direct user-facing behavior changes.
Original PR description
Task: 2453325
Resolved issues and error corrections
The Studio model setup screen now includes the missing Lines option again. This lets users automatically create related line items when configuring a new model, restoring expected functionality after a prior interface migration.
Original PR description
PURPOSE Lines option in model configurator is missing in master, add lines option in model configurator. SPEC Lines option should be available in model configurator. TASK 2610955
This fixes an issue that could prevent the website appointment editor helper from opening the correct appointment form. The change keeps appointment website editing working after underlying system changes, reducing disruption for users managing bookings online.
Original PR description
The `xmlid_to_res_model_res_id` method cannot be called through RPC since c7bac3dee0bbc8b9e3d0e2dda419f3875916d96e. Use `form_view_ref` in context instead. As a matter of fact, the xml_id of the view itself changed from saas-14.4 to now, so it had to be fixed as well. Why neither of those two changes were reflected on this file remains a mystery to me but this is now fixed. Task id 2636397.
This update fixes minor issues in the project planning chart introduced by an earlier change. It removes redundant behavior and improves how dependency connectors appear, helping users read task relationships more reliably.
Original PR description
This PR addresses some issues introduced in PR #18045
Invoice reports were showing unwanted spacing after a change to the invoice comments editor. This fix updates the affected report layouts so invoices render neatly across several localization and payment modules.
Original PR description
Since we change the editor for the comments on invoices, The layout was a bit broken with some unwanted spacings. We change the view to fix this, so some xpath had to be adapted. task-2586137
This fix stops an error from appearing when a user adds an employee to a task forecast that did not previously exist. It makes project planning smoother by allowing teams to schedule task work without interruption.
Original PR description
Steps to reproduce: - Enable planning in project - Select a project, select a task with no forecast - Click on the Forecast smart button - Add an employee - A traceback appears Observed behavior: - A traceback appears Expected behavior: No traceback task-2636356
This fix corrects the name of a view used by the appraisal survey feature. It helps keep the appraisal interface properly labeled and avoids confusion for users working with employee reviews.
Original PR description
task - 2528209
Code cleanup and technical improvements
This update modernizes how Odoo manages background database work and business transaction state. It should make the platform easier to maintain and more reliable without changing day-to-day user workflows.
Original PR description
Linked to https://github.com/odoo/odoo/pull/75598.
The PLM bill of materials structure report was cleaned up by removing unused display logic and obsolete styling hooks. This keeps the report behavior consistent while making future maintenance easier and reducing the risk of confusing report differences.
Original PR description
The code of `_reload_report_type` for plm wasn't correct (there isn't a `report_type === 'bom_cost'` ). Then remove this code to keep the same behaviour. Then the classes `o_mrp_bom_ver` and `o_mrp_ecos` wasn't used, then remove it. Also simplify template because of `_get_extra_column_count`. See odoo/odoo#75041 See odoo/upgrade#2750
Miscellaneous changes
Steps to follow to reproduce the bug: - Create a German company - Go to accounting settings / in “Fiscal Localization” install German-Accounting - Create any journal entries - Go to Reporting / General Ledger > Export DATEV - Open generated CSV Problem : In the "belegdatum" field, the date is not formatted as "DDMM", like mentioned in the official DATEV documentation (cf: https://apps.datev.de/dnlexka/document/1003221#D162129592909910539). Dates must have this format "DDMM", e.g: - 0
Original PR description
Steps to follow to reproduce the bug: - Create a German company - Go to accounting settings / in “Fiscal Localization” install German-Accounting - Create any journal entries - Go to Reporting / General Ledger > Export DATEV - Open generated CSV Problem : In the "belegdatum" field, the date is not formatted as "DDMM", like mentioned in the official DATEV documentation (cf: https://apps.datev.de/dnlexka/document/1003221#D162129592909910539). Dates must have this format "DDMM", e.g: - 01.06.2020 → 106 - 22.03.2020 → 2203 opw-2632606 Forward-Port-Of: odoo/enterprise#20585
PURPOSE When wanting to add a stat button to any model in Odoo using Studio I get the following error every time, no matter where : "Custom field names cannot contain double undescores." Stat button should not fail while adding. SPEC Add stat button successfully without any warning. TASK 2621375 Forward-Port-Of: odoo/enterprise#20267
Original PR description
PURPOSE When wanting to add a stat button to any model in Odoo using Studio I get the following error every time, no matter where : "Custom field names cannot contain double undescores." Stat button should not fail while adding. SPEC Add stat button successfully without any warning. TASK 2621375 Forward-Port-Of: odoo/enterprise#20267
Add a new provider - https://www.centralbank.ae/en/fx-rates Task 2615290 Forward-Port-Of: odoo/enterprise#20582
Original PR description
Add a new provider - https://www.centralbank.ae/en/fx-rates Task 2615290 Forward-Port-Of: odoo/enterprise#20582