diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-10-01 17:28:56 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-10-02 12:35:34 +0200 |
| commit | b2b9545cf38855fdb97e992aa2883cdab6909e96 (patch) | |
| tree | 0af0977a19c1dbf03c65426183e5bed36180f403 /addons/gamification/models/challenge.py | |
| parent | eaba05b9ae631cb907406996b3e4a79232965c22 (diff) | |
[IMP] ir_ui_view: Log warning on incorrect 'groups' attribute
Purpose
=======
They are a lot of places where we set an attribute 'groups' on a view element and:
- The group doesn't exist anymore
- The group xmlid is not correct
- The group xmlid exists but the modularity is not respected (example: group_stock_user
used in a view in the 'product' module).
Where it happens, nothing warns the user or the developer. The element is just never
rendered.
Specification
=============
In the method _check_xml, log a warning if a 'groups' attribute is set and if
a group doesn't not exist at that moment.
Diffstat (limited to 'addons/gamification/models/challenge.py')
0 files changed, 0 insertions, 0 deletions
