Community mailing list archives
Re: Record rulesby
Actually that's not quite correct. They can see messages for their commercial partner, which is usually them or parent but doesn't have to be and any message to any children or grandchildren of the commercial partner. Don't think child of goes below grand children.
Notwithstanding any mediating access rules.
Show only messages for this Customer and for the fiduciary of this Customer.
The fiduciary is either the Customer itself, or the parent of the Customer.
Customer Parent may be Odoo S.A.
Customer may be Odoo USA.
Odoo USA logs in to portal and can see messages for Odoo USA and their parent, Odoo S.A.
Customer Parent may be ACME Inc.
Customer may be John Smith.
John Smith logs in to portal and can see messages for John Smith and their parent, ACME Inc.
I want to know what this rule means: [('message_partner_ids','child_of',[user.partner_id.commercial_partner_id.id])] that is on portal group about purchase order