Skip to Content
Menu
This question has been flagged
2043 Views

Hi,

In module document management system i have a folder,  and i want only the owner who can see the document, I tested several times but I did not succeed :

[('alias_user_id', '=', user.id)]

​ [('user_id','=',user.id)] ​

​ [('create_uid','=',user.id)]

[('criteria_owner_id', '=', user.id)] 

['|',(' create_uid','=',user.id),(' create_uid','=',False)]

And I want to know the object I need to use : documents.share  or documents.workflow.action or documents.workflow.tag.criteria or documents.request_wizard or documents.folder or documents.facet or documents.workflow.rule or documents.tag


Thank you

Avatar
Discard