You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
1.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Purchase Agreement Renewal Wizard Form View -->
<record id="agreement_renewal_view_form" model="ir.ui.view" >
<field name="model">agreement.renewal</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group>
<field name="date"/>
<separator string="" colspan="4"/>
<field name="comments" default_focus="1"/>
<separator string="" colspan="4"/>
</group>
</group>
<chatter/>
</sheet>
<footer>
<button special="cancel" class="oe_highlight"
string="Cancel" icon="fa-close"/>
<button name="create_renewal" class="oe_highlight"
string="Renew Agreement" type="object"
icon="fa-refresh"/>
</footer>
</form>
</field>
</record>
<!-- Purchase Agreement Renewal Wizard Action -->
<record id="agreement_renewal_action"
model="ir.actions.act_window">
<field name="type">ir.actions.act_window</field>
<field name="name">Renew Agreement</field>
<field name="res_model">agreement.renewal</field>
<field name="view_mode">kanban,list,form</field>
<field name="view_id"
ref="agreement_renewal_view_form"/>
<field name="target">new</field>
</record>
</odoo>