Tuesday, November 3, 2020
8 changes
Miscellaneous changes
We shoulnd't take partials older than the reference date of the report Task [2375733](https://www.odoo.com/web#id=2375733&model=project.task&view_type=form&cids=1&menu_id=) Forward-Port-Of: odoo/enterprise#14569
Original PR description
We shoulnd't take partials older than the reference date of the report Task [2375733](https://www.odoo.com/web#id=2375733&model=project.task&view_type=form&cids=1&menu_id=) Forward-Port-Of: odoo/enterprise#14569
A string was directly passed to qweb instead of a dictionary, crashing the report. Forward-Port-Of: odoo/enterprise#14559
Original PR description
A string was directly passed to qweb instead of a dictionary, crashing the report. Forward-Port-Of: odoo/enterprise#14559
…cars Purpose ======= Indeed, anything exceeding € 410 / year (2020 amount) in private transport is subject to taxation when the worker uses his private vehicle and has opted for the flat-rate costs. TaskID: 2374873 Forward-Port-Of: odoo/enterprise#14546 Forward-Port-Of: odoo/enterprise#14531
Original PR description
…cars Purpose ======= Indeed, anything exceeding € 410 / year (2020 amount) in private transport is subject to taxation when the worker uses his private vehicle and has opted for the flat-rate costs. TaskID: 2374873 Forward-Port-Of: odoo/enterprise#14546 Forward-Port-Of: odoo/enterprise#14531
The write-off lines matched when making the proposition through an invoicing matching reconciliation model were not taken into accoun when computing the residual amount to display on the matched move line. For example, following this scenario (after applying the community fix linked to this commit): 1) Create an invoice matching reconciliation model, matching 90% percent of the amount, with a write-off line applying a 100% write-off of the remaining amount. 2) Create a 100€ invoice 3
Original PR description
The write-off lines matched when making the proposition through an invoicing matching reconciliation model were not taken into accoun when computing the residual amount to display on the matched move line. For example, following this scenario (after applying the community fix linked to this commit): 1) Create an invoice matching reconciliation model, matching 90% percent of the amount, with a write-off line applying a 100% write-off of the remaining amount. 2) Create a 100€ invoice 3) Create a bank statement with a 90€ statement line whose payment reference corresponds to the one of the invoice 4) Click 'reconcile' on the bank statement ==> The 100€ line was matched with the statement line, creating a 10€ write-off to balance the reconciliation. However, before this fix, the 100€ line was marked as being only reconciled for 90€. It shouldn't, because of the write-off, which allows a full reconciliation. 2367754 Forward-Port-Of: odoo/enterprise#14526
It was removed by mistake in 172e8a4f3df759ad6261563222f5b65eb5e12149 Forward-Port-Of: odoo/enterprise#14528
Original PR description
It was removed by mistake in 172e8a4f3df759ad6261563222f5b65eb5e12149 Forward-Port-Of: odoo/enterprise#14528
WHAT: apply 93a7695f65baf00d1f82481d6a2a97e6c11940a8 for all res.config.settings menus WHY: the same reason as in 93a7695f65baf00d1f82481d6a2a97e6c11940a8: When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content it may lead to image dissapearing or "Incorrect padding" error HOW: find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'
Original PR description
WHAT: apply 93a7695f65baf00d1f82481d6a2a97e6c11940a8 for all res.config.settings menus WHY: the same reason as in 93a7695f65baf00d1f82481d6a2a97e6c11940a8: When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content it may lead to image dissapearing or "Incorrect padding" error HOW: find . -iname "*.xml"|xargs grep "\"context\".*'module'" -l | xargs sed -i "s/\(\"context\".*'module'.*\)\}/\1, 'bin_size': False}/" --- opw-2346644 Forward-Port-Of: odoo/enterprise#14495
…dget Allow the user to match directly an internal transfer with a statement line. The previous code was buggy in that case because the blue lines was restricted to the same journal that is not the case of an internal transfer. Forward-Port-Of: odoo/enterprise#14512
Original PR description
…dget Allow the user to match directly an internal transfer with a statement line. The previous code was buggy in that case because the blue lines was restricted to the same journal that is not the case of an internal transfer. Forward-Port-Of: odoo/enterprise#14512
The default terms and conditions defined in the accounting settings are not taken into account when creating invoices from subscriptions opw-2357968 Forward-Port-Of: odoo/enterprise#14437 Forward-Port-Of: odoo/enterprise#14310
Original PR description
The default terms and conditions defined in the accounting settings are not taken into account when creating invoices from subscriptions opw-2357968 Forward-Port-Of: odoo/enterprise#14437 Forward-Port-Of: odoo/enterprise#14310