[13.0][FIX]account_asset_management: use column_invisible for fields inside a tree of a o2m field

This commit is contained in:
JordiMForgeFlow
2021-05-04 12:59:53 +02:00
parent 28389b6cac
commit 0a37d7fdbb

View File

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