Skip to Content
Menu
This question has been flagged
2280 Views

Hi,

i have created ir.rule in version 9 to show partner records belong to particular company.

<record id="current_company_vendors" model="ir.rule">

        <field name="name">Current Company Parnters</field>

        <field name="model_id" ref="base.model_res_partner"/>

        <field name="global" eval="True"/>

        <field name="domain_force">['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)]

        </field>

    </record>


Everything is proper we added some custom dashboard and raises error 
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: res.partner, Operation: read)

and in sale order too.

is it problem in record added different company for partner?

Even its having full permission .


Regards


Avatar
Discard