Wednesday, September 4, 2024
3 changes · master
Resolved issues and error corrections
The UK BACS payment module now correctly depends on the UK localization module. This helps ensure the required UK banking functionality is installed automatically when needed, reducing setup issues for users.
Original PR description
### Steps to reproduce: - Install the 'l10n_uk' module - The module "l10n_uk_bacs" is not installed, but it should ### Solution: Make the `l10n_uk_bacs` module dependent on `l10n_uk`. When running `./odoo-bin --addons-path="addons/,../enterprise/" -u l10n_uk_bacs -d [db]` it detects the unmet dependency (`module l10n_uk_bacs: Unmet dependencies: l10n_uk`) and installs it. So I guess there is no need for an upgrade script. opw-4122475
This change prevents a shared translation dictionary from being modified globally, reducing the risk of incorrect translated text appearing elsewhere in the system. It also improves how data is prepared for reporting by moving shared JSON handling to a more appropriate common location.
Original PR description
The global dictionary containing the translations cannot be modified. opw-3932856
This fixes subscription behavior so only invoices tied to the current subscription are considered when checking for active draft invoices. It prevents unrelated contract invoices from affecting subscription payment and renewal tests, improving reliability without changing expected business workflows.