Commit Graph

1 Commits (9503c8832e9d02ee539aeffb9e3c9b5b3e225d26)

Author SHA1 Message Date
Jairo Llopis 38dd1ba89d [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.
2023-03-02 10:06:55 +01:00