Community mailing list archives

community@mail.odoo.com

Re: Record rules

by
Graeme Gellatly
- 08/17/2016 23:43:48

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.


On Thu, 18 Aug 2016 2:07 AM Ray Carnes <ray.carnes@bistasolutions.com> wrote:
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.


From: Mandjou
Sent: ‎8/‎17/‎2016 6:23 AM
To: Community
Subject: Record rules

Hi!
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe