commit
fde9d20eda
@ -10,5 +10,6 @@
|
|||||||
<field name="code">account.loan</field>
|
<field name="code">account.loan</field>
|
||||||
<field name="prefix">ACL</field>
|
<field name="prefix">ACL</field>
|
||||||
<field name="padding">6</field>
|
<field name="padding">6</field>
|
||||||
|
<field name="company_id" eval="False" />
|
||||||
</record>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<field ref="model_account_loan" name="model_id" />
|
<field ref="model_account_loan" name="model_id" />
|
||||||
<field eval="True" name="global" />
|
<field eval="True" name="global" />
|
||||||
<field name="domain_force">
|
<field name="domain_force">
|
||||||
['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
|
['|',('company_id','=',False),('company_id','in',company_ids)]
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user