Daily updates from Odoo
Navigate
Branch
Friday, April 17, 2020
14 changes
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
Updates enterprise mail tests to stay aligned with recent notification changes in the main Odoo platform. This helps ensure SMS-related mail notifications continue to be validated correctly during upgrades and future releases.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/44170 Upgrade https://github.com/odoo/upgrade/pull/918
Resolved issues and error corrections
Document image requests now use the intended unique identifier instead of an unnecessary signature value. This helps keep document image links consistent and avoids issues caused by using the wrong parameter.
Original PR description
This commit removes the unnecessary usage of signature instead of unique in the route params for documents/image.
A leftover debugging statement was removed from the Data Cleaning feature. This prevents accidental interruptions during normal use and keeps the feature running smoothly.
Original PR description
TaskID: 2240275
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
Miscellaneous changes
In the case of SignablePDFIframe, b48cb838236 would not be consistent with the parent createSignatureItem method that was modified in b48cb838236 and now when a field was filled with 0, we could possibly get an error "Some fields have still to be completed !". opw-2239388 opw-2239862 opw-2239943 Forward-Port-Of: odoo/enterprise#9994 Forward-Port-Of: odoo/enterprise#9976
Original PR description
In the case of SignablePDFIframe, b48cb838236 would not be consistent with the parent createSignatureItem method that was modified in b48cb838236 and now when a field was filled with 0, we could possibly get an error "Some fields have still to be completed !". opw-2239388 opw-2239862 opw-2239943 Forward-Port-Of: odoo/enterprise#9994 Forward-Port-Of: odoo/enterprise#9976
**[FIX] documents: use js res_id for the chatter of the inspector** This commit makes so the record for the chatter is selected based on its real record id instead of the local id. **[FIX] documents: adapt the tour of documents to the data and ui changes** This commit fixes the tour of documents that was outdated due to changes in UI and data. task-2209737 Forward-Port-Of: odoo/enterprise#9991 Forward-Port-Of: odoo/enterprise#9906
Original PR description
**[FIX] documents: use js res_id for the chatter of the inspector** This commit makes so the record for the chatter is selected based on its real record id instead of the local id. **[FIX] documents: adapt the tour of documents to the data and ui changes** This commit fixes the tour of documents that was outdated due to changes in UI and data. task-2209737 Forward-Port-Of: odoo/enterprise#9991 Forward-Port-Of: odoo/enterprise#9906
[opw-2240254](https://www.odoo.com/web#active_id=2240254&cids=1&id=2240254&model=project.task&menu_id=) The currency is not set on the line if it is the company currency. If we want to have a value, we can check on the invoice/move instead. Forward-Port-Of: odoo/enterprise#9980
Original PR description
[opw-2240254](https://www.odoo.com/web#active_id=2240254&cids=1&id=2240254&model=project.task&menu_id=) The currency is not set on the line if it is the company currency. If we want to have a value, we can check on the invoice/move instead. Forward-Port-Of: odoo/enterprise#9980
Enable 'Join open invoices' on the followup reminder Have a partner with multiple unpaid invoices Go to followup reports, select such partner and from the view check some lines to be excluded. Send mail Excluded choices will be ignored and all lines will be sent in the reminder email. Moreover even if some invoice is excluded and the attachment has not been generated yet, the whole action will be blocked by the message "You are trying to send a followup report to a partner for which y
Original PR description
Enable 'Join open invoices' on the followup reminder Have a partner with multiple unpaid invoices Go to followup reports, select such partner and from the view check some lines to be excluded. Send mail Excluded choices will be ignored and all lines will be sent in the reminder email. Moreover even if some invoice is excluded and the attachment has not been generated yet, the whole action will be blocked by the message "You are trying to send a followup report to a partner for which you didn't print all the invoices". Using a more complex filter based on the actual invoice move lines and reusing the same lines to select which attachments to send solve the issue opw-2238836 Forward-Port-Of: odoo/enterprise#9970
Before this commit: If you have at least one Belgian company with vehicle, it will be impossible to install l10n_be_hr_payroll_fleet. Indeed as the commit https://github.com/odoo/enterprise/commit/b56e1facc28b2d784e6dd11046ef167f80165e06 says: "Because Odoo computes stored computed fields before loading data, the computation will crash for existing records if it's using a parameter defined in the same module which defines the field (the parameter does not exist yet)." After this commit
Original PR description
Before this commit: If you have at least one Belgian company with vehicle, it will be impossible to install l10n_be_hr_payroll_fleet. Indeed as the commit https://github.com/odoo/enterprise/commit/b56e1facc28b2d784e6dd11046ef167f80165e06 says: "Because Odoo computes stored computed fields before loading data, the computation will crash for existing records if it's using a parameter defined in the same module which defines the field (the parameter does not exist yet)." After this commit: The compute field is removed and we compute the value at the create. (The compute has no depends so it was only computed at creation). Forward-Port-Of: odoo/enterprise#9950
Purpose ======= Reset the parent of an activity when the trigger type is changed to "beginning of the campaign". Fix a bug related to the parent activity. Bug: in marketing automation, create a new activity, save the campaign. Then, click on "add another activity" below the first activity, edit the parent and boum, traceback. Task-2220930 Forward-Port-Of: odoo/enterprise#9408
Original PR description
Purpose ======= Reset the parent of an activity when the trigger type is changed to "beginning of the campaign". Fix a bug related to the parent activity. Bug: in marketing automation, create a new activity, save the campaign. Then, click on "add another activity" below the first activity, edit the parent and boum, traceback. Task-2220930 Forward-Port-Of: odoo/enterprise#9408
Forward-Port-Of: odoo/enterprise#9918 Forward-Port-Of: odoo/enterprise#9902
Original PR description
Forward-Port-Of: odoo/enterprise#9918 Forward-Port-Of: odoo/enterprise#9902
…t a forecast task_id Before this commit, forecast without task_id didn't compute the effective hours. Also, this computation wasn't working when only the unit_amount in the time sheet was changed. Now, the effective hours of a forecast without task_id is correctly updated at each new time sheet, and when the time sheet unit_amount is changed. opw-2223013 Forward-Port-Of: odoo/enterprise#9953 Forward-Port-Of: odoo/enterprise#9916
Original PR description
…t a forecast task_id Before this commit, forecast without task_id didn't compute the effective hours. Also, this computation wasn't working when only the unit_amount in the time sheet was changed. Now, the effective hours of a forecast without task_id is correctly updated at each new time sheet, and when the time sheet unit_amount is changed. opw-2223013 Forward-Port-Of: odoo/enterprise#9953 Forward-Port-Of: odoo/enterprise#9916