Daily updates from Odoo
Tuesday, May 18, 2021
1 change
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.