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.
 
 
 
 
 

77 lines
3.6 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- View form of Education fee structure-->
<record id="education_fee_structure_view_form" model="ir.ui.view">
<field name="name">education.fee.structure.view.form</field>
<field name="model">education.fee.structure</field>
<field name="arch" type="xml">
<form string="Fee Structure" class="o_invoice_form">
<sheet string="Fee Structure">
<h1 class="mt0">
</h1>
<group>
<group>
<field name="fee_structure_name"
placeholder="Eg:LKG and UKG"/>
<field name="expire" invisible="1"/>
<field name="category_id"/>
</group>
<group>
<field name="academic_year_id"/>
</group>
</group>
<notebook colspan="4">
<page string="Fee Heading">
<field name="fee_type_ids" nolabel="1"
widget="one2many" mode="list">
<list string="Fee Types" editable="bottom">
<field name="fee_type_id"/>
<field name="payment_type"/>
<field name="fee_description"/>
<field name="interval"
placeholder="Eg: Quarterly"/>
<field name="fee_amount" required="1"
widget="monetary"/>
</list>
</field>
<group class="oe_subtotal_footer oe_right">
<field name="amount_total"
class="oe_subtotal_footer_separator"/>
</group>
<field name="comment"
placeholder="Terms and conditions..."/>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<!-- Tree view of Education Fee Structure-->
<record id="education_fee_structure_view_tree" model="ir.ui.view">
<field name="name">education.fee.structure.view.list</field>
<field name="model">education.fee.structure</field>
<field name="arch" type="xml">
<list string="Fee Structure">
<field name="fee_structure_name"/>
<field name="academic_year_id"/>
<field name="category_id"/>
<field name="amount_total" widget="monetary"/>
</list>
</field>
</record>
<!--Action for Education fee structure-->
<record id="education_fee_structure_action" model="ir.actions.act_window">
<field name="name">Fee Structure</field>
<field name="res_model">education.fee.structure</field>
<field name="view_mode">list,form</field>
</record>
<!-- Menu for configuration-->education_fee_structure_action
<menuitem
id="education_fee_structure_menu_root"
parent="education_fee_menu_root" name="Configuration"
sequence="2"/>
<menuitem action="education_fee_structure_action"
id="menu_action_fee_structure"
parent="education_fee_structure_menu_root"
sequence="1"/>
</odoo>