2
0

[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 committed by Rodrigo
parent 43d3b98445
commit e60864453b

View File

@ -12,11 +12,13 @@
<field <field
name="asset_profile_id" name="asset_profile_id"
attrs="{'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}" attrs="{'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
optional="show"
/> />
<field <field
name="asset_id" name="asset_id"
attrs="{'column_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"
optional="show"
/> />
</xpath> </xpath>
<xpath <xpath