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.
 
 
 
 
 

38 lines
1.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--Franchise Agreement Form_view.-->
<record id="franchise_agreement_view_form" model="ir.ui.view">
<field name="name">franchise.agreement.view.form</field>
<field name="model">franchise.agreement</field>
<field name="arch" type="xml">
<form string="Agreement">
<sheet>
<group>
<field name="agreement_type"/>
<field name="agreement_body" widget="html"
class="oe-bordered-editor"
options="{'style-inline': true, 'codeview': true,
'dynamic_placeholder': true}"/>
</group>
</sheet>
<chatter/>
</form>
</field>
</record>
<!-- Franchise Agreement Tree_view-->
<record id="franchise_agreement_view_tree" model="ir.ui.view">
<field name="name">franchise.agreement.view.tree</field>
<field name="model">franchise.agreement</field>
<field name="arch" type="xml">
<list>
<field name="agreement_type"/>
</list>
</field>
</record>
<!-- Franchise Agreement Action -->
<record id="franchise_agreement_action" model="ir.actions.act_window">
<field name="name">Franchise Agreement</field>
<field name="res_model">franchise.agreement</field>
<field name="view_mode">list,form</field>
</record>
</odoo>