Thanks for your reply !
What i'd like to do is a kind of RBAC with documents : users from the same group can only access the documents from his group ?? e.g if a document is created by an IT group member, only IT group can access the document and no other groups !
It looks like possibe to do that in Odoo with ACLs and record rules but it is not so trivial to me !
Thanks for your help.
Ok find a solution :-)
add an extra field for group selection in model document.document
modify form view to add that field
add a record rule to allow user to access their own documents or groups allowed from the extra field
["|",('create_uid', '=', user.id),('x_doc_groups_ids','in', [g.id for g in user.groups_id])]