Commit Graph

2 Commits (7316fdf16c9b5e4555bc1ac454d01cda8fe883ed)

Author SHA1 Message Date
ernesto 3413b34041 [MIG] web_dialog_size: Migration to 12.0 2018-12-07 17:48:31 +01:00
Jairo Llopis 7ad14bd00c [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.
2018-12-07 17:48:17 +01:00