Files
2026-07-01 14:41:49 +07:00

117 lines
6.0 KiB
XML

<openerp>
<data>
<record model="ir.ui.view" id="scholarship_kanban">
<field name="name">scholarship_kanban</field>
<field name="model">youth.scholarship</field>
<field name="arch" type="xml">
<kanban class="o_res_partner_kanban">
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_global_click o_res_partner_kanban">
<div class="o_kanban_tags_section oe_kanban_partner_categories"/>
<div class="o_kanban_image">
<t>
<img t-att-src="kanban_image('youth_and_scholarship.youth_and_scholarship', 'image', record.id.value)"/>
</t>
</div>
<div class="oe_kanban_details">
<strong class="oe_partner_heading"><field name="Kname"/></strong>
<ul>
<li><field name="Ename"/></li>
<li><field name="Gender"/></li>
<li><field name="DOB"/></li>
<li><field name="Job_work"/></li>
</ul>
<div class="oe_kanban_partner_links"/>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
<record model="ir.ui.view" id="student_stu_tree">
<field name="name">Student info</field>
<field name="model">youth.scholarship</field>
<field name="arch" type="xml">
<list>
<field name="image" widget="image"/>
<field name="Kname"/>
<field name="Ename"/>
<field name="Gender"/>
<field name="DOB"/>
<field name="Job_work"/>
</list>
</field>
</record>
<record id="form_student_stu" model="ir.ui.view">
<field name="name">Student Info</field>
<field name="model">youth.scholarship</field>
<field name="arch" type="xml">
<form string="Job Form" version="9.0">
<div class="widget_box">
<div class="widget_title"><h5><label for="information" string="ពត៌មានរបស់សិស្ស"/></h5></div>
<div>
<group col="1">
<field name="image" widget="image" class="oe_avatar oe_left" nolabel="1"/>
</group>
<group>
<field name="Kname" placeholder="First Name and Last Name..." style="width:40%%"/>
<field name="Ename" placeholder="First Name and last Name..." style="width:40%%"/>
<field name="Gender" style="width:40%%" />
<field name="DOB" />
<field name="Job_work" style="width:40%%"/>
</group>
</div>
<notebook>
<page name="Father and mother" string="ពត៌មានឪពុក និងម្តាយ">
<group>
<field name="parent_id" nolabel="1">
<list string="Father" editable="bottom">
<field name="type_postion" />
<field name="Ename"/>
<field name="Age" string="អាយុ"/>
<field name="acc"/>
<field name="situation"/>
<field name="Phone"/>
</list>
</field>
</group>
</page>
</notebook>
</div>
</form>
</field>
</record>
<record model="ir.actions.act_window" id="student_stu">
<field name="context">{'default_Job_id': 'student scholarship'}</field>
<field name="name">Student Info</field>
<field name="res_model">youth.scholarship</field>
<field name="view_mode">list,form,kanban</field>
<field name="domain">[("IsDeleted","=",1),("Job_id","=","student scholarship")]</field>
</record>
<record model="ir.actions.act_window.view" id="act_student_stu_tree">
<field eval="1" name="sequence"/>
<field name="view_mode">tree</field>
<field name="view_id" ref="student_stu_tree"/>
<field name="act_window_id" ref="student_stu"/>
</record>
<record model="ir.actions.act_window.view" id="act_form_student_stu">
<field eval="2" name="sequence"/>
<field name="view_mode">form</field>
<field name="view_id" ref="form_student_stu"/>
<field name="act_window_id" ref="student_stu"/>
</record>
<!-- actions -->
<menuitem name="SCHOLARSHIP" id="scholarship_menu_1" groups="youth_and_scholarship.group_uyfc_manager,base.user_root" web_icon="youth_and_scholarship,static/description/scholarship.png" sequence="3"/>
<menuitem name="កំណត់" id="setting_menu" parent="scholarship_menu_1" groups="youth_and_scholarship.group_uyfc_manager,base.user_root"/>
<menuitem name="អាហាររូបករណ៍សិស្ស" id="users_log_menu" parent="scholarship_menu_1"
action="student_stu" groups="youth_and_scholarship.group_uyfc_manager,base.user_root"/>
</data>
</openerp>