Daily updates from Odoo
Thursday, June 3, 2021
11 changes · master
Enhancements to existing features
The Helpdesk customer rating email template has been updated to make the rating options easier to read and understand. This helps customers give feedback more comfortably, improving the quality of support satisfaction insights.
Original PR description
[IMP] helpdesk : rating mail template improvement This commit complements the improvement included in the pull request https://github.com/odoo/odoo/pull/71094, related to the rating icons from the 'rating' and 'project' modules, and improves the readability of the rating mail template from the 'helpdesk' module. -- task-2531541
This update standardizes selected website and portal links by removing trailing slashes from their URLs. Keeping one consistent URL format helps avoid duplicate-looking pages and supports clearer indexing by search engines.
Original PR description
* industry_fsm_report, sale_subscription, website_helpdesk At an crawling engine/SEO level, having trailing slashes or not in URLs doesn't change anything. Still, whichever solution is chosen, it should be done consistantly: either all URLs have trailing slashes, or none of them have it. See https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash " Be consistent with the preferred version. Use it in your internal links. If you have a Sitemap, include the preferred version (and don't include the duplicate URL). "
Resolved issues and error corrections
This fixes an automated test for the French FEC import module after a separate accounting tax closing change started creating an extra automatic entry. The adjustment keeps test results reliable without changing the FEC import behavior for users.
Original PR description
A new automatic entry was generated that has nothing to do with fec import. Chage of bahavior introduced here ad5cba918fed0ecd1cd45a16cf10e449ff000728
This fixes an issue in mass mailing email themes where changing snippet background colors could leave unwanted white borders or fail to update the visible column color. Business users creating marketing emails should see more reliable visual editing and cleaner email designs.
Original PR description
This fixes the cases where the colorpicker was not working as expected in mass mailing themes. Community PR: https://github.com/odoo/odoo/pull/71500
This fixes an incorrect company compatibility check on social media posts. It helps prevent valid posts from being blocked or invalid company combinations from being handled incorrectly in multi-company setups.
Original PR description
Bug === The constrain related to the multi-company of the social post is wrong. The operator "<" it not commutative. The condition "a < b" is not equivalent as "not (a >= b)"
This fixes how Documents Spreadsheet requests display names when spreadsheet data refers to multiple records. Users should see the correct record names in pivot-related spreadsheet views instead of errors or missing labels.
Original PR description
name_get was not properly called from the client when the argumments represented a recordset instead of a single record. taskId: [2550986](https://www.odoo.com/web#id=2550986&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)
Features or functions removed from Odoo
This update removes leftover references to an old product type that is no longer used. It helps keep delivery and online sales logic aligned with the current product model, reducing confusion and future maintenance risk.
Original PR description
The product type value `digital` is gone since long time, see 1a1efe3fce12. This commit removes the leftover occurences of it. Relatedt to https://github.com/odoo/odoo/issues/25651
Code cleanup and technical improvements
This change separates test-specific behavior from the real electronic invoicing process. It makes the Mexico and Peru e-invoicing code easier to maintain and reduces the risk that testing shortcuts affect business logic.
Original PR description
…l_invoice_edi Before this commit, business logic was mixed with tests. This commit aims to replace the test_mode with mocks for all account_edi tests.
Miscellaneous changes
… = date When the due date is the same as the invoice date, it might be a mistake from the OCR system which was unable to find a due date. In that case, we now use the payment terms set on the vendor instead. opw: 2535989 Forward-Port-Of: odoo/enterprise#18675
Original PR description
… = date When the due date is the same as the invoice date, it might be a mistake from the OCR system which was unable to find a due date. In that case, we now use the payment terms set on the vendor instead. opw: 2535989 Forward-Port-Of: odoo/enterprise#18675
The parameter is named methodS, otherwise the value is ignored Forward-Port-Of: odoo/enterprise#18658 Forward-Port-Of: odoo/enterprise#18644
Original PR description
The parameter is named methodS, otherwise the value is ignored Forward-Port-Of: odoo/enterprise#18658 Forward-Port-Of: odoo/enterprise#18644
Issue: - Install `sale_subscription` module - Go to `Subscription -> Configuration -> Subscription Template` - Open any template and edit it - Select `Invoice` as `Payment method` 'Automatic closing limit' field (`auto_close_limit`) is displayed. Cause: `auto_close_limit` is hidden only if `payment_mode` is equal to `manual` or `draft_invoice`. Solution: If `payment_mode` equal `validate_send`, hide `auto_close_limit` field. opw-2547445 Forward-Port-O
Original PR description
Issue: - Install `sale_subscription` module - Go to `Subscription -> Configuration -> Subscription Template` - Open any template and edit it - Select `Invoice` as `Payment method` 'Automatic closing limit' field (`auto_close_limit`) is displayed. Cause: `auto_close_limit` is hidden only if `payment_mode` is equal to `manual` or `draft_invoice`. Solution: If `payment_mode` equal `validate_send`, hide `auto_close_limit` field. opw-2547445 Forward-Port-Of: odoo/enterprise#18689 Forward-Port-Of: odoo/enterprise#18622