[FIX] web_dialog_size: Fix usage for non-admins and reduce calls (#954)

This addon had 2 problems after migrating to v11:

1. One call to backend's `ir.config_parameter.get_param` was done for
   each instantiated dialog, while the setting served for the whole
   session equally.
2. That model is now readable only by admin users, so non-admins
   couldn't use the default at all.

Fixed now.
This commit is contained in:
Jairo Llopis
2018-06-13 08:54:46 +02:00
committed by GitHub
parent d59becba8a
commit 2810ad33f3
9 changed files with 49 additions and 78 deletions

View File

@@ -13,9 +13,9 @@
"Tecnativa, "
"Amaris, "
"Odoo Community Association (OCA)",
'website': "http://acsone.eu",
'website': "http://github.com/OCA/web",
'category': 'web',
'version': '11.0.1.0.2',
'version': '11.0.1.0.3',
'license': 'AGPL-3',
'depends': [
'web',