Daily updates from Odoo
Navigate
Branch
Tuesday, May 18, 2021
10 changes
Enhancements to existing features
The Helpdesk onboarding tour has clearer guidance and additional steps that introduce the chatter area. This helps new users better understand key collaboration features while removing an unnecessary priority-setting step.
Original PR description
Added a few steps, removed the ticket priority step and revised some steps on the helpdesk app existing tour. Task-ID: 2527334
Accounting chart setup has been streamlined so company account structures can be generated faster from templates. This reduces implementation time for localized accounting configurations, with benchmarked installation time improving by about 25%.
Original PR description
Add a generic optimized way to create records from templates. It reduces the number of lines of code and speedup the COA installation. Performance Analysis: Benchmark: l10n_es full COA 730 accounts 24 fiscal positions 91 taxes 930 account groups Before commit: 3.43s in average After commit: 2.63s in average Speed up: +-25% task: 2379123
The Gantt view was optimized to load and update planning rows more efficiently, improving responsiveness for users working with schedules. It also adds an option to disable drag-and-drop changes, giving businesses more control over how plans are edited.
Original PR description
https://github.com/odoo/odoo/pull/70840 https://github.com/odoo/documentation/pull/976
Resolved issues and error corrections
Payment-related automated tests were adjusted so they no longer depend on sample demo data. This helps keep company configuration consistent during testing, reducing false failures and improving confidence in payment functionality.
Original PR description
- This makes tests independent of any demo data and ensures the company configuration is always consistent.
Code cleanup and technical improvements
The spreadsheet pivot autofill logic has been separated from the pivot structure logic, making the code easier to understand and maintain. This internal cleanup should reduce future development complexity without changing how users interact with spreadsheets.
Original PR description
Currently, the `PivotStructure` plugin is 1.2k LoC in which it's not easy to navigate. One can see that the plugin has two responsabilities: - pivot structure - pivot autofill Those responsabilities are independent, no attribute nor method are shared. This commit moves all autofill logic in a separate plugin. This makes two smaller plugins which are more focused and easier to hold in one's head.
Miscellaneous changes
Forward-Port-Of: odoo/enterprise#18304 Forward-Port-Of: odoo/enterprise#18138
Original PR description
Forward-Port-Of: odoo/enterprise#18304 Forward-Port-Of: odoo/enterprise#18138
The dependency on `l10n_generic_coa` is useless and have the side effect to set the Genric CoA on company 1, which cause problems while upgrading this test module in future versions. Forward-Port-Of: odoo/enterprise#18350
Original PR description
The dependency on `l10n_generic_coa` is useless and have the side effect to set the Genric CoA on company 1, which cause problems while upgrading this test module in future versions. Forward-Port-Of: odoo/enterprise#18350
Forward-Port-Of: odoo/enterprise#18251 Forward-Port-Of: odoo/enterprise#18102
Original PR description
Forward-Port-Of: odoo/enterprise#18251 Forward-Port-Of: odoo/enterprise#18102
- Use a company using USD as currency - In Accounting, activate "Multi-Currencies" - Configure currency rates as followed: * EUR - 01/01/2021 - 1.0 * USD - 01/01/2021 - 1.2834 * USD - 01/05/2021 - 1.38 - Create an invoice in EUR with an invoice line of 100€ and an invoice date between 01/01/2021 and 01/05/2021 (i.e. 01/03/2021) - Create a payment for 99€ and keep the remaining 1€ open with payment date set at current date (i.e. 06/05/2021) - Go to Accounting > Reporting > Age
Original PR description
- Use a company using USD as currency - In Accounting, activate "Multi-Currencies" - Configure currency rates as followed: * EUR - 01/01/2021 - 1.0 * USD - 01/01/2021 - 1.2834 * USD - 01/05/2021 -…
- Use a company using USD as currency - In Accounting, activate "Multi-Currencies" - Configure currency rates as followed: * EUR - 01/01/2021 - 1.0 * USD - 01/01/2021 - 1.2834 * USD - 01/05/2021 - 1.38 - Create an invoice in EUR with an invoice line of 100€ and an invoice date between 01/01/2021 and 01/05/2021 (i.e. 01/03/2021) - Create a payment for 99€ and keep the remaining 1€ open with payment date set at current date (i.e. 06/05/2021) - Go to Accounting > Reporting > Aged Receivable The invoice with the remaining unpaid 1€ does not appear in the report. The payment is displayed instead with a negative value. This is due to the difference of currencies rates between the invoice date and the payment date. Even though the amount of the payment (99€) is lower than the amount of the invoice (100€), the converted amount in USD is greater. As the report only takes into account converted values, it cannot handle these cases with different currency rates. To handle these cases, the report will use the currency amount (in the original currency) when all account move lines use the same currency that is different from the company currency. opw-2514319 Forward-Port-Of: odoo/enterprise#18357 Forward-Port-Of: odoo/enterprise#18173
Following the recent reorganisation of the documentation in 12.0+, the majority of the documents have been moved and their old links are no longer valid. Some redirection rules will soon be deployed, but those rules might be dropped in some years and we want the links to still work, which is why we still replace the links to the new ones. FW-port of #18270 (13.0) Forward-Port-Of: odoo/enterprise#18354 Forward-Port-Of: odoo/enterprise#18281
Original PR description
Following the recent reorganisation of the documentation in 12.0+, the majority of the documents have been moved and their old links are no longer valid. Some redirection rules will soon be deployed, but those rules might be dropped in some years and we want the links to still work, which is why we still replace the links to the new ones. FW-port of #18270 (13.0) Forward-Port-Of: odoo/enterprise#18354 Forward-Port-Of: odoo/enterprise#18281