[FIX] account_asset: adapt name in form of account.asset.category
Name should be Deferred Revenue Type if the type is sale
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<form string="Asset category">
|
||||
<group>
|
||||
<div class="oe_title oe_inline">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
<div class="oe_title">
|
||||
<label for="name" string="Asset Type" class="oe_edit_only" attrs="{'invisible': [('type','!=','purchase')]}"/>
|
||||
<label for="name" string="Deferred Revenue Type" class="oe_edit_only" attrs="{'invisible': [('type','==','purchase')]}"/>
|
||||
<h1>
|
||||
<field name="name" placeholder="e.g. Computers"/>
|
||||
</h1>
|
||||
|
||||
Reference in New Issue
Block a user