update education module
This commit is contained in:
@@ -1,3 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="education_school_view_form" model="ir.ui.view">
|
||||
<field name="name">education.school.form</field>
|
||||
<field name="model">education.school</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="school Form">
|
||||
<sheet>
|
||||
<!-- <widget name="web_ribbon" title="Archived" bg_color="bg-danger" /> -->
|
||||
<group>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="code" />
|
||||
<field name="address" />
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Classes" name="classes">
|
||||
<field name="class_ids" widget="many2many_tags" />
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="education_school_view_list" model="ir.ui.view">
|
||||
<field name="name">education.school.list</field>
|
||||
<field name="model">education.school</field>
|
||||
<field name="arch" type="xml">
|
||||
<list string="school list">
|
||||
<field name="name" />
|
||||
<field name="code" />
|
||||
<field name="address" />
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
<record id="education_school_action" model="ir.actions.act_window">
|
||||
<field name="name">School</field>
|
||||
<field name="res_model">education.school</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user