Commit Graph

3 Commits (9f8e83bac82142dde65e726f27d3da45f196dcbc)

Author SHA1 Message Date
OCA-git-bot 9b77d7fa22 pre-commit, black, isort 2022-03-10 14:24:00 +00:00
ernesto f8dc8750d7 [MIG] web_dialog_size: Migration to 12.0 2022-03-10 14:24:00 +00:00
Jairo Llopis f7b883c4c3 [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.
2022-03-10 14:24:00 +00:00