landed_cost_security.xml 439 Bytes
<?xml version="1.0" encoding="utf-8"?>
<openerp>

<data noupdate="1">
    <record id="landed_costs_comp_rule" model="ir.rule">
        <field name="name">Landed Costs</field>
        <field name="model_id" ref="model_landed_cost_position"/>
        <field name="global" eval="True"/>
        <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
    </record>
</data>

</openerp>