EnCoach Odoo 19 custom modules
Full backend implementation with custom Odoo modules: - encoach_api: Core API, user management, JWT auth - encoach_exam: Exam generation (reading, writing, listening, speaking) - encoach_evaluate: AI-powered evaluation (writing, speaking) - encoach_training: Training tips and walkthrough - encoach_storage: File storage management - encoach_payment: Stripe, PayPal, Paymob integration - encoach_mail: Email notifications Made-with: Cursor
This commit is contained in:
66
encoach_classroom/views/group_views.xml
Normal file
66
encoach_classroom/views/group_views.xml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="view_encoach_group_tree" model="ir.ui.view">
|
||||
<field name="name">encoach.group.tree</field>
|
||||
<field name="model">encoach.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<list string="Groups">
|
||||
<field name="name"/>
|
||||
<field name="admin_id"/>
|
||||
<field name="entity_id"/>
|
||||
<field name="disable_editing"/>
|
||||
<field name="participant_count" widget="badge"/>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_encoach_group_form" model="ir.ui.view">
|
||||
<field name="name">encoach.group.form</field>
|
||||
<field name="model">encoach.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Group">
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="admin_id"/>
|
||||
<field name="entity_id"/>
|
||||
<field name="disable_editing"/>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Participants" name="participants">
|
||||
<field name="participant_ids">
|
||||
<list editable="bottom">
|
||||
<field name="name"/>
|
||||
<field name="login"/>
|
||||
<field name="email"/>
|
||||
</list>
|
||||
</field>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_encoach_group" model="ir.actions.act_window">
|
||||
<field name="name">Groups</field>
|
||||
<field name="res_model">encoach.group</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="help" type="html">
|
||||
<p class="o_view_nocontent_smiling_face">
|
||||
Create your first group.
|
||||
</p>
|
||||
<p>
|
||||
Groups organize participants in the classroom for assignments and exams.
|
||||
</p>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_encoach_group"
|
||||
name="Groups"
|
||||
parent="encoach_core.menu_encoach_classroom"
|
||||
action="action_encoach_group"
|
||||
sequence="10"/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user