Monday, March 29, 2021
4 changes · master
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