<field name="purchase_date"/>
<group colspan="2" col="2">
<separator string="Depreciation Dates" colspan="2" />
- <button
- name="%(wizard_asset_modify)d"
- states="open"
- string="Change duration"
- type="action"
- colspan="2"/>
- <newline/>
<field name="method_time" on_change="onchange_method_time(method_time)"/>
<field name="method_delay" attrs="{'invisible':[('method_time','=','end')]}"/>
<field name="method_period"/>
- <field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','delay')]}"/>
+ <field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','delay')]}"/>
+ <newline/>
+ <button
+ name="%(action_asset_modify)d"
+ states="open"
+ string="Change Duration"
+ type="action"
+ icon="terp-stock_effects-object-colorize"
+ colspan="2"/>
</group>
<group colspan="2" col="2">
<separator string="Depreciation Method" colspan="2" />