2
0

Merge PR #1760 into 16.0

Signed-off-by adrienpeiffer
This commit is contained in:
OCA-git-bot 2023-10-31 08:25:49 +00:00
commit fde9d20eda
2 changed files with 2 additions and 1 deletions

View File

@ -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>

View File

@ -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>