Saturday, November 4, 2023
36 changes · 17.0
Enhancements to existing features
The point of sale receipt structure is adjusted so tax letters can be shown for each order line through a related enterprise change. This supports clearer tax information on receipts with minimal direct impact in the community module.
Original PR description
In this commit we adjust the pos module such that, in the corresponding enterprise commit, we can more easily add the tax letters corresponding to each orderline in the receipt. https://github.com/odoo/enterprise/pull/50134 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds a helpful tooltip explaining the option for using sections in accounting reports. It makes the setting easier to understand for users configuring composite reports, reducing confusion during setup.
Original PR description
The goal of this pr is to add a tooltip to the use_sections field. task: 3569038 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The IAP "View My Services" button now takes users directly to the services list inside Odoo instead of sending them to the IAP website. This makes service management more consistent with the general settings experience and reduces navigation friction.
Original PR description
Description of the issue/feature this PR addresses: The "View My Services" button of the widget should open the IAP accounts tree view, just as the main "View My Services" button of the general settings. Current behavior before PR: View my services widget redirected to iap website Desired behavior after PR is merged: Updated the widget to redirect to tree view of services task-3580190 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
The accounting screens now place the invoice date before the accounting date in list and search views. This makes the legal invoice date easier to find first, improving clarity for users reviewing or filtering invoices.
Original PR description
We currently have two date fields, "date" and "invoice_date". Before this pr, the "date" column was before the "invoice_date" field. We think it's more logical to have "invoice_date" before the other, since it's the legal date. What has been done: - Swap in the tree view the two columns - Swap in the search view the two columns --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Spreadsheet pivot table formula cells are now easier for the system to identify by using the cell’s evaluated result as the pivot display name. This improves reliability when working with pivot tables in spreadsheets without changing the user workflow.
Original PR description
In order to identify an ODOO.PIVOT.TABLE formula cell, we set the display name of the pivot as the evaluated value of the cell containing the formula. Task: 3580153 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
Website page templates were cleaned up to remove repeated or conflicting styling choices. This helps pages created from these templates display more consistently without changing the underlying website features.
Original PR description
When introducing the templates for the "new page" feature in [1], on some elements classes ended up being specified twice, or being added without removing a contradicting class (e.g. different bottom paddings) This commit adjusts the blocks of the new page templates so that: - no class appears twice - only the visually applied class of several conflicting classes is kept For `pt*`, `pb*` and `o_cc*` the class with the highest number is the visually applied one. [1]: https://github.com/odoo/odoo/commit/b27d52c193a08fe6a4471c844afa3d01a33ccace task-3562147
The invoice date and transaction date fields have been reordered in the accounting module's views. The invoice date now appears first since it represents the legal date of the transaction, making the interface more intuitive for accounting users.
Original PR description
We currently have two date fields, "date" and "invoice_date". Before this pr, the "date" column was before the "invoice_date" field. We think it's more logical to have "invoice_date" before the other, since it's the legal date. What has been done: - Swap in the tree view the two columns - Swap in the search view the two columns
Resolved issues and error corrections
This fix prevents certain filter conditions from being changed into a different shape when they are converted internally. It helps ensure rules using dynamic values continue to behave as intended, reducing the risk of incorrect filtering or evaluation.
Miscellaneous changes
Versions: --------- - 15.0+ Issue: ------ Depending on the font, string & window size, the `oe_search_box` placeholder may get cropped awkwardly. Example:  Cause: ------ The search field can't guarantee adequate width to show the full placeholder string. Solution: --------- Add `text-overflow: ellipsis` CSS rule for `oe_search_box` elements to make it clear the pl
Original PR description
Versions: --------- - 15.0+ Issue: ------ Depending on the font, string & window size, the `oe_search_box` placeholder may get cropped awkwardly. Example:  Cause: ------ The search field can't guarantee adequate width to show the full placeholder string. Solution: --------- Add `text-overflow: ellipsis` CSS rule for `oe_search_box` elements to make it clear the placeholder was cropped. Related: -------- - https://github.com/odoo/enterprise/pull/47671 - https://github.com/odoo/enterprise/pull/48973 opw-3504281 Forward-Port-Of: odoo/odoo#135801
The mobile website menu now adjusts to the visible browser area, so visitors can see the full menu even when browser controls take up screen space. This improves navigation on phones and helps prevent users from missing menu options.
Original PR description
Prior to this commit, on mobile, we couldn't see the entire offcanvas menu because the browser's UI was hidding part of it. To fix that, this commit adapts the height of the offcanvas menu using `dvh` unit. task-3582657 | Before | After | |--------|--------| | |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The employee CV report layout has been adjusted so information lines up correctly. This makes printed or exported CVs easier to read and more professional for HR use.
Original PR description
task-3582107
The mail app now waits to load the out-of-focus message notification sound until it actually needs to play. This avoids unnecessary loading during normal use and can slightly improve responsiveness for users who never trigger the sound.
Original PR description
There is no reason to load this sound until it should be played.
The point of sale product screen now handles category images and input buttons more reliably across different screen sizes. Category images are hidden when space is limited, making the sales interface clearer and easier to use on compact displays.
This fixes an internal mismatch in how Point of Sale order setup logic is extended for employee and restaurant features. It helps prevent avoidable errors and keeps these POS features aligned with the core order process.
Original PR description
Prior to this commit, the patched setup functions of Order did not match the original signature.
This fix ensures time off accrual plan levels calculate their value type correctly when additional levels are created. It helps prevent setup issues for HR teams managing multi-level leave accrual policies.
Original PR description
Before this commit, the `added_value_type` field wasn't properly computed in the `hr.accrual.plan.level` model resulting in some issues upon the creation of a second level.
Domain fields now update their validation status correctly after edits in debug mode. Invalid folded domain fields are also shown more safely, avoiding errors and making the issue visible without disrupting the user.
Original PR description
First commit changes the behavior of the domain field such that it performs a quick validation of the domain after it has been edited in the debug input. This solves an issue where the isValid state was not properly updated after debug input edition. Second commit fixes an issue with the domain field where a traceback would be launched when an invalid domain is received. It also changes how invalid domains are displayed in foldable domain fields so that only the content of the domain selector component is displayed in this case. forward port of https://github.com/odoo/odoo/pull/139593
This update hides the recurring leaves count field from the maintenance views in normal operation, keeping it visible only for developers in debug mode. This cleanup improves the user interface by removing unnecessary technical details from the standard maintenance screens.
Original PR description
except for debug mode
The 'Discard' and 'Save' buttons in the Create Workspace wizard were overlapping. This fix adds proper spacing between the buttons so they no longer collide, improving the user experience when creating new workspaces.
Original PR description
**Before this PR:** The 'Discard' button was colliding with the 'Save' button in the 'Create Workspace' wizard. **After this PR:** There will be proper space between both buttons. **Task**-3537818 Forward-Port-Of: odoo/enterprise#50059 Forward-Port-Of: odoo/enterprise#49701
A technical configuration flag was accidentally omitted from a function in the POS Preparation Display module during a recent update. This fix restores the missing API model designation to ensure the function works correctly with Odoo's system architecture.
Original PR description
Add api.model flag to a function. It was forgotten in a last commit.
A keyboard shortcut used for urgent tickets in the helpdesk dashboard was conflicting with a menu shortcut due to recent system changes. This fix reassigns the urgent tickets shortcut to a different key combination to resolve the conflict and ensure both features work properly.
Original PR description
This commit changes the shortcut for the urgent tickets in the helpdesk dashboard view because this shortcut is now already used by the cog menu due to changes made in https://github.com/odoo/odoo/pull/140097. task-3560446 Forward-Port-Of: odoo/enterprise#49914
=== ISSUE 1 === Prior to this commit, card colors in the index list were static, creating a contrast issue if the page background color changed. This commit fixes this issue. === ISSUE 2 === Prior to this commit, the popover text color and the shadow created color issues when the background color of the page was dark. To fix that and maintain consistency, we use the common Bootstrap shadow and force the text color to be dark. task-3097005 Part of task-3097005 | Before | After |
Original PR description
=== ISSUE 1 === Prior to this commit, card colors in the index list were static, creating a contrast issue if the page background color changed. This commit fixes this issue. === ISSUE 2 === Prior to…
=== ISSUE 1 === Prior to this commit, card colors in the index list were static, creating a contrast issue if the page background color changed. This commit fixes this issue. === ISSUE 2 === Prior to this commit, the popover text color and the shadow created color issues when the background color of the page was dark. To fix that and maintain consistency, we use the common Bootstrap shadow and force the text color to be dark. task-3097005 Part of task-3097005 | Before | After | |--------|--------| |  |  | |  |  | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#138922
**Current behavior before PR:** Message type of rating messages for Livechat Session in demo data was not set, which led it to set default type `email`. Which would lead to display the `Show/hide original email` button. **Desired behavior after PR is merged:** Set `message_type` as `notification`. task-3502745 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140902
Original PR description
**Current behavior before PR:** Message type of rating messages for Livechat Session in demo data was not set, which led it to set default type `email`. Which would lead to display the `Show/hide original email` button. **Desired behavior after PR is merged:** Set `message_type` as `notification`. task-3502745 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140902
This commit forces the color of all buttons in the header to have a better-look consistency. Steps to reproduce: * Open Odoo on small screen * Go to Sale * Create a new SO * Click on customer field to open the Kanban view => BUG the clear button is not visible (enterprise) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140921
Original PR description
This commit forces the color of all buttons in the header to have a better-look consistency. Steps to reproduce: * Open Odoo on small screen * Go to Sale * Create a new SO * Click on customer field to open the Kanban view => BUG the clear button is not visible (enterprise) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140921
Before this commit service threshold value for 'unit' unit of measure display (1 unit = 8.00 hours) but since https://github.com/odoo/odoo/pull/99785 PR we take 1 unit equals to 1 hours not 8 hours. This commit display (1 unit = 1.00 hour, 1 unit = 0.12 day) to display proper value according to calculation. task-3282848 Forward-Port-Of: odoo/odoo#119159
Original PR description
Before this commit service threshold value for 'unit' unit of measure display (1 unit = 8.00 hours) but since https://github.com/odoo/odoo/pull/99785 PR we take 1 unit equals to 1 hours not 8 hours. This commit display (1 unit = 1.00 hour, 1 unit = 0.12 day) to display proper value according to calculation. task-3282848 Forward-Port-Of: odoo/odoo#119159
fix typo in #119813 for ormcache 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 Forward-Port-Of: odoo/odoo#140946
Original PR description
fix typo in #119813 for ormcache 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 Forward-Port-Of: odoo/odoo#140946
When we're exiting the import view, we need to have ids of the imported records to confirm that the import was successful and to filter on import records if needed. This commit adds an optional resIds parameter. task-3549609 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140841 Forward-Port-Of: odoo/odoo#138364
Original PR description
When we're exiting the import view, we need to have ids of the imported records to confirm that the import was successful and to filter on import records if needed. This commit adds an optional resIds parameter. task-3549609 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140841 Forward-Port-Of: odoo/odoo#138364
Steps to reproduce: - Install Sale and Purchase and enable UoM - Change 'Acoustic bloc screen' purchase UoM to dozen - Create a PO for that product - Access the product page from PO line - Wrong Sales price Bug: the jsonrpc to read product data needlesslt sends the UoM in the context which leads to the sales price being updated by _compute_product_lst_price Fix: remove UoM from procut context as it is not necessary opw-3434574 Forward-Port-Of: odoo/odoo#140873 Forward-Port-Of: o
Original PR description
Steps to reproduce: - Install Sale and Purchase and enable UoM - Change 'Acoustic bloc screen' purchase UoM to dozen - Create a PO for that product - Access the product page from PO line - Wrong Sales price Bug: the jsonrpc to read product data needlesslt sends the UoM in the context which leads to the sales price being updated by _compute_product_lst_price Fix: remove UoM from procut context as it is not necessary opw-3434574 Forward-Port-Of: odoo/odoo#140873 Forward-Port-Of: odoo/odoo#138495
**Before this commit** Open some popover then a dialog. The popover appears in front on the dialog. Examples: - Calendar > Click an event (popover opens) > Open command palette - Open a facet domain editor dialog in any app, then open any model field selector popover and open the command palette **After this commit** Each first-level child of the overlay container starts with the same z-index and with a value that is greater than the higher value we can find in the bootstrap z-inde
Original PR description
**Before this commit** Open some popover then a dialog. The popover appears in front on the dialog. Examples: - Calendar > Click an event (popover opens) > Open command palette - Open a facet domain editor dialog in any app, then open any model field selector popover and open the command palette **After this commit** Each first-level child of the overlay container starts with the same z-index and with a value that is greater than the higher value we can find in the bootstrap z-index master list. This solves the aforementioned overlaping issues. Forward-Port-Of: odoo/odoo#140875
When we add a many2many field related to Project, an error is thrown when we add 2 or more projects Steps to reproduce: 1. Install CRM, Project and Studio 2. Go to CRM and open any quotation 3. Trigger Studio 4. Add a many2many field related to the Project model 5. Close Studio 6. On the CRM form, click on Add a line and select 2 projects, the 2 projects must have the same sequence (new projects will have a sequence of 10) 7. An error is thrown Problem: The "name" field used in the
Original PR description
When we add a many2many field related to Project, an error is thrown when we add 2 or more projects Steps to reproduce: 1. Install CRM, Project and Studio 2. Go to CRM and open any quotation 3. Trigger Studio 4. Add a many2many field related to the Project model 5. Close Studio 6. On the CRM form, click on Add a line and select 2 projects, the 2 projects must have the same sequence (new projects will have a sequence of 10) 7. An error is thrown Problem: The "name" field used in the order of the list view for project was not present in the view so there was an error when trying to sort the list by this field opw-3526101 Forward-Port-Of: odoo/odoo#140492 Forward-Port-Of: odoo/odoo#139060
To reproduce: - Install studio and account. - Invoicing/Accounting, menu Customer > Invoices - Activate kanban view - Put filter "My Invoices" - Enter studio mode => There is a traceback in the logs, even if not shown in the view. When entering studio in kanban, a card with default values is created. The problem was that the journal wasn't computed, and so, broke the onchange_partner_id function It was because move_type, while being in the default, wasn't in the view, and so wasn't i
Original PR description
To reproduce: - Install studio and account. - Invoicing/Accounting, menu Customer > Invoices - Activate kanban view - Put filter "My Invoices" - Enter studio mode => There is a traceback in the logs, even if not shown in the view. When entering studio in kanban, a card with default values is created. The problem was that the journal wasn't computed, and so, broke the onchange_partner_id function It was because move_type, while being in the default, wasn't in the view, and so wasn't in the values given by the js. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140890
Current behavior: When the user language uses a different decimal separator than the "." (dot), the tip amount is not formatted correctly and the amount is incorrect. e.g. 1.5 is interpreted as 15.0 Steps to reproduce: - Change the current language decimal separator to "," (comma) and thousand separator to "." (dot) - Open restaurant (make sure tip after payment is enabled) - Add a product to the order - Pay by bank - Click on tip 20% - The tip amount is incorrect (too high) opw-352
Original PR description
Current behavior: When the user language uses a different decimal separator than the "." (dot), the tip amount is not formatted correctly and the amount is incorrect. e.g. 1.5 is interpreted as 15.0 Steps to reproduce: - Change the current language decimal separator to "," (comma) and thousand separator to "." (dot) - Open restaurant (make sure tip after payment is enabled) - Add a product to the order - Pay by bank - Click on tip 20% - The tip amount is incorrect (too high) opw-3525033 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#140553
**Steps:** - Open Settings > Users - Change the name of the user by typing it multiple times - Go to the portal view of the website - Among the Documents select Task > select a task where our user is set as an employee **Issue:** - When that particular task is chosen, under the Timesheets, the name is found repeatedly in the table. **Cause:** - The text is not truncated due to which the name overflows. **Fix:** - adding a class 'o_portal_my_doc_table' in the table which helps to
Original PR description
**Steps:** - Open Settings > Users - Change the name of the user by typing it multiple times - Go to the portal view of the website - Among the Documents select Task > select a task where our user is set as an employee **Issue:** - When that particular task is chosen, under the Timesheets, the name is found repeatedly in the table. **Cause:** - The text is not truncated due to which the name overflows. **Fix:** - adding a class 'o_portal_my_doc_table' in the table which helps to truncate the text **Task:** 3383519 Forward-Port-Of: odoo/odoo#140776 Forward-Port-Of: odoo/odoo#126414
If the web client gets into a bad state and piles on errors (or exceptions) this leads to a mess with hundreds of kilobytes of warnings being logged as we try to set an already failed tour to failed (and also take screenshots), as in http://runbot142.odoo.com/runbot/static/build/53098209-master/logs/test_only.txt Also update `has_failure` to directly depend on an exception being set, as that should be a more reliable indicator. And much like the case of an error log skip trying to set the to
Original PR description
If the web client gets into a bad state and piles on errors (or exceptions) this leads to a mess with hundreds of kilobytes of warnings being logged as we try to set an already failed tour to failed (and also take screenshots), as in http://runbot142.odoo.com/runbot/static/build/53098209-master/logs/test_only.txt Also update `has_failure` to directly depend on an exception being set, as that should be a more reliable indicator. And much like the case of an error log skip trying to set the tour to failed in `_set_exception` if it's already failed. Although in that case do log the traceback as an `error`. Forward-Port-Of: odoo/odoo#140759 Forward-Port-Of: odoo/odoo#140464
Steps: - Install Field Service - Open the Field Service module - Click on the configuration - Go to the Worksheet Template - Now go to the kanban view - In view, Click on dropdown menu of any card Issue: - In kanban view, when we are viewing in dropdown menu colors are not correctly centered. Fix: - Added in kanban color picker mb-0 & ms-3 for margin space from bottom & left. Task-3508241 Forward-Port-Of: odoo/odoo#135644
Original PR description
Steps: - Install Field Service - Open the Field Service module - Click on the configuration - Go to the Worksheet Template - Now go to the kanban view - In view, Click on dropdown menu of any card Issue: - In kanban view, when we are viewing in dropdown menu colors are not correctly centered. Fix: - Added in kanban color picker mb-0 & ms-3 for margin space from bottom & left. Task-3508241 Forward-Port-Of: odoo/odoo#135644
This commit adds the "alt+u" shortcut to open the cog menu in order to match with the behavior of the actions menu. task-3560446 Forward-Port-Of: odoo/odoo#140097
Original PR description
This commit adds the "alt+u" shortcut to open the cog menu in order to match with the behavior of the actions menu. task-3560446 Forward-Port-Of: odoo/odoo#140097
Forward-Port-Of: odoo/enterprise#49885 Forward-Port-Of: odoo/enterprise#49556
Original PR description
Forward-Port-Of: odoo/enterprise#49885 Forward-Port-Of: odoo/enterprise#49556