Daily updates from Odoo
Tuesday, February 13, 2024
16 changes
8 changes
Enhancements to existing features
The time off dashboard search has been simplified so employees only see their own dashboard information. This reduces confusion by removing employee-based filtering where it is not needed for the user’s personal view.
Original PR description
remove employee in search bar; only you will see your own dashboard. task : 3679662
The analytic account form layout has been adjusted so budget information appears after the account property fields. This creates a more consistent and logical order for users reviewing or editing analytic account details.
Original PR description
This PR involves updating the xpath selector for the patch that adds the budget notebook to the analytic account view. The revised selector ensures that the budget notebook is inserted at the end of the view form sheet. This modification guarantees that the property fields, as defined in the parent view, will precede the placement of the budget notebook. task-3594814
Code cleanup and technical improvements
The Knowledge app's automated checks for article history were updated to match recent interface changes. This helps keep quality checks reliable without changing the user-facing feature itself.
Original PR description
This commit is the enterprise counterpart of commit [1]. Since we now use the Notebook component in the HistoryDialog, the classes have changed, and the tour testing the history feature needed to be adapted. Now, the tour is correctly using the latest selectors. [1]: f301d61bf8a751fabacd6f6d4541bcd0489c48ab Linked Community PR: https://github.com/odoo/odoo/pull/153372
Miscellaneous changes
Steps to reproduce: - Go to Helpdesk - Navigate to Configuration > Teams - Turn off the 'sla policies' from the form view of all teams. - Check in the reporting section the 'sla status analysis' menu item is visible for the teams. Issue: - The 'sla status analysis' menu item shouldn't be visible if the 'sla policies' feature is disabled on all teams Solution: - Updated the visibility of the 'sla status analysis' menu item based on the 'sla policies' by adding the groups task
Original PR description
Steps to reproduce: - Go to Helpdesk - Navigate to Configuration > Teams - Turn off the 'sla policies' from the form view of all teams. - Check in the reporting section the 'sla status analysis' menu item is visible for the teams. Issue: - The 'sla status analysis' menu item shouldn't be visible if the 'sla policies' feature is disabled on all teams Solution: - Updated the visibility of the 'sla status analysis' menu item based on the 'sla policies' by adding the groups task-3549328 Forward-Port-Of: odoo/enterprise#50099
### [IMP] l10n_mx_edi: duplicate check using fiscal folio As every fiscal folio on a vendor bill in Mexico is unique, we can easily check that to find duplicates. This change extends the default duplicate vendor bill check to first see if it can find duplicates with the same folio fiscal. If it doesn't find any, it will apply the generic duplicate check. task-3590442 ### [IMP] l10n_mx_edi: import withholding taxes Currently when importing a Mexican vendor bill, we skip the withhol
Original PR description
### [IMP] l10n_mx_edi: duplicate check using fiscal folio As every fiscal folio on a vendor bill in Mexico is unique, we can easily check that to find duplicates. This change extends the default…
### [IMP] l10n_mx_edi: duplicate check using fiscal folio As every fiscal folio on a vendor bill in Mexico is unique, we can easily check that to find duplicates. This change extends the default duplicate vendor bill check to first see if it can find duplicates with the same folio fiscal. If it doesn't find any, it will apply the generic duplicate check. task-3590442 ### [IMP] l10n_mx_edi: import withholding taxes Currently when importing a Mexican vendor bill, we skip the withholding taxes defined on the lines. In this change, we also allow importing the withholding taxes when we find at least one that matches in the database. task-3590442 ### [IMP] l10n_mx_edi: flag "to check" on issues with import When we're importing a Mexican vendor bill and we're unsure about something, like a tax that couldn't be found or multiple possible taxes, a message is logged in the chatter of that invoice in Odoo. However, it is not easy to identify which imported bills have errors later on when we have a bunch of them. In order to make that easier, we flag the vendor bill as "to check" whenever we encounter an uncertainty at import, so the user can easily filter on that to follow up on these invoices. task-3590442 Forward-Port-Of: odoo/enterprise#56064 Forward-Port-Of: odoo/enterprise#53128
runbot ticket: 56443 Forward-Port-Of: odoo/enterprise#55791 Forward-Port-Of: odoo/enterprise#55406
Original PR description
runbot ticket: 56443 Forward-Port-Of: odoo/enterprise#55791 Forward-Port-Of: odoo/enterprise#55406
### **Version:** - 17.0 ### **Cause:** When a subscription is not paid automatically, We sent an email to customers to inform them that we would be retrying. ### **Improvement:** In this commit, a button has been added to the email that enables users to pay for failed subscription payments directly. task-3640650 ---- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr) Forward-Port-Of: odoo/enterprise#55379 F
Original PR description
### **Version:** - 17.0 ### **Cause:** When a subscription is not paid automatically, We sent an email to customers to inform them that we would be retrying. ### **Improvement:** In this commit, a button has been added to the email that enables users to pay for failed subscription payments directly. task-3640650 ---- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr) Forward-Port-Of: odoo/enterprise#55379 Forward-Port-Of: odoo/enterprise#53046
`_build_query` is a rat's nest of randomly sprinkled `SQL`, which seems to end in the sql injection checker getting confused and non-deterministic. Do some cleaning to try and make it more understandable for the linter. Forward-Port-Of: odoo/enterprise#56367
Original PR description
`_build_query` is a rat's nest of randomly sprinkled `SQL`, which seems to end in the sql injection checker getting confused and non-deterministic. Do some cleaning to try and make it more understandable for the linter. Forward-Port-Of: odoo/enterprise#56367
8 changes
Enhancements to existing features
This update fixes a test in the subscription module that was failing when run at midnight due to timing-related issues. The improvement ensures the test runs reliably at any time of day, making the system more stable and reducing false test failures.
Original PR description
runbot task: 55516 Forward-Port-Of: odoo/enterprise#55732
This update allows businesses to customize which product is used when applying discounts to sales orders. Previously, the discount product was fixed, but now developers can override it to match specific business needs. This provides greater flexibility for companies with unique discount product requirements.
Original PR description
Add method '_get_discount_product' to allow to override the product used by the sale_order_discount wizard.
This update improves the code comments in the web editor's image processing method to better explain how image customization works. The change clarifies technical limitations around customizing images added via URLs, helping developers understand the system's behavior and constraints.
Original PR description
The goal of this commit is to impove the comment in the `loadImageInfo` method. Forward-Port-Of: odoo/odoo#153554 Forward-Port-Of: odoo/odoo#153438
Resolved issues and error corrections
This fix removes restrictions that prevented editing certain accounting fields on product templates when they weren't marked as purchasable. The fields for expense accounts and price differences are now always editable, simplifying the system and avoiding unnecessary complexity across modules.
Original PR description
Product template "property_account_expense_id" and "property_account_creditor_price_difference" fields must stay editable in cases even if not "can be puchased". Since it being readonly is trivial, better leave it writeable instead of implementing cross module readonly logic. Task: 3695677
The AI writing assistant option has been removed from the toolbar when images are selected, since AI-generated text would replace the image rather than enhance it. The AI option now only appears when working with text, making the toolbar more intuitive and preventing confusing user experiences.
Original PR description
Specification: This commit targets the scenario when an image is in the selection and the toolbar displays an AI option, which makes no sense as the generated response will replace the image. Desired behavior after PR is merged: The toolbar has been updated to show the AI option only for text-based scenario task-3733320
This update corrects the spacing of the activity button in the messaging interface. A previous change had added extra spacing to separate the activity button from communication-related buttons, but this spacing was not desired. This fix restores the original spacing to improve the visual layout of the interface.
Original PR description
In https://github.com/odoo/odoo/commit/e0491c1a623ffec19ed563679f853cc6d1c56d03 we changed the spacing of the activity button to dissociate it from buttons that are "message/communication" oriented. This spacing was unwanted so we need to revert it back. task-3730089 | Before | After | | --- | --- | | | | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects the visual styling of forecast icons in the sales inventory module to match other similar icons throughout the system. The icon color and hover behavior have been adjusted to provide a more consistent and intuitive user experience when interacting with forecast information.
Original PR description
This PR fixes an unconsistent forestack icon within the `sale_stock` module. Prior to this PR, the forecast icon was using a `text-primary` class, making it unconsistent regarding the other forecast icons. We also add a missing `cursor-pointer` class to fix the improve the hover state and the visual feedback of the link. task-3582145 Forward-Port-Of: odoo/odoo#140959
Code cleanup and technical improvements
The intrastat report's query building function has been reorganized and simplified to improve code clarity and reliability. This cleanup helps prevent technical issues with the system's security checks and makes the code easier to maintain going forward.
Original PR description
`_build_query` is a rat's nest of randomly sprinkled `SQL`, which seems to end in the sql injection checker getting confused and non-deterministic. Do some cleaning to try and make it more understandable for the linter. Forward-Port-Of: odoo/enterprise#56367