Friday, January 15, 2021
6 changes · master
Code cleanup and technical improvements
This update simplifies how phone number formatting is handled behind the scenes by removing a shared technical component and placing the logic directly where it is used. The expected behavior for users remains unchanged, while the code becomes easier to maintain and less complex.
Miscellaneous changes
Steps to reproduce: 1. Set the company with country Netherlands 2. Install modules "account_accountant" and "l10n_nl_intrastat" 3. Create a customer in another EU country, for example, Germany 4. Create an invoice with the customer and complete other intrastat information 5. Go to Accounting > Reporting > Audit Reports > Intrastat Report 6. Click the button "EXPORT (CBS)" => AttributeError: 'account.move' object has no attribute 'number' Reason: The invoice was in "account.invoice" mo
Original PR description
Steps to reproduce: 1. Set the company with country Netherlands 2. Install modules "account_accountant" and "l10n_nl_intrastat" 3. Create a customer in another EU country, for example, Germany 4. Create an invoice with the customer and complete other intrastat information 5. Go to Accounting > Reporting > Audit Reports > Intrastat Report 6. Click the button "EXPORT (CBS)" => AttributeError: 'account.move' object has no attribute 'number' Reason: The invoice was in "account.invoice" model but refactored as "account.move" model since v13. And the "number" attriubte should be "name" therefore. Forward-Port-Of: odoo/enterprise#15534
Previously XML generation of SEPA Direct Debit payments would not allow to batch payments with different SDD mandates together. This is now fixed. Multiple SDD mandates are allowed as long as they share the same scheme (per XML specs limitations) Task: 2439250 Forward-Port-Of: odoo/enterprise#15767
Original PR description
Previously XML generation of SEPA Direct Debit payments would not allow to batch payments with different SDD mandates together. This is now fixed. Multiple SDD mandates are allowed as long as they share the same scheme (per XML specs limitations) Task: 2439250 Forward-Port-Of: odoo/enterprise#15767
Steps: - Install planning, project_forecast - Go to Planning > Schedule > By Employee - Add one shift to an Employee (1) for each day of the current week - Allocated Time (%): 100 - Go to Project > Reporting > Planning Analysis Bug: The cell for the employee (1) and the current week is 700% instead of 100%. Explanation: If the employee has worked 100% of their allocated time every day of the week, they have also worked 100% of their allocated time for the week. This data should
Original PR description
Steps: - Install planning, project_forecast - Go to Planning > Schedule > By Employee - Add one shift to an Employee (1) for each day of the current week - Allocated Time (%): 100 - Go to Project > Reporting > Planning Analysis Bug: The cell for the employee (1) and the current week is 700% instead of 100%. Explanation: If the employee has worked 100% of their allocated time every day of the week, they have also worked 100% of their allocated time for the week. This data should be averaged instead of summed. opw:2439778 Forward-Port-Of: odoo/enterprise#15775 Forward-Port-Of: odoo/enterprise#15774
Forward-Port-Of: odoo/enterprise#15773 Forward-Port-Of: odoo/enterprise#15769
Original PR description
Forward-Port-Of: odoo/enterprise#15773 Forward-Port-Of: odoo/enterprise#15769
The fields communication and partner_bank_account_id don't exist on model account.payment. opw:2431204 Forward-Port-Of: odoo/enterprise#15761
Original PR description
The fields communication and partner_bank_account_id don't exist on model account.payment. opw:2431204 Forward-Port-Of: odoo/enterprise#15761