Search
Navigate
Branch
Monday, March 29, 2021
6 changes
New functionality added to Odoo
Users can now work with Helpdesk tickets directly from supported email plugins. They can view tickets linked to a contact, log emails to tickets, and create new tickets from email content, reducing manual copying and helping support teams capture customer context faster.
Original PR description
This commits adds a new module in order to enable helpdesk support for mail plugins The new module will be automatically installed if all of its required dependencies are installed mainly the…
This commits adds a new module in order to enable helpdesk support for mail plugins The new module will be automatically installed if all of its required dependencies are installed mainly the mail_client_extention and the helpdesk modules, because if the user has already insalled these modules it is not convenient to ask him to install this new module manually. The module provides the following features: - Enables the user to see tickets related to the selected contact - overrides the _get_loggable_models method in order to enable the user to log an email directly to a ticket as this can be useful when the user finds important information in the email - overrides the _get_partner_extra_info method and adds a new key containing tickets related to the provided partner, thus allowing the parent main method to return tickets related to the contact. - Enable the user to create a ticket with the email message being directly set in the description field, as the user would probable want the email message to be included in the created ticket, this is done through the "create_ticket_from_email" method, which the plugins will use in order to create the ticket and send the related information, the plugin would then directly redirect the user to the ticket form view realted to the created ticket in edit mode. - Enable the user to create a lead with the email message being directly set in the description field, as the user would probable want the email message to be included in the lead, this is done through the "create_lead_from_email" method, which the plugins will use in order to create the lead and send the related information, the plugin would then directly redirect the user to the lead form view realted to the created lead in edit mode. Task-2427737
Enhancements to existing features
This update standardizes how tax details are prepared for electronic invoices in the Mexico and Peru localization modules. It helps make invoice exports more consistent and easier to maintain, reducing the risk of formatting differences in local compliance documents.
Miscellaneous changes
These record rules were meant to restrict access to certain model to create/write/unlink, but not read. This was leading to issues when others models were trying to read a template. Unit test were also added to the sms module to ensure that a member of group_user can always read a sms template. task-2191254 Forward-Port-Of: odoo/enterprise#17340
Original PR description
These record rules were meant to restrict access to certain model to create/write/unlink, but not read. This was leading to issues when others models were trying to read a template. Unit test were also added to the sms module to ensure that a member of group_user can always read a sms template. task-2191254 Forward-Port-Of: odoo/enterprise#17340
Forward-Port-Of: odoo/enterprise#17275 Forward-Port-Of: odoo/enterprise#14730
Original PR description
Forward-Port-Of: odoo/enterprise#17275 Forward-Port-Of: odoo/enterprise#14730
Installing the module on large database could take long time or even fail due to timeout error. On the other hand, we don't need value of ``release_to_pay`` on paid invoices: https://github.com/odoo/enterprise/blob/25cfb53c88b00a3dfeb25dba8baa22524884ce28/account_3way_match/models/account_journal_dashboard.py#L27-L29 https://github.com/odoo/enterprise/blob/25cfb53c88b00a3dfeb25dba8baa22524884ce28/account_3way_match/views/account_invoice_view.xml#L28 Perfomance test on a database with
Original PR description
Installing the module on large database could take long time or even fail due to timeout error. On the other hand, we don't need value of ``release_to_pay`` on paid invoices: https://github.com/odoo/enterprise/blob/25cfb53c88b00a3dfeb25dba8baa22524884ce28/account_3way_match/models/account_journal_dashboard.py#L27-L29 https://github.com/odoo/enterprise/blob/25cfb53c88b00a3dfeb25dba8baa22524884ce28/account_3way_match/views/account_invoice_view.xml#L28 Perfomance test on a database with 10 K paid invoices, measured for ``button_immediate_install``: ``` | measurement | before | after | |--------------------+---------+-------| | number of queries | 23 500 | 2 650 | | query time, ms | 10 200 | 3 500 | | remaining time, ms | 345 000 | 6 400 | ``` --- opw-2449919 Forward-Port-Of: odoo/enterprise#17311 Forward-Port-Of: odoo/enterprise#16794
Enterprise part of odoo/odoo#68023. With the change, the quick edit on click happen a given delay (currently 350ms) later, so test needs to be adapted for that. Forward-Port-Of: odoo/enterprise#17221
Original PR description
Enterprise part of odoo/odoo#68023. With the change, the quick edit on click happen a given delay (currently 350ms) later, so test needs to be adapted for that. Forward-Port-Of: odoo/enterprise#17221