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.
 
 
 
 
 

42 lines
1.7 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>
<div class="oe_chatter">
<field name="message_follower_ids"/>
<field name="activity_ids"/>
<field name="message_ids"/>
</div>
</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">
<tree>
<field name="agreement_type"/>
</tree>
</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">tree,form</field>
</record>
</odoo>