Daily updates from Odoo
Navigate
Branch
Friday, June 10, 2022
7 changes
Enhancements to existing features
The Documents Spreadsheet component has been updated to a newer spreadsheet engine version. This improves reliability around templates and error handling while adding internal checks that help prevent development issues from reaching users.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/c4411fb1 [FIX] templates: replace 'module' name spacing https://github.com/odoo/o-spreadsheet/commit/af721566 [IMP] Evaluation: Export Evaluation error https://github.com/odoo/o-spreadsheet/commit/78e8dd23 [IMP] config: Add leftover debugger/console check in pre-commit hook https://github.com/odoo/o-spreadsheet/commit/d604d667 [REF] prettier: Force common end-of-line char projectwide
Code cleanup and technical improvements
Spreadsheet-related document features now use a shared way to group and reuse server requests. This should reduce repeated data fetching, improve responsiveness, and make future maintenance easier without changing the user workflow.
Original PR description
Currently, every datasource holds its own cache and batching mechanism. With this commit, we introduce a generic handler which can be used everywhere. Task 2879900 Co-authored-by: Lucas Lefèvre <lul@odoo.com>
Miscellaneous changes
Since odoo/odoo#87527 `_compute_planning_overlap` is no more correctly computed as the flush is performed on the recordset although this compute is based on other `project.task` which are not always part of the recordset. Forward-Port-Of: odoo/enterprise#28230
Original PR description
Since odoo/odoo#87527 `_compute_planning_overlap` is no more correctly computed as the flush is performed on the recordset although this compute is based on other `project.task` which are not always part of the recordset. Forward-Port-Of: odoo/enterprise#28230
Steps to reproduce: Install sign and activate developper mode Set an empty placeholder on the "Text" field type Go to a sign template and add a Text field Make this field not mandatory and validate Expected behavior: The placeholder remain false Current behavior: The placeholder is set to Text Explanation: In the code when the value of the name was empty then it was reset to the field name. In this solution the value saved in the name of sign_item is false if there is no place
Original PR description
Steps to reproduce: Install sign and activate developper mode Set an empty placeholder on the "Text" field type Go to a sign template and add a Text field Make this field not mandatory and validate Expected behavior: The placeholder remain false Current behavior: The placeholder is set to Text Explanation: In the code when the value of the name was empty then it was reset to the field name. In this solution the value saved in the name of sign_item is false if there is no placeholder and the placeholder otherwise. Previously the value false of this field could mean the default placeholder for this field type or an empty string. opw-2767417 Forward-Port-Of: odoo/enterprise#28178 Forward-Port-Of: odoo/enterprise#27676
Forward-Port-Of: odoo/enterprise#28188
Original PR description
Forward-Port-Of: odoo/enterprise#28188
There are two fields on iot.device to store the ip: - `ip` is the ip address - `ip_url` is the ip address with the web protocol and port Setting the ip_url as ip on quality check will make the url to connect the iot box wrong as the web protocol and port will be added again. This result by having iot boxe with address like: https://https://10.30.xx.xx:8069:8069 Forward-Port-Of: odoo/enterprise#28190
Original PR description
There are two fields on iot.device to store the ip: - `ip` is the ip address - `ip_url` is the ip address with the web protocol and port Setting the ip_url as ip on quality check will make the url to connect the iot box wrong as the web protocol and port will be added again. This result by having iot boxe with address like: https://https://10.30.xx.xx:8069:8069 Forward-Port-Of: odoo/enterprise#28190
enterprise part of odoo/odoo#93213 Forward-Port-Of: odoo/enterprise#28208
Original PR description
enterprise part of odoo/odoo#93213 Forward-Port-Of: odoo/enterprise#28208