Thursday, April 9, 2020
12 changes · master
Enhancements to existing features
This update modernizes how certain business errors are handled in Odoo, replacing an older internal mechanism with the current standard. It helps keep processes such as Mexican electronic invoicing certificates and SEPA direct debit payments reliable and easier to maintain.
Original PR description
Pad:https://pad.odoo.com/p/r.3ef4e6f5f820a7b5c3e977d2551ed08d Task:https://www.odoo.com/web#id=58783&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720
Resolved issues and error corrections
This fix reorganizes how test asset bundles are loaded so they follow the expected structure. It helps prevent unnecessary compilation during testing, making developer test behavior more consistent without changing day-to-day user functionality.
Original PR description
Before this commit, the test assets were called with a `t-call-assets` and contained themselves some other `t-call-assets` to the back-end assets. According to the current specification, having nested `t-call-assets` will result in a compilation of the lower levels regardless of the current debugging mode. Now, the test bundles (desktop & mobile) have been arranged so that their `t-call-assets` are all called on the same level. Community PR: https://github.com/odoo/odoo/pull/49306
Miscellaneous changes
Commit bb3da3c directly assigned the car driver as soon as the applicant signed his contract. However this was done in the `hr_contract_salary` module although the `contract.car_id` field only comes with the `l10n_be_hr_contract_salary` module. Forward-Port-Of: odoo/enterprise#9788
Original PR description
Commit bb3da3c directly assigned the car driver as soon as the applicant signed his contract. However this was done in the `hr_contract_salary` module although the `contract.car_id` field only comes with the `l10n_be_hr_contract_salary` module. Forward-Port-Of: odoo/enterprise#9788
### Issue - Install Accounting & Batch Payment - Accounting => Customers => Create 30-40 payments - Account => Customers => Batch Payments - Create a batch payment and add all your payments - Print the batch payment The total amount is displayed on all pages ### Cause There is no check which allows to display it only on the last page ### Solution Add the total_amount only on the last slice and set to 0 if there is none (in order to avoid traceback if the user
Original PR description
### Issue - Install Accounting & Batch Payment - Accounting => Customers => Create 30-40 payments - Account => Customers => Batch Payments - Create a batch payment and add all your payments - Print the batch payment The total amount is displayed on all pages ### Cause There is no check which allows to display it only on the last page ### Solution Add the total_amount only on the last slice and set to 0 if there is none (in order to avoid traceback if the user does not update his app) **OPW-2224281** Forward-Port-Of: odoo/enterprise#9758
The theoretical amount on a budget line computs the timedelta incorrectly. Indeed, the timedelta must include the start and end date, which is not the case at the moment. opw-2232707 Forward-Port-Of: odoo/enterprise#9706
Original PR description
The theoretical amount on a budget line computs the timedelta incorrectly. Indeed, the timedelta must include the start and end date, which is not the case at the moment. opw-2232707 Forward-Port-Of: odoo/enterprise#9706
- Configure TaxCloud stuff - Go to the eCommerce - Buy a product - Go to /shop/cart - Go to /shop/payment - Go back and forth between /shop/cart and /shop/payment Each time we go back and forth, the same requests are made to the TaxCloud API. However, each duplicate request costs 0.04 cents on top of adding some delay in the process due to external calls. We use a cache mechanism to avoid duplicated requests. opw-2203582 opw-2208320 opw-2162567 Forward-Port-Of: odoo/enterprise
Original PR description
- Configure TaxCloud stuff - Go to the eCommerce - Buy a product - Go to /shop/cart - Go to /shop/payment - Go back and forth between /shop/cart and /shop/payment Each time we go back and forth, the same requests are made to the TaxCloud API. However, each duplicate request costs 0.04 cents on top of adding some delay in the process due to external calls. We use a cache mechanism to avoid duplicated requests. opw-2203582 opw-2208320 opw-2162567 Forward-Port-Of: odoo/enterprise#9709 Forward-Port-Of: odoo/enterprise#9566
* = website_helpdesk_form Changes to website_form label name were not replicated to views. Introduced by: https://github.com/odoo/odoo/pull/44790 Related to: https://github.com/odoo/odoo/pull/49194 Forward-Port-Of: odoo/enterprise#9745
Original PR description
* = website_helpdesk_form Changes to website_form label name were not replicated to views. Introduced by: https://github.com/odoo/odoo/pull/44790 Related to: https://github.com/odoo/odoo/pull/49194 Forward-Port-Of: odoo/enterprise#9745
* = website_helpdesk_form Forgot to remove the vjs from enterprise when deciding to keep the 000 version... Related to: https://github.com/odoo/odoo/pull/49165 task-2233240 Forward-Port-Of: odoo/enterprise#9737
Original PR description
* = website_helpdesk_form Forgot to remove the vjs from enterprise when deciding to keep the 000 version... Related to: https://github.com/odoo/odoo/pull/49165 task-2233240 Forward-Port-Of: odoo/enterprise#9737
A new constraint in account make it mandatory to put the country_id on the account.account.tag with applicability=taxes Forward-Port-Of: odoo/enterprise#9741
Original PR description
A new constraint in account make it mandatory to put the country_id on the account.account.tag with applicability=taxes Forward-Port-Of: odoo/enterprise#9741
Work interval and resource will be available when the company has one or more employees. Task-ID: 2229548 Forward-Port-Of: odoo/enterprise#9600
Original PR description
Work interval and resource will be available when the company has one or more employees. Task-ID: 2229548 Forward-Port-Of: odoo/enterprise#9600
There was a traceback in the list view when the plannings were grouped by "Something" > Role. This commit disables the empty Open Shifts mechanisms but for the gantt view. TaskID: 2230827 Forward-Port-Of: odoo/enterprise#9679
Original PR description
There was a traceback in the list view when the plannings were grouped by "Something" > Role. This commit disables the empty Open Shifts mechanisms but for the gantt view. TaskID: 2230827 Forward-Port-Of: odoo/enterprise#9679
Open Bank reconciliation, select a record, go to "Manual Operations" tab, add Account and select a tax using the "Search More" functionality. Resulting tax will not be applied to the line (tax id will be false instead, prompting eventual js tracebacks) This is caused by the results not correctly handled by the view opw-2229006 Forward-Port-Of: odoo/enterprise#9763
Original PR description
Open Bank reconciliation, select a record, go to "Manual Operations" tab, add Account and select a tax using the "Search More" functionality. Resulting tax will not be applied to the line (tax id will be false instead, prompting eventual js tracebacks) This is caused by the results not correctly handled by the view opw-2229006 Forward-Port-Of: odoo/enterprise#9763