Friday, April 17, 2020
11 changes · master
Enhancements to existing features
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.
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
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
**[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