Daily updates from Odoo
Monday, February 5, 2024
2 changes
Code cleanup and technical improvements
This refactor centralizes how accounting entries that are created and immediately reversed are handled, covering accrued income, accrued expenses, and currency revaluation. It reduces duplicated logic and makes the accounting reports code easier to maintain without changing business workflows.
Original PR description
created a mixin for the entries that are created and reversed immediately (accrued incomes, accrued expenses, currency revaluation) The problem with current code is * account.multicurrency.revaluation.wizard and account.accrued.orders.wizard are somewhat redundant * code of account.accrued.orders.wizard is not elegant, as it uses model names and field names from the sale/purchase modules, which it doesn't depend on task-id: 2632645 community-PR: https://github.com/odoo/odoo/pull/134772
This update removes an unused piece of WhatsApp channel sorting logic because channel ordering is now handled elsewhere in the app. It keeps the codebase simpler without changing the expected user experience.
Original PR description
Channels are now sorted from DiscussAppCategory. https://github.com/odoo/odoo/pull/152516