[13.0][FIX]account_asset_management: use column_invisible for fields inside a tree of a o2m field
This commit is contained in:
parent
7f895e9a07
commit
43d3b98445
@ -11,11 +11,11 @@
|
|||||||
>
|
>
|
||||||
<field
|
<field
|
||||||
name="asset_profile_id"
|
name="asset_profile_id"
|
||||||
attrs="{'invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
|
attrs="{'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
|
||||||
/>
|
/>
|
||||||
<field
|
<field
|
||||||
name="asset_id"
|
name="asset_id"
|
||||||
attrs="{'invisible': [('parent.move_type', 'not in', ('out_invoice', 'out_refund'))]}"
|
attrs="{'column_invisible': [('parent.move_type', 'not in', ('out_invoice', 'out_refund'))]}"
|
||||||
groups="account.group_account_manager"
|
groups="account.group_account_manager"
|
||||||
/>
|
/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
Loading…
Reference in New Issue
Block a user