Daily updates from Odoo
Wednesday, February 19, 2025
20 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
Sales teams can now quickly identify subscriptions that are close to ending without opening each record individually. Subscriptions approaching closure are highlighted and can be filtered, helping teams prioritize renewals and closure follow-up more efficiently.
Original PR description
Before this PR, it was necessary to open each subscription individually to identify those nearing their end dates, which was time-consuming and reduced efficiency. There was no filter available. After this PR, a new to_be_closing field flags subscriptions that are approaching closure, specifically when the end date is on or before the next_invoice_date. The list view now displays the end_date as an optional column, and subscriptions marked as closing show the next invoice date in orange to make them easily recognizable. Additionally, a closing filter has been added to quickly list all subscriptions set to end soon, allowing sales teams to manage renewals and closures more efficiently. task-4282552
The India GST integration no longer asks users to choose whether they are using production or test credentials. Odoo now detects test mode automatically from a specific dummy GST number, reducing setup mistakes and support issues.
Original PR description
There are multiple tickets where users did not select the `Production Environment` option and proceeded with test credentials. Additionally, since users cannot generate their own test credentials, the field is unnecessary and confusing. With this commit, the `l10n_in_edi_production_env` field is removed. Instead, the system will determine the environment based on the GST Number. The specific GST Number `24DUMMY1234AAZA` will be used to identify the test environment. task-4574504 **COM PR**: https://github.com/odoo/odoo/pull/197722
Resolved issues and error corrections
This fix prevents WhatsApp message button links from being accidentally altered in a way that could create incorrect destinations. It also improves validation so buttons load in the right order and generate the correct link details.
Original PR description
Incorrect dynamic button behaviour is fixed. Dynamic web buttons have fixed base, only last part can be modified, therefore making base part readonly is essential, otherwise meta appends any modified base url to originally submitted base url. Additionally, test is added to make sure that buttons are loaded correctly, according to their sequence number and also base and short_url calculation is correct. task-3908799
The Spanish Modelo 390 BOE export has been updated for the 2024 requirements and now correctly generates files from the report wizard. It also adjusts required identity fields so self-employed individuals and companies can complete the export using the appropriate information.
Original PR description
This commit updates the BOE mod390 export for 2024 and set some fields as not mandatory that should not be as you are either a self-employed (and then you use the natural person fields), or you are a company and the other fields are needed. Task: 4453629 Fwd port of https://github.com/odoo/enterprise/commit/fd14c05bcf238d2da7de825d1a6c751381c153b7 Odoo PR: https://github.com/odoo/odoo/pull/196578
This update corrects how VoIP stores and reads landline and mobile phone numbers after recent field name changes. It helps ensure the softphone shows the right contact numbers and avoids errors when viewing correspondence details.
Original PR description
This commit fixes the naming of the `landlineNumber` field. Previously, this field was referred to as the `phone` field. This commit changes its name to `phoneNumber`. Also, we had a `mobile` field that was removed in this PR: https://github.com/odoo/odoo/pull/189739 and it resulted in a bug in the `mobileNumber` getter in `correspondence_details.js` as it was retrieving a `phoneNumber` attribute from the `partner` model. In contrast, it doesn't have this attribute. Community: https://github.com/odoo/odoo/pull/197205
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