Daily updates from Odoo
Friday, April 17, 2020
3 changes · master
Enhancements to existing features
Integer values that represent codes or identifiers can now be shown without locale-based formatting. This helps avoid confusion in areas such as invoicing, tax services, bank connections, payroll, and German reporting where numbers may need to remain exact codes rather than formatted amounts.
Original PR description
It is now possible not to format integers according to locale This is particularly interesting and relevant when a number holds some sort of code rather than a number Task 2050119 *: account_invoice_extract, account_taxcloud, account_yodlee, l10n_be_payroll, l10n_de_reports
Resolved issues and error corrections
Subscription renewals and manual invoice generation now keep start and end dates consistent, preventing invoices from being created beyond fixed contract periods. This reduces billing confusion for users and improves demo data so subscription workflows behave more realistically.
Original PR description
Before this commit:
* Field "date" is wrong when you do a renewal subscription
It is wrongfully set to the invoice end period.
* Button "generate invoice" modifies the end date (date of today)
* When the template is 'fixed period', the generate invoice button allow to generate invoices after the end date.
* The start button was confusing on closed subscriptions.
Taskid: 2168496Code cleanup and technical improvements
This update simplifies how Odoo creates and manages email aliases in several apps, reducing duplicated setup logic and the risk of misconfigured aliases. It also fixes quality alert team alias setup so incoming emails are routed more reliably.
Original PR description
PURPOSE Clean mail alias mixin use through addons and clean its code SPECIFICATIONS Remove unnecessary code overlap: duplicate of model computation or alias definitions. Remove alias creation relying on context and instead give a single method to override giving alias creation values. Go through all addons using aliases to clean its usage code. Remove remaining alias fields on res.users, linked to a now removed feature. Finally make alias creation work in batch mode in mail_alias_mixin. LINKS Task ID 1919277 Community odoo/odoo#41160 Enterprise odoo/enterprise#6983 Upgrade odoo/upgrade#872