my goal is create 4 groups in account.invoice res.partner and product.product, each group can see only their own invoices, costumers and products.
Can I achive this with a filter domain in a record rule, can anybody give me a example for this case.
Thanks for your help.
Did you try the CRM module, it has already a kind of behaviour with crm.sections and the way they can view orders, opportunity, etc... Anyway, It's of course possible to do what you expect but it's a little complicated. You'll have to define all your 4 groups and defined some rules that will verify that the owner of the order/product/invoice have the appropriate group in common with you. hard work in all the case