Wednesday, October 18, 2023
19 changes · master
Enhancements to existing features
Customer-facing PDFs and portal previews now show a simpler amount column instead of separate tax-included and tax-excluded columns. This makes tax presentation more consistent and easier for customers to understand after related settings were merged.
Original PR description
In this pr: https://github.com/odoo/enterprise/pull/30853 we've merged two settings into one to make Tax calculation & display more coherent. In the case of a "Tax per line" computation, the column "Tax Included" is optional=hide in the backend, but we've elected to put it in the PDF all the time. This task we will only change the pdf and portal (preview): 1. Remove the "Tax Incl" column on all relevant templates (pdf/portal). 2. Rename the "Tax Excl" column to "Amount". task-3552656
Resolved issues and error corrections
The Helpdesk settings text was corrected to add a missing space and use clearer wording for the email alias option. This makes the setup guidance easier for users to read and understand when configuring alias domains.
Original PR description
In this PR we have fix the missing space between tip and the link to set up the alias domain and also renamed use alias with email alias task-3463622
Code cleanup and technical improvements
This update aligns several Point of Sale localization and messaging modules with a simplified receipt printing structure. It is an internal cleanup that helps keep receipt printing compatible and easier to maintain, with no expected change to daily POS workflows.
Original PR description
pos*: - `l10n_cl_edi_pos` - `l10n_de_pos_cert` - `pos_l10n_se` - `whatsapp_pos` In the corresponding community pr we simplify the pos receipt. Among other changes, the receipt is not a component instead of a simple template. It thus takes `props`. In this commit we change the references to the old environment variable to references to the new props. Community PR: https://github.com/odoo/odoo/pull/137397 Task link: https://www.odoo.com/web#model=project.task&id=3547597 Task: 3547597
Miscellaneous changes
With Thailand Localization enabled Create a credit note for an existing invoice Go to Accounting > Reporting > Tax Report Click "VAT-202-01 (XLSX)" Issue: The credit note is added to the total when it should be subtracted. opw-3497117 Forward-Port-Of: odoo/enterprise#48465
Original PR description
With Thailand Localization enabled Create a credit note for an existing invoice Go to Accounting > Reporting > Tax Report Click "VAT-202-01 (XLSX)" Issue: The credit note is added to the total when it should be subtracted. opw-3497117 Forward-Port-Of: odoo/enterprise#48465
A minor wording issue was corrected in marketing automation messaging, changing "interested for becoming" to the grammatically correct "interested in becoming." This improves the professionalism and clarity of customer-facing campaign text.
Original PR description
Commit fixes grammatical issue. Example: `Azure Interior is interested for becoming a partner.` will be replaced by: `Azure Interior is interested in becoming a partner.`
Fixed an issue in the manufacturing work order flow where saving from the quality check production registration button could fail. This helps operators complete quality checks and production registration more reliably without workflow interruptions.
Original PR description
Fix to ensure that calling save() works on model.root.records which is now an Array of Proxy(Record) and not simply a Proxy(Record).
This work-in-progress change adjusts an automated test for spreadsheet chart settings in Documents. It is intended to improve test reliability and does not introduce a direct user-facing change.
Original PR description
WIP - Please ignore this PR
This update replaces older date and time handling with newer shared utilities across several Odoo areas. It helps keep the platform easier to maintain while preserving expected behavior for users working with documents, barcode flows, and VoIP-related activity data.
Original PR description
The purpose of this commit is to delete the legacy/js/core/time.js file. We have therefore replaced all calls to time.js with the l10N/date.js utilities. Part of task 3439226
Steps to reproduce --- 1. Install Project and Documents. 2. Create a project with the documents feature enabled and take note of the workspace name. 3. Duplicate the project. 4. Go to Documents > Workspace, you will see that there are two copies of the original workspace. --- This occurs because, although the project_workspace is set as `copy=False`, the `copy` methods calls the `create` method, in which we automatically create folders for new projects unless there is the context ke
Original PR description
Steps to reproduce --- 1. Install Project and Documents. 2. Create a project with the documents feature enabled and take note of the workspace name. 3. Duplicate the project. 4. Go to Documents > Workspace, you will see that there are two copies of the original workspace. --- This occurs because, although the project_workspace is set as `copy=False`, the `copy` methods calls the `create` method, in which we automatically create folders for new projects unless there is the context key `no_create_folder=False`. This PR fixes the issue by temporarily adding that context key to the context, until the call to create is made. Task-3491191 Forward-Port-Of: odoo/enterprise#47457
This commit resolves an issue where payroll officers were encountering an access error when attempting to open the payroll app for a Belgiam company. The problem was addressed by including the necessary payroll officer rights within the l10n_be_hr_payroll module. task : 3497448 Forward-Port-Of: odoo/enterprise#48742 Forward-Port-Of: odoo/enterprise#48010
Original PR description
This commit resolves an issue where payroll officers were encountering an access error when attempting to open the payroll app for a Belgiam company. The problem was addressed by including the necessary payroll officer rights within the l10n_be_hr_payroll module. task : 3497448 Forward-Port-Of: odoo/enterprise#48742 Forward-Port-Of: odoo/enterprise#48010
Add a smart button on child assets, to retrieve the parent. Remove the New button on child assets Only show the form view if only one gross increase. task-3531619 Forward-Port-Of: odoo/enterprise#48638
Original PR description
Add a smart button on child assets, to retrieve the parent. Remove the New button on child assets Only show the form view if only one gross increase. task-3531619 Forward-Port-Of: odoo/enterprise#48638
Versions: --------- - saas-16.4 - master Steps to reproduce: ------------------- 1. go to Planning / Settings; 2. enable Project Planning; 3. go to Planning / Schedule / By Resource; 4. click New; 5. create a new project via the form and save; 6. click New again; 7. try to find the recently created project. Issue: ------ The project you just created is nowhere to be found. Cause: ------ https://github.com/odoo/odoo/pull/122144 removed the requirement for projects to have
Original PR description
Versions: --------- - saas-16.4 - master Steps to reproduce: ------------------- 1. go to Planning / Settings; 2. enable Project Planning; 3. go to Planning / Schedule / By Resource; 4. click New; 5.…
Versions:
---------
- saas-16.4
- master
Steps to reproduce:
-------------------
1. go to Planning / Settings;
2. enable Project Planning;
3. go to Planning / Schedule / By Resource;
4. click New;
5. create a new project via the form and save;
6. click New again;
7. try to find the recently created project.
Issue:
------
The project you just created is nowhere to be found.
Cause:
------
https://github.com/odoo/odoo/pull/122144 removed the requirement for projects to have a `company_id`, so by default this field is False.
Planning still requires a `company_id` and the `project_id` field assumes `project.project` does so as well, as its domain is `[('company_id', '=', company_id)]`
Solution:
---------
The field already has `check_company=True` enabled which automatically adds the desired domain check allowing `('company_id', '=', False)` as of https://github.com/odoo/odoo/commit/0d30cc2bc9b9cc2b805d6c2d0a440f185c648da0, so removing the more restrictive domain in the field definition solves the issue.
opw-3519857
Forward-Port-Of: odoo/enterprise#48813This commit is the enterprise side of this: odoo/odoo#135142 It modifies a test to ensure custom GS1 separators are correctly used client side. Community PR: odoo/odoo#135142 Forward-Port-Of: odoo/enterprise#48487 Forward-Port-Of: odoo/enterprise#47292
Original PR description
This commit is the enterprise side of this: odoo/odoo#135142 It modifies a test to ensure custom GS1 separators are correctly used client side. Community PR: odoo/odoo#135142 Forward-Port-Of: odoo/enterprise#48487 Forward-Port-Of: odoo/enterprise#47292
When we pass our mouse on the connected until widget if the text is too big for the place in the div, the widget flickers. It's not visually pleasant. We fix the issue by using a `text-nowrap` class on the div. NB: To fix completed the flickering, we have to remove the useless d-flex on the main div. To avoid breaking the stable policies, we'll fixing it in master only. task-id: 3556087 Forward-Port-Of: odoo/enterprise#48997
Original PR description
When we pass our mouse on the connected until widget if the text is too big for the place in the div, the widget flickers. It's not visually pleasant. We fix the issue by using a `text-nowrap` class on the div. NB: To fix completed the flickering, we have to remove the useless d-flex on the main div. To avoid breaking the stable policies, we'll fixing it in master only. task-id: 3556087 Forward-Port-Of: odoo/enterprise#48997
- Install l10n_es_reports - Go to Accounting/Configuration/Accounting Reports (in debug) - Go to PYMES Balance Sheet - You see the Accounts Coverage Report while you don't have the right COA. => If availability_condition is 'coa', check the COA. It will be especially important when we do the same for SYSCOHADA, where we don't have any country, but we have a COA, in task 3456480 Forward-Port-Of: odoo/enterprise#48966 Forward-Port-Of: odoo/enterprise#47933
Original PR description
- Install l10n_es_reports - Go to Accounting/Configuration/Accounting Reports (in debug) - Go to PYMES Balance Sheet - You see the Accounts Coverage Report while you don't have the right COA. => If availability_condition is 'coa', check the COA. It will be especially important when we do the same for SYSCOHADA, where we don't have any country, but we have a COA, in task 3456480 Forward-Port-Of: odoo/enterprise#48966 Forward-Port-Of: odoo/enterprise#47933
Steps to reproduce the error: 1. Enable the developer mode. 2. Go in "Settings" > "Technical" > "Template" in the Knowledge section. 3. Delete all templates. 4. Go on Knowledge. 5. Click on the "Browse Templates" button. => An error is thrown because the `onMounted` hook defined in the dialog of the template gallery tries to access an element that is not present in the dom. TO BE: The system should not display any error message. Instead, the template dialog should open, informing the
Original PR description
Steps to reproduce the error: 1. Enable the developer mode. 2. Go in "Settings" > "Technical" > "Template" in the Knowledge section. 3. Delete all templates. 4. Go on Knowledge. 5. Click on the "Browse Templates" button. => An error is thrown because the `onMounted` hook defined in the dialog of the template gallery tries to access an element that is not present in the dom. TO BE: The system should not display any error message. Instead, the template dialog should open, informing the user that there is no templates available. task-3542906 Forward-Port-Of: odoo/enterprise#48546
If one imports journal items with a file, where one of the move_id name has a long number, e.g. SAL/2021/123454234587345, the import fails when creating a move with such a big sequence number. Limiting length of the sequence number fixes the issue task-3549609 Forward-Port-Of: odoo/enterprise#48794
Original PR description
If one imports journal items with a file, where one of the move_id name has a long number, e.g. SAL/2021/123454234587345, the import fails when creating a move with such a big sequence number. Limiting length of the sequence number fixes the issue task-3549609 Forward-Port-Of: odoo/enterprise#48794
This commit's purpose is to place a bit more space between the tags and the name of the product in the products catalog for fsm tasks. details of the implementation : The margin and padding did not have any effect on the 'strong' and the 'span' tag. The 'priority' widget was moved instead. Since adding marging/padding to it was moving the whole div and not only the widget, the d-flex class was added to the container div. task - 3489879 https://www.odoo.com/web#id=3489879&menu_id=4720&
Original PR description
This commit's purpose is to place a bit more space between the tags and the name of the product in the products catalog for fsm tasks. details of the implementation : The margin and padding did not have any effect on the 'strong' and the 'span' tag. The 'priority' widget was moved instead. Since adding marging/padding to it was moving the whole div and not only the widget, the d-flex class was added to the container div. task - 3489879 https://www.odoo.com/web#id=3489879&menu_id=4720&cids=1&action=333&active_id=4105&model=project.task&view_type=form Forward-Port-Of: odoo/enterprise#48172
Steps to reproduce - in the CRM pivot view, group by create_date > saleperson - insert in a spreadsheet - Try to autofill this formula: =PIVOT.HEADER(1,"create_date:month","04/2022","#user_id",2) => boom That's because only `["#user_id", 2]` was given to `getDisplayedPivotHeaderValue`, instead of the full group path `["create_date:month","04/2022","#user_id",2]` Task: 2886599 Forward-Port-Of: odoo/enterprise#48825 Forward-Port-Of: odoo/enterprise#48797
Original PR description
Steps to reproduce - in the CRM pivot view, group by create_date > saleperson - insert in a spreadsheet - Try to autofill this formula: =PIVOT.HEADER(1,"create_date:month","04/2022","#user_id",2) => boom That's because only `["#user_id", 2]` was given to `getDisplayedPivotHeaderValue`, instead of the full group path `["create_date:month","04/2022","#user_id",2]` Task: 2886599 Forward-Port-Of: odoo/enterprise#48825 Forward-Port-Of: odoo/enterprise#48797