Merge PR #1176 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2021-05-04 13:51:57 +00:00

View File

@@ -29,11 +29,13 @@
name="asset_profile_id"
domain="[('company_id','=', parent.company_id)]"
attrs="{'column_invisible': [('parent.type', 'not in', ('in_invoice', 'in_refund'))]}"
optional="show"
/>
<field
name="asset_id"
attrs="{'column_invisible': [('parent.type', 'not in', ('out_invoice', 'out_refund'))]}"
groups="account.group_account_manager"
optional="show"
/>
</xpath>
<xpath