[13.0][IMP]account_asset_management: add optional attribute for added columns in invoice lines

This commit is contained in:
JordiMForgeFlow
2021-05-04 13:59:29 +02:00
parent 205dfe607b
commit 1092d4d4fa

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