Thursday, June 2, 2022
12 changes
Enhancements to existing features
The quotation template form is reorganized to make Terms and Conditions easier to find in its own tab. The validity setting is also renamed from "Quotation expires after" to "Quotation Validity," making the wording clearer for sales teams configuring quotes.
Original PR description
- Create a tab for Terms and Conditions - Rename `Quotation expires after` to `Quotation Validity` taskid-2831317
Spreadsheet formulas created when inserting or autofilling lists and pivots now omit unnecessary quotes around numeric IDs. This makes formulas easier to read and keeps generated spreadsheet content more consistent.
Original PR description
### Task Description
When insterting a pivot/list in a spreadsheed, we got formula like `'=PIVOT("1","foo","true","record_id","1")` and `"=LIST("1","2","foo"),` where the IDs are encapsulated between quotes.
The aim of this task is to remove these quotes in the formulas when the values is a number (pivot ID, list ID, record ID, ...) as they are not necessary anymore and can make the formula less-readable.
To be consistent, the quote has also been removed from the autofill of pivots/lists, as well as the pivot template.
### Related Task
task-[2832354](https://www.odoo.com/web#id=2832354&view_type=form&model=project.task)This updates an internal Web Studio test so it matches a recent change in how the messaging area is reached. It helps keep automated quality checks reliable without changing what users see or do.
The Belgian VAT report export no longer includes grid 91 because the related VAT advance payment requirement has been abolished by the government. This keeps the report aligned with current regulations and removes an obsolete field that would no longer be used.
Original PR description
The vat advance payment possibility has been abolished by the government. As such, grid91 will never be filled and can be removed. So this commit removes all mentions of grid91. task-2790435
Resolved issues and error corrections
Spreadsheet currency rate lookups now use the same date logic as currency rates created by users, including the creator's time zone. This helps prevent incorrect exchange rates from being used around date boundaries, improving accuracy for financial reporting.
Original PR description
The defaut `name` (which is a Date) of a `res.currency.rate` is computed based on its creator's TZ. The look up of currency rates in spreadsheet should follow the same logic. Task 2869705
Miscellaneous changes
This PR fixes an issue in the `project.task` where the `progress` of the gantt view was not working. task-2870726 Forward-Port-Of: odoo/enterprise#27980
Original PR description
This PR fixes an issue in the `project.task` where the `progress` of the gantt view was not working. task-2870726 Forward-Port-Of: odoo/enterprise#27980
Forward-Port-Of: odoo/enterprise#27924
Original PR description
Forward-Port-Of: odoo/enterprise#27924
Steps to reproduce: 1- install accounting, account_disaalowed_expenses_fleet 2- set a disallowed expense category on an expense account 3- create a bill and set an the expense account 4- Connect as a billing profile 5- error about access rights linked to disallowed expense category Bug: the billing user doesn't have access to disallowed_expenses_category_id accessed to set need_vehicle Fix: sudo :) OPW-2811266 Forward-Port-Of: odoo/enterprise#27269 Forward-Port-Of: odoo/ent
Original PR description
Steps to reproduce: 1- install accounting, account_disaalowed_expenses_fleet 2- set a disallowed expense category on an expense account 3- create a bill and set an the expense account 4- Connect as a billing profile 5- error about access rights linked to disallowed expense category Bug: the billing user doesn't have access to disallowed_expenses_category_id accessed to set need_vehicle Fix: sudo :) OPW-2811266 Forward-Port-Of: odoo/enterprise#27269 Forward-Port-Of: odoo/enterprise#26992
- in a spreadsheet, right click - insert Link - insert Odoo menu - Settings/Gamification Tools/Challenges - Confirm => boom The "Challenges" menu is only available in debug mode (base.group_no_one) but the group is not actually on the menu itself but on its parent. Hence, you can select it with the many2one field but the web client didn't load it. Task 2836745 Forward-Port-Of: odoo/enterprise#27903 Forward-Port-Of: odoo/enterprise#27654
Original PR description
- in a spreadsheet, right click - insert Link - insert Odoo menu - Settings/Gamification Tools/Challenges - Confirm => boom The "Challenges" menu is only available in debug mode (base.group_no_one) but the group is not actually on the menu itself but on its parent. Hence, you can select it with the many2one field but the web client didn't load it. Task 2836745 Forward-Port-Of: odoo/enterprise#27903 Forward-Port-Of: odoo/enterprise#27654
Steps to reproduce the product: - Enable “Work Orders” option in MRP settings - Create a storable product “P1” with BOM: - BOM type: Manufacture this product - operations: “OP1” - Components: product “C1” consumed in the operation “OP1 - Create an ECO for “P1”: - Type: New Product Introduction - Apply on; Bill Of materials - Click on “Start Revision” Problem: A BOM change will be created for the component “C1” where it will be added and removed. When cre
Original PR description
Steps to reproduce the product: - Enable “Work Orders” option in MRP settings - Create a storable product “P1” with BOM: - BOM type: Manufacture this product - operations: “OP1” - Components: product…
Steps to reproduce the product:
- Enable “Work Orders” option in MRP settings
- Create a storable product “P1” with BOM:
- BOM type: Manufacture this product
- operations: “OP1”
- Components: product “C1” consumed in the operation “OP1
- Create an ECO for “P1”:
- Type: New Product Introduction
- Apply on; Bill Of materials
- Click on “Start Revision”
Problem:
A BOM change will be created for the component “C1” where it will be added and removed.
When creating an ECO, a copy of the original BOM will be created,
and then we compare the BOM lines of the two BOMs if they are identical (product, qty and operation)
but as the operation has been duplicated therefore created with a different ID,
the two lines will not be identical and a distorted change in the BOM will be detected
Solution:
- It is better to compare the fields of the operations instead of their ID to detect if a change has been made in the BOM
- When modifying the revision BOM so that a component is consumed in another operation than the original one,
a BOM line changes type “Remove” and “Add” will be added,
because we cannot detect that an update has been made, imagine we have the following BOM:
1:/ old_bom to produce “product A”:
Components:
“Product B” - 1 unit - operation 1 (id = 1)
“Product B” - 1 unit - operation 2 (id= 2)
-------------------------------------------------- -----------------
2:/ new_bom == copy of (old_bom)
Components:
Product B - 1 unit - Operation 1 (id = 3)
Product B - 1 unit - operation 2 (id= 4)
-------------------------------------------
Operation 1 (id=1) == Operation 1 (id=3)
Operation 2 (id = 2) == Operation (id = 4)
So as the product is the same in the two BOM lines, if we change the two operations at the same time,
we cannot check which line exactly was changed.
opw-2823253
opw-2809586
opw-2833083
https://user-images.githubusercontent.com/78867936/168627303-fa808618-5a76-49ae-9ddf-8da588abe995.mp4
Forward-Port-Of: odoo/enterprise#27723
Forward-Port-Of: odoo/enterprise#27391The fields of the wizard have been asked to been added to the pdf in the attachment too. They are now added in its header. task-2790447 Forward-Port-Of: odoo/enterprise#25386
Original PR description
The fields of the wizard have been asked to been added to the pdf in the attachment too. They are now added in its header. task-2790447 Forward-Port-Of: odoo/enterprise#25386
This PR updates the tests for Belgian reports to fit the new tax names Community PR: https://github.com/odoo/odoo/pull/92553 Forward-Port-Of: odoo/enterprise#27909
Original PR description
This PR updates the tests for Belgian reports to fit the new tax names Community PR: https://github.com/odoo/odoo/pull/92553 Forward-Port-Of: odoo/enterprise#27909