Commit Graph

3 Commits (ebfd0708a455bcd7aa42d255a6b14c186ebdb64c)

Author SHA1 Message Date
OCA-git-bot 69f82f7048 pre-commit, black, isort 2020-10-16 12:43:31 +08:00
ernesto 05600a9900 [MIG] web_dialog_size: Migration to 12.0 2020-10-16 12:43:31 +08:00
Jairo Llopis a1991ab85a [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.
2020-10-16 12:43:31 +08:00