In v16, when trying to add groups to access rights for an inherited view, I get the following error:
"Inherited view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"
This was how I did things previously in v13, etc.
Now when I try to use groups as an attribute like this:
to prevent users in the group stock.group_stock_manager from being able to create, edit, or delete products, it doesn't work. When I do the above, it turns editing off for everyone, regardless of the groups attribute.
How can I turn off create/edit/delete for specified groups only in v16?
Edit: I uploaded a photo of the code because the forum stripped out all of the XML tags.
try to use group Directly in attribute like this(remove code after position from xpath line
<attribute name="groups">stock.group_stock manager</attribute>
(rest of the attribute same)
Thanks