1
votes

In Openerp :

In project:module

How can only a task-owner/creator can delete the task & not other members of that group(Project/Manager)?? How to set access rights for this.

please explain

1

1 Answers

0
votes

Security click here

and create a acess permission in a file called "ir.model.access.csv"

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_shipment,access_shipment,model_shipment,group_shipment_admin,1,1,1,1

and provide only read permission

and the other way is inherit the the delete method and put your and then return to super delete function

please let me if you have any more doubts