Daily updates from Odoo
Navigate
Branch
Monday, June 14, 2021
7 changes
Code cleanup and technical improvements
This update removes outdated cookie handling that is no longer used during file downloads across several Odoo apps. It simplifies the codebase and reduces unnecessary browser cookie activity without changing expected user workflows.
Original PR description
This cookies is not more used since 35d452cffbb1554c70f0acba85dfc4ef472f544c
Miscellaneous changes
The minimum length of a phone number being set to 10, it wasn't possible to internally transfer a call (internal numbers being shorter). This commit removes the minimum characters constraint so that we can transfer a call to a number as short as an internal number. Forward-Port-Of: odoo/enterprise#18996
Original PR description
The minimum length of a phone number being set to 10, it wasn't possible to internally transfer a call (internal numbers being shorter). This commit removes the minimum characters constraint so that we can transfer a call to a number as short as an internal number. Forward-Port-Of: odoo/enterprise#18996
According to Easypost API, the field RecipientContact/ContactName must be a string containing from 1 to 25 characters. We should therefore truncate the value of field name or display_name in case it is too long. opw-2526880 Forward-Port-Of: odoo/enterprise#18957
Original PR description
According to Easypost API, the field RecipientContact/ContactName must be a string containing from 1 to 25 characters. We should therefore truncate the value of field name or display_name in case it is too long. opw-2526880 Forward-Port-Of: odoo/enterprise#18957
To avoid VAT error on write, was changed the order, to first write the country and after the VAT. This fixes: ``` The VAT number [EKU9003173C9] for partner [company_1_data] does not seem to be valid. Note: the expected format is 'CC##' (CC=Country Code, ##=VAT Number) ``` Forward-Port-Of: odoo/enterprise#17543
Original PR description
To avoid VAT error on write, was changed the order, to first write the country and after the VAT. This fixes: ``` The VAT number [EKU9003173C9] for partner [company_1_data] does not seem to be valid. Note: the expected format is 'CC##' (CC=Country Code, ##=VAT Number) ``` Forward-Port-Of: odoo/enterprise#17543
Before this commit, the user cannot select a project with a pricing_type different to task rate. The reason of this it is because we give the same domain than the one in the project_id field. This commit removes the updated domain for project_template_id in product.product model in industry_fsm_sale module. Then, the user will be able to select project with pricing_type different to task rate as it was the case before. X-original-commit: 1e088641f4555ff3455f55499eeed3a5ea62483b Ste
Original PR description
Before this commit, the user cannot select a project with a pricing_type different to task rate. The reason of this it is because we give the same domain than the one in the project_id field. This…
Before this commit, the user cannot select a project with a pricing_type different to task rate. The reason of this it is because we give the same domain than the one in the project_id field. This commit removes the updated domain for project_template_id in product.product model in industry_fsm_sale module. Then, the user will be able to select project with pricing_type different to task rate as it was the case before. X-original-commit: 1e088641f4555ff3455f55499eeed3a5ea62483b Step to reproduce: ----------------- 1) create basic project A with a SOL set. 2) Create a service product with service_tracking='task_in_project' 3) Try select the project A in project_template_id. Actual behaviour: ---------------- The project A is not shown because it is not a fsm project or project with pricing_type='task_rate'. Expected behaviour: ------------------ The project A should be shown in project_template_id because we want the basic project with pricing type different to task rate. That is a project with SOL and/or an employee mapping. Forward-Port-Of: odoo/enterprise#18955
1. Create a bank statement with a line with partner assigned 2. Go to reconciliation and clear the partner filter 3. Other reconcilable documents fail to appear If you clear the partner field it will continue to display as if the partner is still selected rather than allowing you to choose from all possible reconcilable documents. opw-2465699 Forward-Port-Of: odoo/enterprise#18900
Original PR description
1. Create a bank statement with a line with partner assigned 2. Go to reconciliation and clear the partner filter 3. Other reconcilable documents fail to appear If you clear the partner field it will continue to display as if the partner is still selected rather than allowing you to choose from all possible reconcilable documents. opw-2465699 Forward-Port-Of: odoo/enterprise#18900
quality.alert default is "New", on create it is transformed to sequence number (eg. "QA00002"). issue: duplicate copy the name without incrementing sequence opw-2525709 opw-2566499 Forward-Port-Of: odoo/enterprise#18964
Original PR description
quality.alert default is "New", on create it is transformed to sequence number (eg. "QA00002"). issue: duplicate copy the name without incrementing sequence opw-2525709 opw-2566499 Forward-Port-Of: odoo/enterprise#18964