Hi everybody, I'm using Odoo v15.
I'm trying to hide save and discard record button only on specific FORM view:
em.attendances.students.sheet.form
em.attendances.students.sheet
attrs="{'invisible': [('active', '=', True)]}"/>
I already try the following:
--> Added create="false" and edit="false" on the form tag:
--> Modify access rights. I created a new group and give to the user only "read rights", but the problem here is that I have a tree view showed before the form view, and I NEED to show the "create" button in the tree view (I attached the code of this view next):
--> I tried to add some js file linked to the view, but I can not run the script
em.attendances.students.sheet.tree
em.attendances.students.sheet
Please, any help will be useful, thanks in advance!