Wednesday, August 4, 2021
6 changes · master
Code cleanup and technical improvements
This update simplifies internal code used by approvals and invoice extraction, removing outdated dependencies. Users should not see functional changes, but the cleanup helps make future maintenance and improvements easier.
Original PR description
* = account_invoice_extract, approvals Part of task-2338825 Makes task-2261221 and task-2431526 obsolete
Miscellaneous changes
It should be position instead of postion. opw-2614431 Forward-Port-Of: odoo/enterprise#20057 Forward-Port-Of: odoo/enterprise#20053
Original PR description
It should be position instead of postion. opw-2614431 Forward-Port-Of: odoo/enterprise#20057 Forward-Port-Of: odoo/enterprise#20053
Even if reconciled, the vendor bill and the payment remain in the report and the list becomes longer and longer as bills and payments are posted. The report should remain an operational report and is not meant to be an exhaustive list. We only need the residual amounts once it is reconciled. [task-2584120](https://www.odoo.com/web#id=2584120&model=project.task) Forward-Port-Of: odoo/enterprise#19603
Original PR description
Even if reconciled, the vendor bill and the payment remain in the report and the list becomes longer and longer as bills and payments are posted. The report should remain an operational report and is not meant to be an exhaustive list. We only need the residual amounts once it is reconciled. [task-2584120](https://www.odoo.com/web#id=2584120&model=project.task) Forward-Port-Of: odoo/enterprise#19603
Steps to reproduce the bug: - Go to planning app > click on add button - Remove the contents of the start or end date - Click off that field Problem: A traceback error is triggered, because we try to access the `”start_datetime”` and `”end datetime”` field, via the `”_compute_allow_template_creation”` and `”_compute_past_shift”` functions, without checking if they are null or not before accessing them. opw-2615218 Forward-Port-Of: odoo/enterprise#20051
Original PR description
Steps to reproduce the bug: - Go to planning app > click on add button - Remove the contents of the start or end date - Click off that field Problem: A traceback error is triggered, because we try to access the `”start_datetime”` and `”end datetime”` field, via the `”_compute_allow_template_creation”` and `”_compute_past_shift”` functions, without checking if they are null or not before accessing them. opw-2615218 Forward-Port-Of: odoo/enterprise#20051
The server action that creates the batch payment kept a residual part of code when we set a `payment_method_line` for a batch payment but the batch payment object can receive only a payment method as parameter. Update docstring of `_compute_payment_method_id` function. Forward-Port-Of: odoo/enterprise#20041
Original PR description
The server action that creates the batch payment kept a residual part of code when we set a `payment_method_line` for a batch payment but the batch payment object can receive only a payment method as parameter. Update docstring of `_compute_payment_method_id` function. Forward-Port-Of: odoo/enterprise#20041
this version includes the following fixes: [FIX] Renderer: Faulty box clipping [FIX] CF: icons are not drawn in canvas in Firefox [FIX] evaluation: use the latest cell object to store the value [FIX] selection: handle selections inside hidden headers [IMP] libs: update prettier to the latest version as well as the forward port of the following fixes [FIX] renderer: Centered text was not properly clipped [FIX] top bar: prevent dropdown carets from wrapping [FIX] *: fix non-determin
Original PR description
this version includes the following fixes: [FIX] Renderer: Faulty box clipping [FIX] CF: icons are not drawn in canvas in Firefox [FIX] evaluation: use the latest cell object to store the value [FIX] selection: handle selections inside hidden headers [IMP] libs: update prettier to the latest version as well as the forward port of the following fixes [FIX] renderer: Centered text was not properly clipped [FIX] top bar: prevent dropdown carets from wrapping [FIX] *: fix non-deterministic tests Forward-Port-Of: odoo/enterprise#19950