[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:
Martin Geubelle
2015-10-22 11:49:07 +02:00
parent f8b65541f9
commit fcd4d35e33
@@ -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>