Monday, June 15, 2026
2 changes · 19.0
Code cleanup and technical improvements
Accounting list view code was reorganized so shared behavior can be reused across journal entries and bank statements. This reduces duplicated logic and removes outdated special-case handling, making future accounting updates easier and safer to maintain.
Original PR description
Made some generic JS classes that can be used between account move and account bank statement and removed some if statements that are no longer needed from account_tree controller because they were used to bypass default behavior if used by a model other than the intended one. This issue was fixed in: https://github.com/odoo/enterprise/pull/117476 task-5892419
This update refactors the bank statement import controller to avoid conflicts with other Odoo modules. By using a more generic controller and removing unnecessary code, the import process is now more reliable and efficient. This change ensures consistent behavior and reduces potential errors.
Original PR description
account_bank_statement_import_view was using the same controller used in account.move which caused some wrong behavior when some logic isn't shared between both modules, now account_bank_statement_import uses a generic controller that doesn't add unneeded behavior. As well as removing all of the account move classes from bank statement import and using generic ones or ones specific to account bank statement import. task-5892419