Commit Graph

3 Commits (04709b49a1b7aa2c0083b57dcbd39de67b7924f4)

Author SHA1 Message Date
OCA-git-bot 08763a2d57
pre-commit, black, isort 2019-10-12 12:32:55 +02:00
ernesto 6e89fb5896 [MIG] web_dialog_size: Migration to 12.0 2019-10-04 11:49:43 +05:30
Jairo Llopis fe42dbcd92 [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.
2019-10-04 11:49:43 +05:30