Wednesday, December 15, 2021
11 changes
Enhancements to existing features
This update renames an internal JavaScript message model in the enterprise mail module to avoid confusion with similarly named backend models. The change helps developers maintain the messaging code more reliably without changing the user experience.
Original PR description
Rename javascript model `mail.message` to `Message` in order to distinguish javascript models from python models. Part of task-2701674. Community: https://github.com/odoo/odoo/pull/81366
This update renames an internal live chat support component to better separate website messaging code from backend business models. It does not change customer-facing behavior, but helps developers maintain the helpdesk live chat feature more reliably.
Original PR description
Rename javascript model `mail.thread_viewer` to `ThreadViewer` in order to distinguish javascript models from python models. Part of task-2701674.
This update renames internal JavaScript components used by the mail chatter area to better distinguish them from server-side models. It helps developers maintain the messaging features more safely without changing the user experience.
Original PR description
Rename javascript model `mail.chatter` to `Chatter` in order to distinguish javascript models from python models. Part of task-2701674. Community: https://github.com/odoo/odoo/pull/81325
The helpdesk live chat code was updated to use a clearer internal name for its messaging setup component. This helps developers distinguish website chat code from backend models, reducing confusion during future maintenance without changing how users experience live chat.
Original PR description
Rename javascript model `mail.messaging_initializer` to `MessagingInitializer` in order to distinguish javascript models from python models. Part of task-2701674. Community: https://github.com/odoo/odoo/pull/81387
The Approvals app received an internal naming update to make its JavaScript approval component easier to distinguish from the server-side approval model. This helps developers maintain the feature more safely without changing the user experience.
Original PR description
Rename javascript model `approvals.approval` to `Approval` in order to distinguish javascript model from python model. Part of task-2701674.
This update renames an internal messaging component used in enterprise features to better distinguish browser-side code from server-side models. It helps developers maintain related customer communication features more safely, with no expected change for end users.
Original PR description
Rename javascript model `mail.thread` to `Thread` in order to distinguish javascript models from python models. Part of task-2701674. \* = account_followup, website_helpdesk_livechat Community: https://github.com/odoo/odoo/pull/81433
This update renames an internal activity record used by Approvals, Sign, and VoIP to avoid confusion with a similarly named backend record. It should make future maintenance safer without changing how users work with these apps.
Original PR description
Rename javascript model `mail.activity` to `Activity` in order to distinguish javascript model from python model. Part of task-2701674. Community: https://github.com/odoo/odoo/pull/80555
Features or functions removed from Odoo
The Chilean electronic invoicing module no longer keeps an older partner lookup path that could select contacts from the wrong company. This reduces the risk of invoice save failures and access errors in the user interface.
Original PR description
In https://github.com/odoo/enterprise/pull/21956 a bugfix was implemented for _get_partner. It was matching on partners that didn't belong the company that would be set on the invoice, resulting in an exception while saving the record and read access errors when accessing the invoice in the UI. The fix changed the function signature, and the old code path with the bug in it was kept to keep the signature stable. This commit for master removes that old code path.
Miscellaneous changes
Step to reproduce: - Create pricelist with multiple price on an item. - Add product via service field to trigger the pricelist discount Current Behaviour: No product price update Behaviour after the PR: Pricelist is correctly computed opw-2699531 Forward-Port-Of: odoo/enterprise#22811 Forward-Port-Of: odoo/enterprise#22747
Original PR description
Step to reproduce: - Create pricelist with multiple price on an item. - Add product via service field to trigger the pricelist discount Current Behaviour: No product price update Behaviour after the PR: Pricelist is correctly computed opw-2699531 Forward-Port-Of: odoo/enterprise#22811 Forward-Port-Of: odoo/enterprise#22747
When the Reconciliation Model had a tax on the writeoff, the journal_id wasn't populated by `widget.get_reconciliation_dict_from_model()`, preventing the reconciliation from happening. Community PR: https://github.com/odoo/odoo/pull/81240 Ticket link: https://www.odoo.com/web#id=2689002&model=project.task opw-2689002 Forward-Port-Of: odoo/enterprise#22833 Forward-Port-Of: odoo/enterprise#22827
Original PR description
When the Reconciliation Model had a tax on the writeoff, the journal_id wasn't populated by `widget.get_reconciliation_dict_from_model()`, preventing the reconciliation from happening. Community PR: https://github.com/odoo/odoo/pull/81240 Ticket link: https://www.odoo.com/web#id=2689002&model=project.task opw-2689002 Forward-Port-Of: odoo/enterprise#22833 Forward-Port-Of: odoo/enterprise#22827
Current behavior : A client who had some customization that added entries in the dropdown menu couldn't see all the entries Steps to reproduce: Go to sale report Zoom the web page Open the 'measure' menu opw-2654127 Forward-Port-Of: odoo/enterprise#22754 Forward-Port-Of: odoo/enterprise#22344
Original PR description
Current behavior : A client who had some customization that added entries in the dropdown menu couldn't see all the entries Steps to reproduce: Go to sale report Zoom the web page Open the 'measure' menu opw-2654127 Forward-Port-Of: odoo/enterprise#22754 Forward-Port-Of: odoo/enterprise#22344