Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information