mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[13.0][FIX]account_asset_management: use column_invisible for fields inside a tree of a o2m field
This commit is contained in:
committed by
sbiosca-s73
parent
337d89a776
commit
1761301c12
@@ -11,11 +11,11 @@
|
||||
>
|
||||
<field
|
||||
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
|
||||
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"
|
||||
/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user