Daily updates from Odoo
Tuesday, March 19, 2024
15 changes · master
Enhancements to existing features
Rental-related delivery documents now include the customer's reference from the sales order line. This makes it easier for teams and customers to match pickings with their own ordering or tracking information.
Original PR description
Task-3570382
Manufacturing work orders now better align with the newer Shop Floor app by removing an outdated tablet-view setting and easing manual lot and serial number consumption checks. This should reduce confusion for users and keep enterprise manufacturing workflows consistent with the latest core behavior.
Original PR description
This PR does 2 things: - adjusts enterprise for the community changes in https://github.com/odoo/odoo/pull/148026 - removes obsolete tablet view option see individual commits for additional details task: 3573667 Upgrade PR: https://github.com/odoo/upgrade/pull/5547 COM PR: https://github.com/odoo/odoo/pull/148026
The Field Service Gantt view popover now uses clearer wording by showing “Worksheet Template” instead of “Template.” It also displays the customer’s phone number when available, helping teams quickly contact customers from the schedule view.
Original PR description
Steps: - Install field service. - Go to gantt view. - Click on one of the pill. Improvement: - Change `Template` to `Worksheet Template`. - Show partner's phone if set. task-3619652
Appraisal surveys now support more precise access restrictions for designated officers and managers. This improves confidentiality and reduces conflicts with other HR survey flows, while keeping appraisal survey screens focused on relevant options.
Original PR description
Access Rights / Record rules ============================ A survey can now have a list of restricted officers. This addons demo data and the record rules on appraisal officers have been adapted to…
Access Rights / Record rules ============================ A survey can now have a list of restricted officers. This addons demo data and the record rules on appraisal officers have been adapted to the change. Also, the overrides on survey manager and officer rules are removed, as the 'survey_type' != 'appraisal' case is now handled from the 'survey' addon. Views / Actions / templates =========================== 'hr_appraisal_survey' addon enables its users to access surveys of type appraisal directly from the 'hr_appraisal' app. It overrides some 'survey' views and templates, mostly to hide unecessary elements (field, button, actions) for surveys of type appraisal. 'hr_recruitment' is about to provide the same feature, through the same mechanic (interviews). To avoid potential conflicts or unwanted behaviors, we have made a couple of changes: - The inheritance mode of 'survey' form and kanban view overrides are set to primary and their ids are passed to the proper action. So it's not required to use context to figure whether survey's type is appraisal. - Hiding unnecessary survey actions is dealt from the 'survey' addon - Hiding the radio button to select the appraisal type when creating/editing a survey is also dealt from the 'survey' addon see odoo/odoo#131710 task-3451217
This update adds easier direct paths to frequently used actions across several Odoo apps, helping users reach common screens faster. It also clarifies planning links so standalone planning and employee planning each open the right view.
Original PR description
Follow up of odoo/odoo@c63d14a0485a553b74a8457aee158384e9ae6d3f (PR: odoo/odoo#142007) for oft-used actions.
Users can now change the measures used in spreadsheet pivot tables from the pivot side panel. This makes spreadsheet analysis more flexible by allowing teams to adjust the values they track without recreating the pivot.
Original PR description
This commit allows to update the measures of pivots. Task: 3806129
Client actions now support cleaner URL paths, names, and record identifiers, aligning them with other Odoo action types. This improves reload behavior, breadcrumbs, and deep-linking across affected apps such as Accounting reports, Documents Spreadsheet, Payroll, Referrals, Sign, and Barcode.
Original PR description
Since [1], path-based routing is supported for window actions, and server actions. The support for client actions was incomplete. It wasn't possible to add a path if the client action wasn't on the database; at the reload, the client actions didn't have a proper breadcrumb; and client actions didn't have the possibility of using resId (only have action_id as props). This commit, fix this issues by giving the possibility to add a path, and a display name to the client action in JS. Also, it adds resId to the props given to the client action as well as the updateResId function, which allows the client action to update the resId on the URL as a form view will do. [1] : https://github.com/odoo/odoo/commit/c63d14a0485a553b74a8457aee158384e9ae6d3f
Adds broader automated checks for SEPA payment file variants, including country-specific formats such as Swiss and Swedish versions. This helps ensure upcoming payment processing changes keep producing correct bank files and reduces regression risk.
Original PR description
The test coverage for account_sepa wasn't ideal, especially for the ISO20022 variants, such as the Swiss or Swedish ones. This commit adds tests which will be useful to assert that the incoming account_sepa refactor behaves as intended. Linked to 3472908
Resolved issues and error corrections
New employee and internal user records now receive a generated avatar based on their name when no image is provided during creation. This keeps profiles visually consistent and avoids blank images in employee and user-related workflows.
Original PR description
Ensure an avatar is generated based on the employee/user name if no image is provided at the record creation (for internal users only). Taskid: 3637523 X-original-commit: 9d11d2087378e1a56333e11daa18e6dc1b8c655e
This fixes the French Intrastat module so it relies on the correct French accounting module. It prevents installation or setup issues caused by pointing to an outdated dependency after recent localization changes.
Original PR description
This commit https://github.com/odoo/enterprise/commit/dbc8be11dacb24cd431d87936dff71d8d7c73e45, merged very recently in master (17.2), added a wrong dependency. l10n_fr is no longer the module that handles the accounting of the French localization, this role now belongs to l10n_fr_account.
The US payroll module no longer requires an accounting localization module that is not needed for core HR payroll use. This prevents upgrade problems for customers who use HR payroll without the related accounting module installed.
Original PR description
Fix the dependencies of the module by removing the one with l10n_us. Base hr modules should not depend on account modules, and it causes issues during upgrades if the hr module is installed in 17.1 without the account module.
Code cleanup and technical improvements
Old reconciliation methods were removed because they were no longer used after the previous Reconciliation Widget was discontinued. This is an internal cleanup that reduces maintenance overhead without changing the user experience.
Original PR description
Remove dead methods. They became useless after the removal of the Reconciliation Widget in saas-16.3. Related: https://github.com/odoo/enterprise/commit/185ba32e0cf256e380508209a257ccf1bb0b7b20#diff-a54cd9b3b77439ad1f3f0b9ca7b516ba7197fa94099ab43fa61a39c811a301d7L556
The URL format used to identify actions has been renamed from “act” to “action” when no direct path is available. This makes links clearer and reduces confusion with record identifiers, with minimal impact for users.
Original PR description
When constructing the URL, if an action doesn't have a path, to identify the action, and to avoid confusion with the resId, we use a prefix followed by the action id or the action xml id. Before this commit, the prefix was 'act', now it's 'action'.
Miscellaneous changes
Behavior before the changes: - When a note was modified, it cancelled the old orderline and recreated it with the new note. - Products were not sorted by category in the order preparation display. - Clicking on the header of an order sent it directly to the next stage, regardless of whether lines were crossed out or not. - There were brackets around the order number. Behavior after changes: - When a note is modified, it is modified directly on the existing orderline. - Products are now
Original PR description
Behavior before the changes: - When a note was modified, it cancelled the old orderline and recreated it with the new note. - Products were not sorted by category in the order preparation display. - Clicking on the header of an order sent it directly to the next stage, regardless of whether lines were crossed out or not. - There were brackets around the order number. Behavior after changes: - When a note is modified, it is modified directly on the existing orderline. - Products are now sorted by category in the order. - Clicking on an order header sends only the crossed-out lines to the next stage. If no line is crossed out, the entire order is sent. - There are no longer any brackets around the order name. taskId: 3764317 community PR: https://github.com/odoo/odoo/pull/155246 Forward-Port-Of: odoo/enterprise#58127 Forward-Port-Of: odoo/enterprise#57385
When a user tries to print in PDF the intrastat report, he gets a traceback because the pdf template tries to call `len()` on the name and the name equals `None`. The aim of this commit is using the `_build_column_dict` method instead of formatting the column by ourselves. By doing this, the `None` value are set for an empty string. no task id Forward-Port-Of: odoo/enterprise#58732
Original PR description
When a user tries to print in PDF the intrastat report, he gets a traceback because the pdf template tries to call `len()` on the name and the name equals `None`. The aim of this commit is using the `_build_column_dict` method instead of formatting the column by ourselves. By doing this, the `None` value are set for an empty string. no task id Forward-Port-Of: odoo/enterprise#58732