Friday, August 11, 2023
6 changes · master
Resolved issues and error corrections
This fixes an issue where two radio button fields with the same options could interfere with each other, causing a choice in one field to update the other. Each radio field now has its own unique link between the visible label and its input, making forms behave reliably for users.
Original PR description
Before this commit, having two RadioField fields with the same values was going to confuse them. When you click on the second, the first is modified. Why: The id used to link the label to the field's input was mistakenly removed during refactoring. So we're going to put it back, and each radio field will have its own id. 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 fix moves shared invoice export preparation logic into the core accounting module so it remains available when electronic invoicing components are used independently. It helps prevent export-related failures for businesses using UBL/CII electronic invoice formats without the broader EDI module dependency.
Original PR description
The `_prepare_edi_vals_to_export` functions on `account.move` and `account.move.line` must be moved to `account` from `account_edi`. `account_edi_ubl_cii` does not depend on `account_edi` anymore, but still needs them.  ref: odoo/odoo#130836
Opening salary attachments from employee contracts no longer triggers an error message. This helps payroll users access related salary documents smoothly without interruption.
Original PR description
before this commit, traceback was showing while opening salary attachments from contracts.  introduced in : https://github.com/odoo/enterprise/commit/942ff4914c6246a0c21c9cacb3ad6824767c01ee after this commit, no traceback is shown
The Web Studio icon creator test was updated to match recent file upload behavior. This helps keep automated checks reliable and reduces the risk of false test failures during development.
Original PR description
This commit adds the notification service to the icon creator test since it is now used in the file uploader since https://github.com/odoo/odoo/pull/126914/commits/7788c2afcfc58f8f113898ac97f6049168427dd1 Linked to changes in https://github.com/odoo/odoo/pull/126914
The German translation file translates logic in master which leads to traceback when rendering those templates. Steps ===== - Install German language (but keep the db in english) - Create a contact with German as a language - In FSM, go to configuration > stages - Open the stage "New" form view - In the email template field, choose: "Task: Intervention Scheduled" - Create a task with the created contact as customer Issue ===== A traceback appears indicating that the template could
Original PR description
The German translation file translates logic in master which leads to traceback when rendering those templates. Steps ===== - Install German language (but keep the db in english) - Create a contact with German as a language - In FSM, go to configuration > stages - Open the stage "New" form view - In the email template field, choose: "Task: Intervention Scheduled" - Create a task with the created contact as customer Issue ===== A traceback appears indicating that the template could not be rendered. Cause ===== Some template logic has been translated in German in the .po file. Fix === In stable, the modification have been done in the odoo projects on transifex. In master the project is not yet existing. Therefore the modifications have directly been done in the relevant files. task-3447430
The barcode demo PDF has been refreshed so it matches a recent underlying update to the system reference used in the guide. This prevents outdated demo material from being shipped and helps users following the barcode instructions see the correct information.
Original PR description
PR odoo/enterprise#43716 correctly updated the reference for 'web.core' to '"@web/legacy/js/services/core' in the files for generating the barcodes_demo pdf, but missed generating the updated pdf, so this commit fixes that.