Wednesday, December 3, 2025
34 changes · 19.0
Enhancements to existing features
This update replaces the specific "Uruware" name in the Odoo settings with a generic "UCFE Provider" label for the electronic invoicing provider. This ensures customers contact Odoo support for assistance and maintains a consistent configuration for Uruguayan users. The core functionality remains unchanged.
Original PR description
Before: -In the Settings > Uruguay Localization section, electronic invoicing provider was shown as "Uruware". -This could lead customers to contact Uruware directly instead of Odoo support. After: -Replaced all mentions of `Uruware` with generic name, `UCFE Provider`. -Updated labels and descriptions in both testing and production sections. -The overall configuration and functionality remain unchanged. Impact: -Removes direct provider references from the interface. -Ensures customers contact Odoo support for any assistance. -Keeps the configuration clear and consistent for Uruguayan users. task-5244539 Forward-Port-Of: odoo/enterprise#101053 Forward-Port-Of: odoo/enterprise#99065
This update enhances Odoo's email testing process. Previously, developers could only inspect emails through a mock system. Now, the system retains the actual email output, allowing for more comprehensive and accurate testing of email functionality. This improves the reliability of email-related features.
Original PR description
When using MockEmail, you can inspect sent emails through self.mails. However, in some cases we need to test the actual email output instead of only the provided values.
Resolved issues and error corrections
This update resolves an issue where the partner filter in the Partner Ledger report incorrectly removed reconciliation entries. The fix ensures that both invoices and related operations (like misc operations) are visible when using the filter, providing a more complete view of partner transactions. This improves reporting accuracy and usability.
Original PR description
To reproduce: - create an invoice for partner Bernard Gagnant (very important) - reconcile that invoice with a misc operation ; make sure not to set any partner on the receivable line of that entry - Open the Partner Ledger: both the invoice and misc operation appear under "Bernard Gagnant". This is due to a hack in that report and is the intended behavior - Use the partner filter, on top of the report, to only display partner "Bernard Gagnant" ====> The misc operation does not appear anymore. After this fix, if the filter is applied, we will be able to see both the invoice and the misc operation under the partner. task-5150419
A minor typo in the SEPA Direct Debit payment provider configuration message has been corrected. This ensures consistent and accurate communication with the payment provider, improving data integrity. The change updates a grammatical error regarding the use of 'an' versus 'a'.
Original PR description
Currently, a typo appears in the `Pending Message` shown in the SEPA Direct Debit payment provider configuration. **Steps to reproduce:** - Install the `payment_sepa_direct_debit` module. - Navigate…
Currently, a typo appears in the `Pending Message` shown in the SEPA Direct Debit payment provider configuration. **Steps to reproduce:** - Install the `payment_sepa_direct_debit` module. - Navigate to Invoicing > Configuration > Payment Providers > SEPA Direct Debit. - Open the `Messages` tab and observe the `Pending Message`. **Observation:** The message uses "an unique" instead of the grammatically correct "a unique". **Fix:** This commit corrects the message by replacing "an" with "a" at [1]. Before: <img width="1903" height="606" alt="typo_before" src="https://github.com/user-attachments/assets/df4f658b-9f4c-4e68-b8cb-a1bdc2253fc3" /> After: <img width="1900" height="609" alt="typo_after" src="https://github.com/user-attachments/assets/e9192d70-b343-4e4e-9e21-281a93d4d71e" /> [1]: https://github.com/odoo/enterprise/blob/6c3692d85bf1ef7b14d930d9a1ed244cf8aa851b/payment_sepa_direct_debit/data/payment_provider_data.xml#L13 opw-5373274 Forward-Port-Of: odoo/enterprise#100983
This update fixes an issue where Odoo incorrectly processed attachment file types, leading to potential errors. The changes ensure attachments are handled correctly, particularly with binary files, and streamline the attachment creation process for better efficiency.
This update resolves an issue where unnecessary data was being passed to the AI agent's data processing. The system now correctly handles data encoding and checksum calculations, ensuring more reliable AI agent functionality. This change improves the stability and performance of the AI features.
Original PR description
The cron is encoding the `content` to compute its checksum already. Also don't set `index_content`, as far as I can tell it's unconditionally computed by `ir.attachment` on both create and write (via `_set_attachment_data` in the latter case).
This update fixes an error that prevented payroll officers from accessing salary offer details. The issue stemmed from the module attempting to access candidate records, which required recruitment rights. The fix ensures payroll officers can now open and manage offers without needing these additional permissions.
Original PR description
steps to reproduce: - Install l10n_be_hr_contract_salary - Log in as a payroll officer (without recruitment rights) - Go to Payroll > Contracts > Offers - Open any offer - Notice an 'Access Error' appears: You are not allowed to access 'Candidate' (hr.candidate) records. cause: The module tries to read `employee_id.candidate_id.partner_id` in offer computations. Since payroll officers lack recruitment rights accessing `hr.candidate` triggers an access error. fix: Wrap candidate access in try/except to handle missing permissions. - If accessible, candidate partner data is used as before. - If not accessible, skip without raising an error. This allows payroll officers to open and generate salary offers without requiring recruitment rights. task - 5039712 Forward-Port-Of: odoo/enterprise#100980 Forward-Port-Of: odoo/enterprise#95869
A technical error causing a traceback during salary package offer generation has been resolved. This issue occurred when a specific benefit type (Always Selected) was configured, leading to a data processing error. This update ensures the offer generation process functions correctly for all benefit configurations.
Original PR description
Steps to reproduce: 1. Install 'hr_contract_salary_payroll' 2. Create three benefits from Payroll > Configuration > Benefits - Basic: Salary Structure Type: US Employee Contract Related Field: Health…
Steps to reproduce:
1. Install 'hr_contract_salary_payroll'
2. Create three benefits from Payroll > Configuration > Benefits
- Basic:
Salary Structure Type: US Employee
Contract Related Field: Health Benefits Dental
Display Type: Slider (1500, 6000)
- Housing:
Salary Structure Type: US Employee
Contract Related Field: Health Benefits Vision
Display Type: Always Selected
- Transport:
Salary Structure Type: US Employee
Contract Related Field: Health Benefits Vision
Display Type: Manual
Mandatory Benefits: Basic, Housing
3. Go to Employees > Contracts
4. Create a new contract:
Set an employee
Salary Structure Type = US Employee
HR Responsible = Mitchell Admin
5. Click the Generate Offer smart button.
6. Open the link
7. Adjust the sliders
Issue: it gives a traceback
`TypeError: Cannot read properties of undefined (reading 'type')`
Cause:
https://github.com/odoo/enterprise/blob/cc3fe89528a143cff3ab03e1654755c34eaac112/hr_contract_salary/static/src/js/hr_contract_salary.js#L480-L482
In checkInputSelected, the target array is empty when an Always Selected benefit is present, causing an attempt to read target[0].type.
Solution:
Add a guard to check that target is not empty before accessing its elements.
opw-5058994
Forward-Port-Of: odoo/enterprise#94881This update removes a confusing step in the Finance actions process, streamlining how documents are created and linked. Previously, actions first moved documents to the Taxes folder before creating records, leading to unnecessary complexity. This change improves the user experience and clarifies the action workflow.
Original PR description
Issue: The embedded actions of the Finance folder are multi-step actions that first do a move to the Taxes folder, before creating relevant records linked to the action. The move to the Taxes folder is unnecessary and confusing. It adds to the confusion that when synchronisation is activated for a journal, the record will immediately be moved to the synced folder after triggering the action. The result is that the document ends up in the right place, but the action definition is confusing. When there is no synchronisation activated for a journal, the document will be moved to the Taxes folder. But this does not make any functional sense. Cause: Multi-action step moves it towards the Taxes folder before creating the relevant record. Solution: Remove the move step of the multi-action. In a later commit an IMP will be made to clean up the actions. Task-5380590
This update relaxes a constraint on stock pickings, enabling users to schedule pickings with dates that fall outside the company's fiscal year lock date. Previously, this restriction caused issues with certain pickings. This change improves flexibility without impacting core accounting functionality.
Original PR description
### Issue: The `_check_backdate_allowed` constraint on `scheduled_date` and `date_done` of pickings: https://github.com/odoo/odoo/blob/5375b865570efb714720096c34aeec2e833dd1f9/addons/stock_account/models/stock_picking.py#L13-L19 is suppose to check if these dates happen prior to the `fiscal_year` lock date and (of course) before the hard lock date. However, the `_get_lock_date_violations` set all its parameters to `True` by default: https://github.com/odoo/odoo/blob/5375b865570efb714720096c34aeec2e833dd1f9/addons/account/models/company.py#L664-L673 and only the fiscalyear variable is set in the constraint calls: https://github.com/odoo/odoo/blob/5375b865570efb714720096c34aeec2e833dd1f9/addons/stock_account/models/stock_picking.py#L27-L32 opw-5329858 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes an issue where attendance was incorrectly flagged as overtime when employees worked on the same day as a company holiday. The change ensures that only holidays specific to the current company are considered when calculating overtime, preventing inaccurate calculations and improving payroll accuracy.
Original PR description
A bug was found that set attendances as overtime when done in the same day another company had a public holiday with no working schedule set. This fix adds the current company to the filter of _get_unusal_days to get only public holidays of the current company. task-5347555 ## To do - [x] Add tests
This update resolves an issue where printing receipts with reward lines and multiple order lines would cause the printer to block. The fix reorders the lines to correctly apply discounts, preventing the error related to the last line's discount amount. This ensures receipts print reliably with reward items.
Original PR description
This PR fixes the case of printer blocked using reward lines and multiple order lines. To reproduce the issue: - Add a product with reward (for example 10% reward on 50€ , that is 5€) - Add a second product without reward that costs less than 5€ - Print the receipt on fiscal printer The lines are orderer before the non reward lines, than reward lines. The printer is blocking because the adjustmentType discounts last line of less than 5€. It is wrong. Another way to reproduce the issue: - Add a product with reward - Add a second product with reward - The reward line with the sum of both rewards is created The same error appear because it discounts both lines. It is better to discount the entire department instead of the last sale Forward-Port-Of: odoo/enterprise#98699
This update fixes a minor visual issue in the event creation modal by increasing its width. Previously, a scrollbar would appear when focusing on the editable area. This change ensures a smoother user experience and prevents unnecessary scrollbars.
Original PR description
**Current behavior before PR:** - The new event modal was reduced in width, causing the placeholder to have insufficient space. When focusing the editable area, this resulted in an unnecessary scrollbar. **Desired behavior after PR is merged:** - The width of the event creation modal has been increased, preventing the scrollbar from appearing when the cursor is inside the editable area. task-5207448
This update enhances the HTML editor's powerbox functionality by adding the 'title' keyword. Now, users can easily create and display headings (H1-H3) within the powerbox using the '/title' command. This improves content formatting and organization.
Original PR description
#### Desired behavior after PR is merged: - `title` is added to the list of keywords in `powerbox_items`, allowing `/title` to display the `heading (H1–H3)` commands in the powerbox. task-5367576 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes an issue preventing completion notifications in the MRP Work Order module from being translated into different languages. The previous code placement blocked the translation process. This ensures that users receive notifications in their preferred language, improving the overall user experience.
Original PR description
The `_t()` was put around the wrong thing, making the strings never translatable. Followup to: 4403621 Forward-Port-Of: odoo/enterprise#101119
This update fixes a visual issue where buttons within the image field were not vertically centered. The change uses SCSS flexbox to reliably center the buttons, ensuring a consistent and professional appearance. This improvement simplifies maintenance and accommodates potential future customizations to the image field.
Original PR description
The buttons in image_field are not centered vertically. Since it's a custom sized button, using flex is reliable (it's now centered on both flex axis). Note: Done in SCSS instead of utilities because the flex is there to compensate the custom size set in SCSS (easier to maintain) + there could be injected buttons in the component. task-5258887 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#235964
This update corrects a bug where pressing arrow keys while the table picker was open caused incorrect navigation within tables. Now, arrow keys only control the table picker itself, preventing unintended cell selection. This improves the user experience when working with tables in the Odoo interface.
Original PR description
Description of the issue this PR addresses: Current behavior before PR: When the table picker was open inside a table, pressing the up/down arrow keys incorrectly moved the selection to the cell above or below. Desired behavior after PR is merged: While the table picker is open, arrow up/down no longer navigate between table cells. task-5349547 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#236886
This update fixes a broken link on the Odoo.com website's support page. The previous link pointed to an incorrect email address, preventing users from easily contacting support. This change ensures users can now correctly access support resources, improving the overall user experience.
Original PR description
Changing wrong email into the support /help page. Task: odoo.com/odoo/project.task/5100049?menu_id=4720
This update refines the HTML editor toolbar to only appear when a user has clearly selected content. Previously, the toolbar would open even with minimal selections like line breaks. This change enhances the user experience by reducing unnecessary distractions and improving editor responsiveness.
Original PR description
Prevent the toolbar to open if the selection is not clearly visible to the user. for example, line break only selection. task-4945676 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves an issue where the Odoo application remained listed after uninstalling on Windows. The fix ensures the uninstaller correctly removes registry keys, preventing persistent installations and improving the user experience. This improves the reliability of the uninstallation process.
Original PR description
Since d0d0fa2b8e the Windows installer only supports 64 bit version of the OS. It was recently noticed that when uninstalling the app with the provided uninstaller that the app remains listed in the installed software. Although the directories and third party apps were correctly cleaned and removed. The reason is that the Odoo app registry key is still present after the uninstall process. When a 32 bit process tries to write a registry key in `HKLM\SOFTWARE` it's redirected by the OS to `HKLM\SOFTWARE\WOW6432Node`. By using the `SetRegView 64` NSIS directive, the installer writes the registry key at the right place ... but the uninstaller is lacking that directive and thus tries to remove a non existing key in `HKLM\SOFTWARE\WOW6432Node`. With this commit, the uninstaller is fixed by using the directive too. Forward-Port-Of: odoo/odoo#238476
This update resolves an issue where negative commission targets couldn't be set in sales plans. Now, users can accurately reflect scenarios where commissions might be reduced or refunded, improving the accuracy of sales forecasting and reporting. This change ensures the system handles all commission scenarios correctly.
Original PR description
Before this commit, it was not possible to define negative completion target on the plan. task-5362854
This update resolves an issue where users couldn't access subchannels within group chats without being explicitly invited. The fix automatically adds users to subchannels when they have write access to the parent group chat, improving usability and preventing access errors. This ensures all users can participate in relevant conversations.
Original PR description
Before this commit, typing in a subchannel of a group DM of which you are not member of would result in an access error. Steps to reproduce: 1. Log in as user A 2. Create group chat with user B 3. Create a subchannel in said group 4. Log in as user B 5. Open the subchannel in the group chat 6. Write in the composer -> access error This is caused by incomplete access rules for the `discuss.channel.member` model. Specifically the issue stems from the fact that a subchannel of a group channel is considered a group, and as such it's only possible to join it via invitation. Since typing in a channel attempts to join it, an access error is raised. This commit fixes the issue by executing the creation of a channel member for subchannels as superuser, on the condition of having write access to the parent channel. task-5357621 Forward-Port-Of: odoo/odoo#237611
This update fixes an issue where the leave icon was hidden behind the work location icon when an employee was on leave. The change ensures the leave icon is always displayed prominently in the presence widget, providing clearer visibility for employees. A temporary workaround was implemented to resolve the module priority conflict.
Original PR description
Issue is that when a person is in leave and has a work location set, the work location icon in the presence widget takes presedence before the leave icon. The widget uses a get icon() function to return which icon to display. This function is then patched to add new icons. The plane icon for time off is in the hr_holidays module while the house and building icons in the hr_homeworking module. The issue is that hr_homeworking overrides the patch from hr_holidays giving it more priority. The fix is a "revert" where if the presence value is holiday the work location will not be set, making the label and icon not be set. task-5223178 Forward-Port-Of: odoo/odoo#234166
This update allows users to modify the subject line of sign requests before they are sent. Previously, the subject was fixed, which could lead to confusion and errors. This change improves the user experience and ensures sign requests are clearly communicated.
Original PR description
Previously, users could not modify the subject of a sign request. This PR enables the subject to be edited before the request is sent. task-5348690
This update fixes a visual glitch in the website header animation. Previously, the header would unexpectedly disappear after scrolling, creating a jarring user experience. This change ensures a smoother, more reliable animation when scrolling, improving overall website usability.
Original PR description
Steps to reproduce the issue: - Go to Edit mode - Click on the Header - In the "Scroll Effect" dropdown, select "Fade Out" - Drop some snippets to allow scrolling on the page - Scroll down then scroll to top QUICKLY The timeout to hide the header after the fade animation end is not cleared. Therefore, after 400ms, the header is shifted upward and disappears, even if the user scrolled up and made the header reappear. task-5357217 Forward-Port-Of: odoo/odoo#237515
The POS digest email now accurately reflects all POS orders, regardless of invoicing status. Previously, the ‘Open Report’ link within the digest would only display invoiced orders, resulting in a blank page when all orders were uninvoiced. This update ensures the digest provides a complete and accurate report.
Original PR description
The POS digest email shows metrics based on *uninvoiced* POS orders, but the “Open Report” link in the digest opens a report filtered to *invoiced* orders only. As a result, when all POS orders are uninvoiced, the link leads to an empty view. ### Steps to reproduce 1. Ensure that all existing POS orders are **uninvoiced**. 2. Enable Developer Mode, then navigate to **Settings → Technical → Email → Digest Email**. 3. Open any digest and click **"Send Now"** to generate a new digest email. 4. Open the generated digest and click the **POS report** link. This results in a blank page. ### Cause There is a mismatch between: * the digest computation (showing only uninvoiced orders), and * the report view called by the digest link (showing only invoiced orders). ### Fix Ensure the POS report shows unvoiced orders. opw-5087701 Forward-Port-Of: odoo/odoo#236727
This update fixes an issue where attendance work entries weren't accurately calculating remaining duration after leave deductions. The change ensures leave is correctly split and applied, resulting in more precise tracking of employee work hours. This improves the reliability of attendance data.
Original PR description
In this commit, we modified _get_work_entries_values calls to use full day boundaries. This regenerates attendance work entries with the proper remaining duration after leave deduction. Old entries are archived and replaced with correctly split ones. task-5360919 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the speed of updating overtime on employee attendance records. The previous system was slow due to a lack of database indexing, causing delays when removing overtime lines. Adding an index significantly reduces processing time for this common task.
Original PR description
Updating the overtime on attendance may take huge time. The issue comes from the lack of index on work entries so it takes a lot of time to unlink an existing overtime line. So we add an index on the work entries (which is mainly null)
This update resolves a crash that occurred when users selected multiple boxes in the bank statement attachment previewer. The issue stemmed from an attempt to access a date field that wasn't present on certain preview pages. This fix ensures the application remains stable and reliable for all users.
Original PR description
If a group of boxes is selected on the attachment previewer on a page that doesn't contain any date, a crash would occur as `this.boxes['date'][pageNumber]` was undefined. task-none
This update improves the user experience by allowing the chat window title to break long words, preventing horizontal scrolling and making it easier to read. This change ensures a cleaner and more user-friendly interface for chat conversations. It's a small but important enhancement to the overall usability of the Odoo platform.
Original PR description
This PR introduces a fix that allows the chat window title to break long words, avoiding horizontal scrolling. The fix applies a new class to the title when displayed within a chat window. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A bug in the payment state test has been fixed. The test now correctly reflects the payment state of invoices based on whether the ‘accountant’ module is installed or not. This ensures consistent invoice tracking within the accounting system.
Original PR description
The `test_bill_state_change_on_payment_state` is throwing an exception. ``` self.assertEqual(payment.invoice_ids.payment_state, 'not_paid') AssertionError: 'paid' != 'not_paid' - paid + not_paid ```…
The `test_bill_state_change_on_payment_state` is throwing an exception. ``` self.assertEqual(payment.invoice_ids.payment_state, 'not_paid') AssertionError: 'paid' != 'not_paid' - paid + not_paid ``` The test was incorrectly expecting invoice `payment_state` to always be `not_paid` when payment is reset to draft, but behavior differs based on whether `accountant` module is installed or not. - With `accountant`: Payment has no move_id (no journal entry created by default), so when drafted, `invoice.matched_payment_ids` filters exclude it, resulting in 'not_paid' state. - Without `accountant`: Payment has move_id (journal entry auto-created) so filter conditions fail (`not p.move_id` is `False`), and invoice stays `paid` due to existing reconciliations in `draft` state. Test was introduced here: https://github.com/odoo/enterprise/pull/100834/commits/402bd85af79fa68fa2cb957d40307edf62f7525c Commits that introduced the behavior change: https://github.com/odoo/odoo/pull/182390/commits/b572fcd78289013f28f11157b1bfbb75c9ea7344 https://github.com/odoo/odoo/blob/57f1053b031f293c6cd8dc8f590dccda4fb3e665/addons/account/models/account_move.py#L1308-L1314 Runbot [link](https://runbot.odoo.com/odoo/error/234573) runbot error: 234573 Forward-Port-Of: odoo/enterprise#101089
This update corrects a bug where discounts from purchase orders were incorrectly being imported into sale orders. The change ensures that sale order discounts always default to zero, aligning with business expectations. A recent update in version 18.0 addressed this issue, preventing future errors.
Original PR description
Discounts are always sent by `_retrieve_line_vals` in `account_edi_ubl_cii` In Sale orders, discounts aren't expected to be automatically imported from the purchase order, it should always be 0. `test_so_import_product_from_po` didn't use to fail because discount wasn't checked until the recent refactor https://github.com/odoo/odoo/pull/190310 Check was added in 18.0 to avoid this error in the future. Steps to reproduce: - Disable discount in sale app - Create a PO with a discount on any POL - Enable discounts - Import SO from PO Issue: Discount is added to the Sale order lines. Runbot: 232724 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#238413 Forward-Port-Of: odoo/odoo#237743
This update resolves an issue where changing the 'I agree' button's font size in the cookie bar would prevent it from working. The fix corrects a technical error in how the button's click event was handled, ensuring the cookie consent process continues to function correctly regardless of font size adjustments.
Original PR description
The "I agree" button in the cookie bar would stop working if its font size was changed. Steps to reproduce: =================== - Enable the cookie bar in website settings. - Go to the website and…
The "I agree" button in the cookie bar would stop working if its font size was changed.
Steps to reproduce:
===================
- Enable the cookie bar in website settings.
- Go to the website and enter Edit mode.
- Click on the cookie bar.
- Select the "I agree" button's text and change its font size.
- Save and visit the page as a guest (e.g., in a private window).
- Click on the "I agree" button text.
-> The maps doesn't show and the Cookie bar disappear.
Cause:
======
Applying a font size to the button's text wraps that text within a `<span>` element.
The event listener for accepting cookies is attached to the elements with IDs `#cookies-consent-essential` and `#cookies-consent-all`. in that case it ID `cookies-consent-essential` exist in the parent element. However, the code was checking the ID of `event.target`. When a user clicks directly on the newly created
`<span>`, `event.target` refers to the `<span>` itself, not the element who owns the event.
Since the `<span>` does not have the required ID ('cookies-consent-all'), the condition to accept the cookies was false.
Solution:
=========
Use `event.currentTarget` instead of `event.target`.
Unlike `event.target`, `event.currentTarget` always refers to the element to which the event handler was attached—in.
check:
https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
opw-5004645
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#238238
Forward-Port-Of: odoo/odoo#237786This update corrects a previous issue where default Incoterms were incorrectly applied to bills. Bills represent invoices from third-party vendors, so using our company's default Incoterms would be inaccurate. This change ensures bills accurately reflect the terms of the vendor's sale.
Original PR description
Incoterms are usefull to indicates the rules and terms in sale contracts. It makes sense to add the company default on invoices, but not on bills, as those originate from another vendor than us, who can use different rules. opw-5169146 Forward-Port-Of: odoo/odoo#236709