flectra/addons/account_asset/wizard/scrap_asset_wizard_view.xml
2018-07-25 15:25:19 +05:30

37 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<flectra>
<record id="asset_scrap_form_view" model="ir.ui.view">
<field name="name">scrap.asset.wizard</field>
<field name="model">scrap.asset.wizard</field>
<field name="arch" type="xml">
<form>
<group col="4">
<field name="partner_id"/>
<field name="asset_id" readonly="1"/>
<field name="product_id"/>
<field name="asset_category_id"/>
<field name="depreciated_amount"/>
<field name="sale_date"/>
</group>
<footer>
<button name="do_scrap" string="Confirm"
type="object"
class="oe_highlight" context="{}"/>
<button string="Cancel" class="oe_highlight"
special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="asset_scrap_action" model="ir.actions.act_window">
<field name="name">Scrap Asset</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">scrap.asset.wizard</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</flectra>