Daily updates from Odoo
Thursday, August 14, 2025
4 changes
1 change
Code cleanup and technical improvements
The accounting tax calculation code was reorganized so the tax total rounding step is isolated in its own component. This makes it easier for localization or custom accounting modules to adjust rounding behavior without copying larger parts of the process, reducing maintenance effort and upgrade risk.
Original PR description
Move the code block responsible for rounding `total_per_tax` aggregates inside `_round_base_lines_tax_details` into a dedicated helper method `_round_total_per_tax`. This refactor allows custom modules to override only the rounding logic without reimplementing the entire `_round_base_lines_tax_details` method, improving maintainability. Related: https://github.com/OCA/l10n-japan/pull/70 @qrtl QT5088 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#222951 Forward-Port-Of: odoo/odoo#222759
1 change
Code cleanup and technical improvements
The accounting module was reorganized so tax total rounding is handled in its own reusable part. This makes it easier for localized or custom extensions to adjust rounding behavior without copying larger accounting logic, reducing maintenance risk.
Original PR description
Move the code block responsible for rounding `total_per_tax` aggregates inside `_round_base_lines_tax_details` into a dedicated helper method `_round_total_per_tax`. This refactor allows custom modules to override only the rounding logic without reimplementing the entire `_round_base_lines_tax_details` method, improving maintainability. Related: https://github.com/OCA/l10n-japan/pull/70 @qrtl QT5088 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#222759
1 change
Code cleanup and technical improvements
This update reorganizes how Belgian payroll determines maximum working hours after a calendar-related refactor. It keeps payroll and attendance-related tests aligned with the updated calendar behavior, reducing the risk of incorrect payroll validation results.
Original PR description
Task-4933223
1 change
Code cleanup and technical improvements
The accounting tax calculation code was reorganized so the tax total rounding step is isolated in its own method. This makes it easier for localization or custom accounting modules to adjust rounding behavior without copying larger pieces of core logic, reducing maintenance effort and upgrade risk.
Original PR description
Move the code block responsible for rounding `total_per_tax` aggregates inside `_round_base_lines_tax_details` into a dedicated helper method `_round_total_per_tax`. This refactor allows custom modules to override only the rounding logic without reimplementing the entire `_round_base_lines_tax_details` method, improving maintainability. Related: https://github.com/OCA/l10n-japan/pull/70 @qrtl QT5088 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr