Daily updates from Odoo
Wednesday, July 3, 2024
15 changes · master
Enhancements to existing features
Appointments with a single assigned user now open in the Gantt view from the appointment shortcut, making scheduling easier to review. Marketing automation campaign cards also adapt better when labels are long, improving readability and layout consistency.
Original PR description
**(appointment)** 1). When the user clicks on the appointment stat btn and the appointment has only one user then the calendar view is opened by default but now the Gantt view will open. **(marketing_automation)** 2) Now the Kanban card will be responsive if the label is longer. Task-3918168
This update adds test coverage to ensure planning shifts are created for the selected date and user, including cases involving employee holidays. It helps protect scheduling accuracy and the progress bar behavior from future regressions.
Original PR description
Cases Covered:
--------------
- Check the progress bar with the holiday
- shift will be created based on the selected date and user
task-3231715Resolved issues and error corrections
The appointment kanban card action button now appears in the intended middle-right position instead of at the top-right. This improves visual consistency and makes the button easier for users to find when managing appointment types.
Original PR description
Purpose ======= Fix the kanban action button which was displayed in the top right of the card instead of in the middle right. Specification ============= A top-0 bootstrap rule has been added to the kanban dropdown menu. As this rule is set directly on the element, it overwrittes the top: 30% css rules applied on the action button in appointment. Fixing the issue by defining the appointment top: 30% rule as "!important". related commit: https://github.com/odoo/odoo/commit/016df52334cf475b2b416b2e927a19dd4d82d557 Task-4023603
Features or functions removed from Odoo
An unused access rule in the Sign app was removed because it no longer granted permissions or affected behavior. This cleanup reduces outdated configuration without changing the signing experience for users.
Original PR description
The 'access_sign_request_item_all' group has been removed as it is no longer utilized. Additionally, a new group 'ir_rule_sign_request_item_group_sign_user_signer' has been added. **Note:** The ID `access_sign_request_item_all` has been removed from version saas-15.4 as it is no longer in use. In the XML file, `access_sign_request_item_all` always returns false. Additionally, in the previous version, this ID did not contain any access rights: `access_sign_request_item_all,sign_request_item_all,model_sign_request_item,,0,0,0,0`. task-3954072
Code cleanup and technical improvements
Spreadsheet-related automated tests were converted to a newer testing framework and old helper files were cleaned up. This is an internal maintenance change that improves long-term reliability and makes future development easier, with no expected change for end users.
Original PR description
Task: 4028278
Miscellaneous changes
With https://github.com/odoo/enterprise/pull/45256/files we broke the left scroll bar of the transactions. Both sides of the bank rec widget should have their own. Before the fix:  After the fix:  opw-4029287 Forward-Port-Of: odoo/enterprise#65901
Original PR description
With https://github.com/odoo/enterprise/pull/45256/files we broke the left scroll bar of the transactions. Both sides of the bank rec widget should have their own. Before the fix:  After the fix:  opw-4029287 Forward-Port-Of: odoo/enterprise#65901
Removed dependency on demo data for the TestInvoiceExtractPurchase tests, as they would previously fail if the demo data had not been loaded. Now the results will be consistent, no matter if the demo data is present. Task-3957718 Forward-Port-Of: odoo/enterprise#65885 Forward-Port-Of: odoo/enterprise#65660
Original PR description
Removed dependency on demo data for the TestInvoiceExtractPurchase tests, as they would previously fail if the demo data had not been loaded. Now the results will be consistent, no matter if the demo data is present. Task-3957718 Forward-Port-Of: odoo/enterprise#65885 Forward-Port-Of: odoo/enterprise#65660
## Description: Clicking the "Insert in Spreadsheet" button within the pivot view previously failed to pass the necessary context, leading to a traceback. This PR resolves the problem by ensuring the context is properly passed to the action. Task ID: [3880304](https://www.odoo.com/web#id=3880304&cids=2&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#65856 Forward-Port-Of: odoo/enterprise#61230
Original PR description
## Description: Clicking the "Insert in Spreadsheet" button within the pivot view previously failed to pass the necessary context, leading to a traceback. This PR resolves the problem by ensuring the context is properly passed to the action. Task ID: [3880304](https://www.odoo.com/web#id=3880304&cids=2&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#65856 Forward-Port-Of: odoo/enterprise#61230
Problem --------- `_get_digital_signature` currently returns a sudo certificate. This is not safe. Objective --------- Don't return a sudo certificate to anyone having access to this company. Forward-Port-Of: odoo/enterprise#65874 Forward-Port-Of: odoo/enterprise#65607
Original PR description
Problem --------- `_get_digital_signature` currently returns a sudo certificate. This is not safe. Objective --------- Don't return a sudo certificate to anyone having access to this company. Forward-Port-Of: odoo/enterprise#65874 Forward-Port-Of: odoo/enterprise#65607
Add a currency rates update method using the BCU (Banco Central Uruguayo) webservices for Uruguay (UY). Webservices used: - Get last currency rate update date https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsultimocierre - Get rates https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones Latest PDF specification [here](https://drive.google.com/file/d/122UtHhpdYEmbOti0nr0d-brZs65kiLDT/view) Rates can be manually verified [here](https://www.bcu.gub.uy/Esta
Original PR description
Add a currency rates update method using the BCU (Banco Central Uruguayo) webservices for Uruguay (UY). Webservices used: - Get last currency rate update date https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsultimocierre - Get rates https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones Latest PDF specification [here](https://drive.google.com/file/d/122UtHhpdYEmbOti0nr0d-brZs65kiLDT/view) Rates can be manually verified [here](https://www.bcu.gub.uy/Estadisticas-e-Indicadores/Paginas/Cotizaciones.aspx) For questions or updated specifcations, please send an email to mesadeayuda@bcu.gub.uy *Note: the `CodigoISO` tag isn't a reliable ISO code, that's why we use their specific `Moneda` currency code instead.* Credits to **Adhoc** for the development. Original PR: odoo/enterprise#49519 Forward-Port-Of: odoo/enterprise#65169
... in Subscriptions --- Description of the issue this commit addresses: Since the redesign of the description column of the invoice lines, that column is not supposed to contain the name of the product anymore. At the moment, the computation of the line name still uses it in the subscription app. Referenced commit is: https://github.com/odoo/odoo/pull/152869/commits/216634fd048c568d5b398134ba948a301bf76e3c --- Desired behavior after the commit is merged: When creating an inv
Original PR description
... in Subscriptions --- Description of the issue this commit addresses: Since the redesign of the description column of the invoice lines, that column is not supposed to contain the name of the product anymore. At the moment, the computation of the line name still uses it in the subscription app. Referenced commit is: https://github.com/odoo/odoo/pull/152869/commits/216634fd048c568d5b398134ba948a301bf76e3c --- Desired behavior after the commit is merged: When creating an invoice for a subscription, the invoice lines' description only contain the custom description of the product and not the name of the product. --- task-4013483 Forward-Port-Of: odoo/enterprise#65509
PR #62452 (15.0+) added extra IAP calls that retry requesting the cancellation status in case the cancellation was not processed yet. In odoo/odoo#122663 (17.0+), IAP calls were disabled in tests. When fw-porting the first PR above, this change of behaviour in 17.0 was not taken into account meaning that the tests kept failing in 17.0+. We fix this by applying the same strategy as #62452 - patch the thread to remove the testing attribute during IAP calls. runbot-64793 Forward-Port-O
Original PR description
PR #62452 (15.0+) added extra IAP calls that retry requesting the cancellation status in case the cancellation was not processed yet. In odoo/odoo#122663 (17.0+), IAP calls were disabled in tests. When fw-porting the first PR above, this change of behaviour in 17.0 was not taken into account meaning that the tests kept failing in 17.0+. We fix this by applying the same strategy as #62452 - patch the thread to remove the testing attribute during IAP calls. runbot-64793 Forward-Port-Of: odoo/enterprise#65867
The issue: When there is a validation error happened directly with the DIAN, the error message is DIAN_RESULT, which does not explain much to the client. The Fix: explain to the client what is a DIAN_RESULT error opw-3921726 Forward-Port-Of: odoo/enterprise#65632 Forward-Port-Of: odoo/enterprise#65547
Original PR description
The issue: When there is a validation error happened directly with the DIAN, the error message is DIAN_RESULT, which does not explain much to the client. The Fix: explain to the client what is a DIAN_RESULT error opw-3921726 Forward-Port-Of: odoo/enterprise#65632 Forward-Port-Of: odoo/enterprise#65547
The coverage reports do not print the right account ids when searching for the ones that are not used. ### Steps to reproduce: - Install the 'l10n_de' module and switch to a German company - Go in Accounting > Configuration > Management > Accounting Reports - Go in the German Profit and Loss report - Click on the button 'Accounts Coverage Report' - In the downloaded report the yellow lines should not appear as they are linked ### Cause: When searching for the ids that are not linked,
Original PR description
The coverage reports do not print the right account ids when searching for the ones that are not used. ### Steps to reproduce: - Install the 'l10n_de' module and switch to a German company - Go in Accounting > Configuration > Management > Accounting Reports - Go in the German Profit and Loss report - Click on the button 'Accounts Coverage Report' - In the downloaded report the yellow lines should not appear as they are linked ### Cause: When searching for the ids that are not linked, the code actually only look up the ones that are linked to an account. ### Solution: Fix the condition on the ids. opw-3993835 Forward-Port-Of: odoo/enterprise#65628
To reproduce the issue: 1. Go to the wire transfer provider and enable it 2. Make sure there is a “Pending Message", if not click “Reload Pending Message” 3. Create a quotation in USD 4. Send by Email 5. Preview 6. Accept & Sign 7. Pay Now 8. Select Wire Transfer and Pay The amount will show under communication with as EUR. To fix it, only show this when the SEPA provider is used. opw-4006206 PS: I targeted 17 because it's the closest stable release to odoo.com (where we ex
Original PR description
To reproduce the issue: 1. Go to the wire transfer provider and enable it 2. Make sure there is a “Pending Message", if not click “Reload Pending Message” 3. Create a quotation in USD 4. Send by Email 5. Preview 6. Accept & Sign 7. Pay Now 8. Select Wire Transfer and Pay The amount will show under communication with as EUR. To fix it, only show this when the SEPA provider is used. opw-4006206 PS: I targeted 17 because it's the closest stable release to odoo.com (where we experience the issue). Seemingly no one else has run into this over the years so I didn't want to change previous versions needlessly. Forward-Port-Of: odoo/enterprise#65291 Forward-Port-Of: odoo/enterprise#65256