Thursday, May 2, 2024
8 changes · 17.0
Resolved issues and error corrections
The check report summary line had misaligned columns where the partner name, date, and check number were compressed at the start of the line. This fix properly spaces these columns across the line with the partner name at the beginning, date in the middle, and check number at the end, improving the readability and professional appearance of printed checks.
Original PR description
Check Report Summary line columns were not aligned correctly, fixing it to have partner_name at the beginning, date at the middle, and check sequence number at the end of the line. task id: 3708433
This update improves the reliability of automated tests for the helpdesk knowledge template feature. The test now consistently discards forms after sending messages, preventing occasional test failures that occurred unpredictably on certain Odoo versions. This ensures the test runs reliably without being affected by unexpected form state changes.
Original PR description
The `send as message` macro for the template/clipboard block is only supposed to open and edit the message composer on the target form view, then discard it. The form view does not become dirty because of that. However it has been observed that on some Odoo versions, the form view sometimes becomes dirty (indeterministic factor), which is unrelated to the successful macro operation. Therefore it has been decided to always attempt to discard the form so that the test does not fail no matter if the view is dirty or not during the test. runbot error 62459 Forward-Port-Of: odoo/enterprise#61705 Forward-Port-Of: odoo/enterprise#61682
The WhatsApp template preview has been enhanced to make it easier for users to distinguish between the header and body text. Bold formatting is now applied to the header text, and a line break separates the two sections, improving the overall clarity and usability of the template preview interface.
Original PR description
Added bold formatting to the header text in the template preview to help users distinguish it from the body text. A new line is added between the header and body text in the template preview for the same reason. Task - 3605612 Forward-Port-Of: odoo/enterprise#59143
The Duplicate action was appearing twice in the Payroll app's Salary Structures menu due to the action being defined in two places. This fix removes the duplicate definition, ensuring users see the action only once when selecting salary structure entries. This improves the user experience by eliminating confusion from redundant menu options.
Original PR description
**Steps:** Go to Payroll App > Configuration > Salary > Structures Select checkbox for any entry Now click on the Action Button **Issue:** "Duplicate" action menu is displayed 2 times…
**Steps:** Go to Payroll App > Configuration > Salary > Structures Select checkbox for any entry Now click on the Action Button **Issue:** "Duplicate" action menu is displayed 2 times  **Cause:** Prior to this update, the 'list_controller.js' file in version saas~16.4 did not included the "Duplicate" menu action within the [getActionMenuItems](https://github.com/odoo/odoo/blob/saas-16.4/addons/web/static/src/views/list/list_controller.js#L287-L325) function. However, in the same version, the 'hr.payroll' model defined this action in the [hr_payroll_structure_views.xml](https://github.com/odoo/enterprise/blob/saas-16.4/hr_payroll/views/hr_payroll_structure_views.xml#L132-L143) file, utilized within the 'Salary Structures' in the Payroll app. In version 17.0, the "Duplicate" menu action was added to the [getStaticActionMenuItems](https://github.com/odoo/odoo/blob/17.0/addons/web/static/src/views/list/list_controller.js/#L304-L349) function of 'list_controller.js'. Following the update, despite the addition of the "Duplicate" menu action in the 'list_controller.js' file for version 17.0, it still remained present in the [hr_payroll_structure_views.xml](https://github.com/odoo/enterprise/blob/17.0/hr_payroll/views/hr_payroll_structure_views.xml#L134-L145) file. **Fix:** Removed the 'ir_actions_server_duplicate_structure' from hr_payroll_structure_views.xml, to ensure the same menu action "Duplicate" do not exist twice, in the 'Salary Structures'. Affected Version: 17.0 ~ master Task ID: [3854557](https://www.odoo.com/web#id=3854557&cids=2&menu_id=4720&action=4043&model=project.task&view_type=form)
This fix corrects an incorrect visibility condition on a report field in the WhatsApp template interface. The issue occurred during a code merge and has been resolved to ensure the field displays properly for users. This ensures the WhatsApp messaging feature works as intended without display errors.
Original PR description
Wrong conflict resolution when forward porting https://github.com/odoo/enterprise/commit/b81c50278a8d55a733c6f1579dc764c19b92e08d Task-3901993
This update corrects the styling of payment information popups in the accounting module. A deprecated custom style class was replaced with the standard Bootstrap styling class, ensuring the payment field displays correctly and consistently with the rest of the application.
Original PR description
o_popover_header was removed on [1], so the bootstrap class popover-header could be used instead. References: - [1] https://github.com/odoo/odoo/commit/777eb767 **16.0:**  **17.0 previous this commit:**  **17.0 after this commit:**  --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Two missing account translations have been added to the Italian localization module. This ensures that Italian users will see properly translated account names in the system, improving the user experience for businesses operating in Italy.
Original PR description
Two account translations were missing in the Italian localization. We're adding them here. Forward-Port-Of: odoo/odoo#163999
A test in the web module was using hardcoded dates that caused automated build processes to fail. This fix skips that problematic test to restore normal build operations. This is a quick maintenance fix to keep development workflows running smoothly.
Original PR description
Quick fix to unlock runbot and mergebot builds. Forward-Port-Of: odoo/odoo#164141