Daily updates from Odoo
Navigate
Branch
Friday, July 16, 2021
10 changes
Enhancements to existing features
The website contact page is being made more stable and easier to manage by relying on a static page approach. Helpdesk website forms also gain better pre-fill behavior, reducing manual entry for visitors by using known customer details when available.
Original PR description
Community: https://github.com/odoo/odoo/pull/69888 Upgrade: https://github.com/odoo/upgrade/pull/2452 task-2462993
Payment forms can now be used without forcing a partner to be selected, making payment entry more flexible for cases where partner details are not needed. This reduces unnecessary data entry and supports smoother accounting workflows, including related localization handling.
This update removes an accidental browser debugging pause from the salary contract area. It helps keep HR contract salary workflows smooth by preventing users or administrators from being unexpectedly interrupted while using the page.
Original PR description
see https://github.com/odoo/odoo/pull/73821
Code cleanup and technical improvements
Colombian electronic invoicing has been updated to use Odoo's standard accounting EDI workflow, making invoice and credit note processing more consistent. The update also refreshes official Colombian document type data and adds tests to improve reliability for compliant electronic invoicing.
Original PR description
Adapt co edi to account_edi See upgrade script here : https://github.com/odoo/upgrade/pull/1946 Community PR : https://github.com/odoo/odoo/pull/70040
Miscellaneous changes
Steps to reproduce: - On Accounting Overview, on Vendor Bills card - Click on %s Bills to Pay - Create a bill with immediate payment term, bill date two days back - Add a product line of any amount - Post the bill - Create a partial refund for the bill, same date as the bill - Post the refund The total on the Accounting Dashboard for the Bills to Pay is not the same as in the list view. Cause of the issue In the SQL query the amount_residual value did not take into account th
Original PR description
Steps to reproduce: - On Accounting Overview, on Vendor Bills card - Click on %s Bills to Pay - Create a bill with immediate payment term, bill date two days back - Add a product line of any amount - Post the bill - Create a partial refund for the bill, same date as the bill - Post the refund The total on the Accounting Dashboard for the Bills to Pay is not the same as in the list view. Cause of the issue In the SQL query the amount_residual value did not take into account the case of a type out_refund or in_refund Solution Changed the query with a CASE statement opw-2513075 Forward-Port-Of: odoo/enterprise#19701 Forward-Port-Of: odoo/enterprise#19531
Prevent acl error (documents.share) when trying to open your own file from your user preferences introduced with 457c9b1009a06e952bcb3289b358cd2bdccb7488 cc @Aurelienvd cc @seb-odoo I am not too familiar with js, even less odoo's js, if there is a better way to fix it I'd be more than happy to learn how. I've tried ignoring the error but I couldn't find a way to make it work. Steps to reproduce: - Login as demo - Go to user preferences and try to open linked documents Forward-P
Original PR description
Prevent acl error (documents.share) when trying to open your own file from your user preferences introduced with 457c9b1009a06e952bcb3289b358cd2bdccb7488 cc @Aurelienvd cc @seb-odoo I am not too familiar with js, even less odoo's js, if there is a better way to fix it I'd be more than happy to learn how. I've tried ignoring the error but I couldn't find a way to make it work. Steps to reproduce: - Login as demo - Go to user preferences and try to open linked documents Forward-Port-Of: odoo/enterprise#19451
… first available payment method Forward-Port-Of: odoo/enterprise#19650
Original PR description
… first available payment method Forward-Port-Of: odoo/enterprise#19650
When getting the XML export of the VAT report, if the company is a Swedish one, the amounts should be rounded to the unit OPW-2513784 Forward-Port-Of: odoo/enterprise#19666
Original PR description
When getting the XML export of the VAT report, if the company is a Swedish one, the amounts should be rounded to the unit OPW-2513784 Forward-Port-Of: odoo/enterprise#19666
After this PR #17957 saving a template after editing it no longer worked because `spreadsheetData` was stringified twice. The definition of `base64ToJson` was also missing Steps: - Go to Documents - Click Create a spreadsheet and pick one of the templates or whatever one you want - Once it's open hit File > Save as Template - Name it and confirm the template - Go to Documents > Configuration > Spreadsheet Templates - Hit Edit button - Make any modification on it - Hit File > Save
Original PR description
After this PR #17957 saving a template after editing it no longer worked because `spreadsheetData` was stringified twice. The definition of `base64ToJson` was also missing Steps: - Go to Documents - Click Create a spreadsheet and pick one of the templates or whatever one you want - Once it's open hit File > Save as Template - Name it and confirm the template - Go to Documents > Configuration > Spreadsheet Templates - Hit Edit button - Make any modification on it - Hit File > Save opw-2580481 Forward-Port-Of: odoo/enterprise#19570 Forward-Port-Of: odoo/enterprise#19311
Current behavior before PR: =========================== If child tax has multi-parents then the line in GSTR-1 is duplicated. Desired behavior after PR is merged: ==================================== We simply remove duplicates by the union() on recordset so duplicates remove automatically Additional info: ================ Before this commit odoo/odoo@7a7b5b5 when we search_read from orm then it gives uniquify list because there is one method _uniquify_list before that commit and th
Original PR description
Current behavior before PR: =========================== If child tax has multi-parents then the line in GSTR-1 is duplicated. Desired behavior after PR is merged: ==================================== We simply remove duplicates by the union() on recordset so duplicates remove automatically Additional info: ================ Before this commit odoo/odoo@7a7b5b5 when we search_read from orm then it gives uniquify list because there is one method _uniquify_list before that commit and that method is removed so now we don't have uniquify list so in this commit, I search first and uniquify using union and after read it so duplicate is removed automatically. this problem is from SQL report but if we remove duplicate from SQL then it's performance killer so we do it from here. opw-2577874 Forward-Port-Of: odoo/enterprise#19562