first push message
This commit is contained in:
@@ -0,0 +1,216 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="cpp_input_tree">
|
||||
<field name="name">ការបញ្ជូលសមាជិក</field>
|
||||
<field name="model">cpp.parent</field>
|
||||
<field name="arch" type="xml">
|
||||
<list>
|
||||
<field name="group"/>
|
||||
<field name="district"/>
|
||||
<field name="commune"/>
|
||||
<field name="village"/>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
<record model="ir.ui.view" id="cpp_input_form">
|
||||
<field name="name">ការបញ្ជូលសមាជិក</field>
|
||||
<field name="model">cpp.parent</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<header>
|
||||
<field name="status" invisible="1"/>
|
||||
<field name="is_delete" invisible="1"/>
|
||||
<button name="action_to_review" string="ការបញ្ជួនទៅត្រួតពិនិត្យ" type="object" confirm="Are you sure you want to do this?" invisible="state == 'sent'"/>
|
||||
<button name="action_delete" string="លុបចោល" type="object" confirm="Are you sure you want to do this?" groups="base.user_root"/>
|
||||
<field name="state" widget="statusbar"/>
|
||||
</header>
|
||||
<div>
|
||||
<div class="font_box" >
|
||||
<div style="float: left; padding:0 0 30px 20px; width:25%%">
|
||||
<group style="font-family:Khmer OS Muol Light ;src:url(../font/KhmerOS_muollight.ttf) ;format('truetype'); font-size:11px;">
|
||||
<field name="district" string="គណៈកម្មាធិការគណបក្សស្រុក" widget="selection"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="commune" widget="selection"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="village" widget="selection"/>
|
||||
<field name="group"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="no" string="ផ្ទះលេខ"/>
|
||||
<field name="street" string="ផ្លូវលេខ"/>
|
||||
</group>
|
||||
</div>
|
||||
<div style="padding:0 30px 30px 0; float:right;text-align:center;">
|
||||
<div><strong>ឯករាជ្យ សន្តិភាព សេរីភាព ប្រជាធិបតេយ្យ </strong></div>
|
||||
<div><strong>    អព្យាក្រឹត និង វឌ្ឍនភាពសង្គម</strong></div>
|
||||
</div>
|
||||
<div style="text-align: center; margin:0 200px 0 0;">
|
||||
<div><img src='/youth_and_scholarship/static/src/img/logo_cpp.png' style="width:80px; height:70px;"/></div>
|
||||
<div style="margin:10px 0 0 0" class="font_bold_light"><strong style="padding:0 45px 0 0; font-family:Khmer OS Muol Light ;src:url(../font/KhmerOS_muollight.ttf) ;format('truetype'); text-align:center; font-size:11px;">បញ្ជីរាយនាមសមាជិកបក្សតាមគ្រួសារបក្ស</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<field name="child_cpp_id">
|
||||
<list>
|
||||
<field name="kname"/>
|
||||
<field name="Gender" style="width:60%%"/>
|
||||
<field name="dob"/>
|
||||
<field name="Job_work"/>
|
||||
<field name="date_in"/>
|
||||
<field name="no_card"/>
|
||||
<field name="type_postion"/>
|
||||
<field name="id_card"/>
|
||||
<field name="other"/>
|
||||
</list>
|
||||
</field>
|
||||
</div>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_family_cpp_input">
|
||||
<field name="name">family_cpp_from_input</field>
|
||||
<field name="model">family.cpp</field>
|
||||
<field name="arch" type="xml">
|
||||
<form class="font_box">
|
||||
<field name="image" widget="image" class="oe_avatar"/>
|
||||
<group>
|
||||
<group>
|
||||
<field name="kname"/>
|
||||
<field name="Gender"/>
|
||||
<field name="phone_id" string="លេខទូរស័ព្ទ"/>
|
||||
<field name="email_id" string="អ៊ីម៉ែល"/>
|
||||
<field name="telegram" string="តេឡេក្រាម"/>
|
||||
<field name="facebook" string="Facebook"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="dob" placeholder="01/01/1992"/>
|
||||
<field name="years" readonly="1"/>
|
||||
<field name="Job_work"/>
|
||||
<field name="position_id" widget="many2many_tags" string="តួនាទី"/>
|
||||
<field name="organize_id" widget="many2many_tags" string="អង្គភាព"/>
|
||||
<field name="instite_id" widget="many2many_tags" string="ស្ថាប័ន"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="status_family"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="post_in_family"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="pod" colspan="2">
|
||||
<list editable="bottom">
|
||||
<field name="province_id" widget="selection"/>
|
||||
<field name="district_id" widget="selection"/>
|
||||
<field name="commune_id" widget="selection"/>
|
||||
<field name="village_id" widget="selection"/>
|
||||
<field name="street"/>
|
||||
<field name="No"/>
|
||||
</list>
|
||||
</field>
|
||||
</group>
|
||||
<group>
|
||||
<group>
|
||||
<field name="date_in"/>
|
||||
<field name="id_card"/>
|
||||
<field name="no_card"/>
|
||||
</group>
|
||||
<group >
|
||||
<field name="type_postion"/>
|
||||
<field name="cpp_parent_id" invisible="1"/>
|
||||
<field name="district_id" invisible="type_postion != 2"/>
|
||||
<field name="commune_id" invisible="type_postion != 2"/>
|
||||
<field name="village_id" invisible="type_postion != 2"/>
|
||||
<field name="group_id" invisible="type_postion != 2"/>
|
||||
<field name="other"/>
|
||||
<field name="ps_id"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="el_Office">
|
||||
<list editable="bottom">
|
||||
<field name="province_id" widget="selection"/>
|
||||
<field name="district_id" widget="selection"/>
|
||||
<field name="commune_id" widget="selection"/>
|
||||
<field name="village_id" widget="selection"/>
|
||||
<field name="street"/>
|
||||
<field name="No"/>
|
||||
</list>
|
||||
</field>
|
||||
</group>
|
||||
<group>
|
||||
<field name="no_ps"/>
|
||||
<field name="time" string="បោះឆ្នោតបាន" placeholder="ដង"/>
|
||||
</group>
|
||||
<group string="ព័ត៌មានគ្រួសារ" invisible="status_family == '1'">
|
||||
<field name="child_id" colspan="2">
|
||||
<list>
|
||||
<field name="kname"/>
|
||||
<field name="Gender"/>
|
||||
<field name="dob"/>
|
||||
</list>
|
||||
</field>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<!-- <record id="search_view" model="ir.ui.view">-->
|
||||
<!-- <field name="name">group_by_input</field>-->
|
||||
<!-- <field name="model">cpp.parent</field>-->
|
||||
<!-- <field name="arch" type="xml">-->
|
||||
<!-- <search string="DMR">-->
|
||||
<!-- <field name="commune"/>-->
|
||||
<!-- <field name="village"/>-->
|
||||
<!-- <field name="group"/>-->
|
||||
<!-- <filter name="commune"/>-->
|
||||
<!-- <filter name="village"/>-->
|
||||
<!-- <filter name="group"/>-->
|
||||
<!-- <group expand="0" string="Group By">-->
|
||||
<!-- <filter string="ឃុំ" name="commune" context="{'group_by': 'commune'}"/>-->
|
||||
<!-- <filter string="ភូមិ" name="village" context="{'group_by': 'village'}"/>-->
|
||||
<!-- <filter string="ក្រុមទី" name="group" context="{'group_by': 'group'}"/>-->
|
||||
<!-- </group>-->
|
||||
<!-- </search>-->
|
||||
<!-- </field>-->
|
||||
<!-- </record>-->
|
||||
<record model="ir.actions.act_window" id="family_cpp_form_action">
|
||||
<field name="name">សមាជិកបក្ស</field>
|
||||
<field name="res_model">family.cpp</field>
|
||||
<field name="view_mode">form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.actions.act_window" id="cpp_input_new">
|
||||
<field name="name">ការបញ្ចូលព័ត៌មាន</field>
|
||||
<field name="res_model">cpp.parent</field>
|
||||
<field name="view_mode">list,form</field>
|
||||
<field name="domain">[("status","=","input"),("is_delete","=",1)]</field>
|
||||
</record>
|
||||
<record model="ir.actions.act_window.view" id="act_input_tree">
|
||||
<field eval="1" name="sequence"/>
|
||||
<field name="view_mode">list</field>
|
||||
<field name="view_id" ref="cpp_input_tree"/>
|
||||
<field name="act_window_id" ref="cpp_input_new"/>
|
||||
</record>
|
||||
<record model="ir.actions.act_window.view" id="act_input_form">
|
||||
<field eval="2" name="sequence"/>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="cpp_input_form"/>
|
||||
<field name="act_window_id" ref="cpp_input_new"/>
|
||||
</record>
|
||||
<menuitem name="CPP-TAKEO" id="youth_and_scholarship_menu_root_1" sequence="2" web_icon="youth_and_scholarship,static/description/icon.png" groups="youth_and_scholarship.group_cpp_manager,youth_and_scholarship.group_cpp_user,youth_and_scholarship.group_user_readonly,youth_and_scholarship.group_cpp_user_input"/>
|
||||
<menuitem name="ការកំណត់" id="cpp_setting" parent="youth_and_scholarship_menu_root_1" groups="youth_and_scholarship.group_cpp_manager" sequence="21"/>
|
||||
<!-- actions -->
|
||||
|
||||
<menuitem name="សមាជិកបក្ស" id="cpp_menu" sequence="3" parent="youth_and_scholarship_menu_root_1" groups="youth_and_scholarship.group_cpp_manager,youth_and_scholarship.group_cpp_user,youth_and_scholarship.group_user_readonly,youth_and_scholarship.group_cpp_user_input"/>
|
||||
<!-- actions -->
|
||||
<menuitem name="ការបញ្ចូលព័ត៌មាន" id="menu_input" parent="cpp_menu"
|
||||
action="cpp_input_new" sequence="5" groups="youth_and_scholarship.group_cpp_manager,youth_and_scholarship.group_cpp_user,youth_and_scholarship.group_user_readonly,youth_and_scholarship.group_cpp_user_input"/>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user