I encountered an error in Odoo when I added a groups attribute to an inherited view. The error message states: "Inherited view cannot have 'Groups' defined on the record. Use 'groups' attributes inside the view definition." How can I resolve this issue? What is the correct approach to applying group restrictions in inherited views?
