trytond-party_company/stock.xml

12 lines
476 B
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data depends="stock">
<!-- rule in case has not issue4482.diff patch -->
<record model="ir.rule" id="stock.rule_inventory">
<field name="domain" eval="[('company', 'in', Eval('user', {}).get('companies', []))]" pyson="1"/>
</record>
</data>
</tryton>