Daily updates from Odoo
Wednesday, February 19, 2025
15 changes · master
Enhancements to existing features
The appointment and planning calendar tests were updated to match changes in the calendar filter panel. This supports a smoother filtering experience by aligning behavior with the removal of the option to select everybody's calendar and improved reload handling after filter changes.
Original PR description
Counter-part of https://github.com/odoo/odoo/pull/197338 Task-4567282
Miscellaneous changes
This commit adds some QoL improvements on l10n_uy_edi when creating an Uruware testing account, as listed: - if in test mode, skip the uuid validation - if in test mode, use the current user email address for the contact for Uruware to send the credentials - in the successful event notification, display the email address where the credentials will be sent from Uruware - add cooldown period of 24 hours everytime a successful request for creating uruware account is sent related IAP PR: ht
Original PR description
This commit adds some QoL improvements on l10n_uy_edi when creating an Uruware testing account, as listed: - if in test mode, skip the uuid validation - if in test mode, use the current user email address for the contact for Uruware to send the credentials - in the successful event notification, display the email address where the credentials will be sent from Uruware - add cooldown period of 24 hours everytime a successful request for creating uruware account is sent related IAP PR: https://github.com/odoo/iap-apps/pull/974 task-id: 4411564 Forward-Port-Of: odoo/enterprise#79387 Forward-Port-Of: odoo/enterprise#78008
Before Commit: ---------------------------- - Quality checks only displayed the product name, making it difficult to distinguish between variants in the same transfer. After Commit: ----------------------------- - Quality checks now display variant details, ensuring clarity and reducing confusion when handling multiple variants of the same product. task-4478249 Forward-Port-Of: odoo/enterprise#77337
Original PR description
Before Commit: ---------------------------- - Quality checks only displayed the product name, making it difficult to distinguish between variants in the same transfer. After Commit: ----------------------------- - Quality checks now display variant details, ensuring clarity and reducing confusion when handling multiple variants of the same product. task-4478249 Forward-Port-Of: odoo/enterprise#77337
This commit increases the distance between the radio buttons when dropped, exactly how it is done when adding more buttons. Additionaly, we now hide the placeholder change for the radio buttons and checkboxes as they're not really useful. Finally, we fixed a traceback on the Sign Templates opening related to `itemsCount` when opening a template. task-4575197 Forward-Port-Of: odoo/enterprise#79269
Original PR description
This commit increases the distance between the radio buttons when dropped, exactly how it is done when adding more buttons. Additionaly, we now hide the placeholder change for the radio buttons and checkboxes as they're not really useful. Finally, we fixed a traceback on the Sign Templates opening related to `itemsCount` when opening a template. task-4575197 Forward-Port-Of: odoo/enterprise#79269
Steps to reproduce ================== - Got to appointment type; - Apply some filter. - Now create a share link. - Filter is lost. Technical =========== https://github.com/odoo/enterprise/pull/63046/commits/492296e91e9c0b1106a7bc6852010be426d2abe8 Here we are loading the action while creating or updating the share link to reflect the changes without refreshing. It is not required when we create a share link from other places instead of a Share link menu. After this commit ========
Original PR description
Steps to reproduce ================== - Got to appointment type; - Apply some filter. - Now create a share link. - Filter is lost. Technical =========== https://github.com/odoo/enterprise/pull/63046/commits/492296e91e9c0b1106a7bc6852010be426d2abe8 Here we are loading the action while creating or updating the share link to reflect the changes without refreshing. It is not required when we create a share link from other places instead of a Share link menu. After this commit ================== This commit addresses the issue and now the filter will not lost when we create a share link from appointment_type. Task-4138356 Forward-Port-Of: odoo/enterprise#79584 Forward-Port-Of: odoo/enterprise#71165
In this commit: === - Adjusted the UI to align with the newly merged POS design. - Ensured that all elements related to UrbanPiper online orders are displayed correctly and without overlapping issues. task-4446972 Forward-Port-Of: odoo/enterprise#76447
Original PR description
In this commit: === - Adjusted the UI to align with the newly merged POS design. - Ensured that all elements related to UrbanPiper online orders are displayed correctly and without overlapping issues. task-4446972 Forward-Port-Of: odoo/enterprise#76447
This commit allows the calendar_event_view_form_gantt_booking_inherit form view to display the answers to the questions linked to an appointment. https://github.com/odoo/odoo/pull/196426 Forward-Port-Of: odoo/enterprise#78536
Original PR description
This commit allows the calendar_event_view_form_gantt_booking_inherit form view to display the answers to the questions linked to an appointment. https://github.com/odoo/odoo/pull/196426 Forward-Port-Of: odoo/enterprise#78536
Clicking 'Name this version' in the version history panel causes a traceback because the `el` of TextInput is not found. We have two possible solutions: 1. Forward the refs of TextInput and VersionHistoryItem explicitly using `useChildRef` and `useForwardRefToParent`, or use a callback to retrieve the ref for focusing the input. 2. Remove the menu item, as the cursor already changes to a text pointer on hover, indicating the name is editable. I think the second approach is better since
Original PR description
Clicking 'Name this version' in the version history panel causes a traceback because the `el` of TextInput is not found. We have two possible solutions: 1. Forward the refs of TextInput and VersionHistoryItem explicitly using `useChildRef` and `useForwardRefToParent`, or use a callback to retrieve the ref for focusing the input. 2. Remove the menu item, as the cursor already changes to a text pointer on hover, indicating the name is editable. I think the second approach is better since it is simpler and more intuitive. Task: 4563422 Forward-Port-Of: odoo/enterprise#79474
In this commit: https://github.com/odoo/odoo/commit/1e4e40cf78fe8151dffdcb19df2688787084732c We removed getSelectedResIds, but this function is still needed in some overrides. This commit removes the calls to that function while keeping the same behaviour as before. no-task linked:https://github.com/odoo/odoo/pull/198121 Forward-Port-Of: odoo/enterprise#79589
Original PR description
In this commit: https://github.com/odoo/odoo/commit/1e4e40cf78fe8151dffdcb19df2688787084732c We removed getSelectedResIds, but this function is still needed in some overrides. This commit removes the calls to that function while keeping the same behaviour as before. no-task linked:https://github.com/odoo/odoo/pull/198121 Forward-Port-Of: odoo/enterprise#79589
First commit lightens the unavailability color in dark mode to distinguish it from the border color and make it easier to differentiate from folded columns. Second commit removes the fold attribute from the gantt view as it becomes the default behavior for any gantt view with unavailabilities. The fold/unfold button of the gantt_scale_selector is also removed since it loses its purpose as a result. Third commit changes the width computations of folded column so that they have a fixed with
Original PR description
First commit lightens the unavailability color in dark mode to distinguish it from the border color and make it easier to differentiate from folded columns. Second commit removes the fold attribute from the gantt view as it becomes the default behavior for any gantt view with unavailabilities. The fold/unfold button of the gantt_scale_selector is also removed since it loses its purpose as a result. Third commit changes the width computations of folded column so that they have a fixed with of 36px. This helps saving screen space for actually useful information. Part of task-4571228 Forward-Port-Of: odoo/enterprise#79445
Currently a `ParseError` arises when the user installs the `appointment_account_payment` module after deleting the `Service` category in `Invoicing`. Steps to reproduce: --- - Install `Invoicing` application (without demo data) - Invoicing > Configuration > Categories > Delete `Services` - Now install `appointment_account_payment` module Traceback: --- ``` ValueError: External ID not found in the system: product.product_category_services ParseError: while parsing /home/odoo/src/e
Original PR description
Currently a `ParseError` arises when the user installs the `appointment_account_payment` module after deleting the `Service` category in `Invoicing`. Steps to reproduce: --- - Install `Invoicing`…
Currently a `ParseError` arises when the user installs the `appointment_account_payment` module after deleting the `Service` category in `Invoicing`.
Steps to reproduce:
---
- Install `Invoicing` application (without demo data)
- Invoicing > Configuration > Categories > Delete `Services`
- Now install `appointment_account_payment` module
Traceback:
---
```
ValueError: External ID not found in the system: product.product_category_services
ParseError: while parsing /home/odoo/src/enterprise/saas-18.1/appointment_account_payment/data/product_data.xml:3, somewhere inside <record id="default_booking_product" model="product.product">
<field name="name">Booking Fees</field>
<field name="standard_price">0.00</field>
<field name="uom_id" ref="uom.product_uom_unit"/>
<field name="list_price">50.00</field>
<field name="type">service</field>
<field name="purchase_ok" eval="False"/>
<field name="categ_id" ref="product.product_category_services"/>
<field name="image_1920" type="base64" file="appointment_account_payment/static/src/img/booking_product.png"/>
</record>
```
The error occurs because the user deleted the category and then installed the `appointment_account_payment` module, which references the missing product category.
This commit resolves the error by providing a False value for the field if the product category is missing.
sentry-6298992760
Forward-Port-Of: odoo/enterprise#79365**[FIX] account_online_synchronization: branch company failing to fetch bank's logos.** When a branch company is selected alone with a non admin user, the function `fetch_online_sync_favorite_institutions` fails due to an access error, when trying to access the original companies country code (which is not selected). To reproduce the issue: - Create a branch for a company with a bank journal that hasn't been set up. - Create new internal user with access to the new branch company as we
Original PR description
**[FIX] account_online_synchronization: branch company failing to fetch bank's logos.** When a branch company is selected alone with a non admin user, the function `fetch_online_sync_favorite_institutions` fails due to an access error, when trying to access the original companies country code (which is not selected). To reproduce the issue: - Create a branch for a company with a bank journal that hasn't been set up. - Create new internal user with access to the new branch company as well as the parent (origin of the journal) - Login with the non admin user - Choose soley the newly created branch in company selector - Open invoicing opw-4524368 Forward-Port-Of: odoo/enterprise#79073
The items inside the wizard view are ordered as a 2 column grid of labels and contents. But recently, it is found that the hard lock date alert item is only displayed in the short label section of the grid. This commit spans the hard lock date `div`'s `colspan` to 2 to make sure it spans on the whole line. for more info:  task-4586675 Forward-Port-Of: odoo/enterprise#79572
Original PR description
The items inside the wizard view are ordered as a 2 column grid of labels and contents. But recently, it is found that the hard lock date alert item is only displayed in the short label section of the grid. This commit spans the hard lock date `div`'s `colspan` to 2 to make sure it spans on the whole line. for more info:  task-4586675 Forward-Port-Of: odoo/enterprise#79572
Steps to reproduce: - Run helpdesk tour. - Change the language - Proceed with the tour Isuse: - The tours fails. Problem: - It is due to the triggers using english text in :contains. Fix: - Replace all the :contains with concrete triggers. Also changed some tour steps pointer orientation as it doesnt sit right in some conditions(gets broken/ partially invisible) task-4479518 Forward-Port-Of: odoo/enterprise#79539 Forward-Port-Of: odoo/enterprise#77398
Original PR description
Steps to reproduce: - Run helpdesk tour. - Change the language - Proceed with the tour Isuse: - The tours fails. Problem: - It is due to the triggers using english text in :contains. Fix: - Replace all the :contains with concrete triggers. Also changed some tour steps pointer orientation as it doesnt sit right in some conditions(gets broken/ partially invisible) task-4479518 Forward-Port-Of: odoo/enterprise#79539 Forward-Port-Of: odoo/enterprise#77398
This parameter should have been optional from the beginning. We changed it now because it causes problems when trying to use the TestEdi class with other Tests (Example: AR Website Sales) Forward-Port-Of: odoo/enterprise#79401 Forward-Port-Of: odoo/enterprise#78014
Original PR description
This parameter should have been optional from the beginning. We changed it now because it causes problems when trying to use the TestEdi class with other Tests (Example: AR Website Sales) Forward-Port-Of: odoo/enterprise#79401 Forward-Port-Of: odoo/enterprise#78014