first push message
This commit is contained in:
@@ -0,0 +1,166 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="cpp_form_review">
|
||||
<field name="name">ត្រួតពិនិត្យ</field>
|
||||
<field name="model">cpp.parent</field>
|
||||
<field name="arch" type="xml">
|
||||
<form create="false">
|
||||
<group style="font-family:Khmer OS content; src:url(../font/KhmerOS_content.ttf) ;format('truetype'); font-size:11px;">
|
||||
<div class="col-xs-12 font_box" >
|
||||
<div style="float: left; padding:0 0 30px 20px; width:40%">
|
||||
<group style="font-family:Khmer OS Muol Light ;src:url(../font/KhmerOS_muollight.ttf) ;format('truetype'); text-align:center; font-size:11px;">
|
||||
<field name="district" string="គណៈកម្មាធិការគណបក្សស្រុក"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="commune"/>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="group" style="width:30%%" string="ក្រុមបក្សទី"/>    <field name="village"/>
|
||||
</group>
|
||||
<br/><br/>
|
||||
<group col="4">  <field name="no" style="width:35%" string="អាសយដ្ឋានផ្ទះលេខ"/>     <field name="street" style="width:35%" string="ផ្លូវ"/> </group>
|
||||
</div>
|
||||
<div style="padding:0 30px 30px 0; float:right;">
|
||||
<div><strong>ឯករាជ្យ សន្តិភាព សេរីភាព ប្រជាធិបតេយ្យ </strong></div>
|
||||
<div><strong>    អព្យាក្រឹត និង វឌ្ឍនភាពសង្គម</strong></div>
|
||||
</div>
|
||||
<div style="text-align: center; margin:0 200px 0 200px;">
|
||||
<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>
|
||||
</group>
|
||||
<group>
|
||||
<field name="child_cpp_id" nolabel="1">
|
||||
<list editable="top">
|
||||
<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>
|
||||
</group>
|
||||
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="form_family_cpp_review">
|
||||
<field name="name">family_cpp_from_review</field>
|
||||
<field name="model">family.cpp</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<group>
|
||||
<field name="cpp_parent_id" invisible="1">
|
||||
<field name="district_id"/>
|
||||
<field name="commune_id"/>
|
||||
</field>
|
||||
</group>
|
||||
<group>
|
||||
<field name="image" widget="image" class="oe_avatar"/>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="kname"/>
|
||||
<field name="Gender" style="width:60%%"/>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="dob"/>
|
||||
<field name="Job_work"/>
|
||||
</group>
|
||||
<group col="6">
|
||||
<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 col="6">
|
||||
<field name="phone_id" string="លេខទូរស័ទ្ធ"/>
|
||||
<field name="email_id" string="អ៊ីម៉ែល"/>
|
||||
<field name="telegram" string="Telegram"/>
|
||||
<field name="facebook" string="Facebook"/>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
<field name="pod">
|
||||
<list editable="bottom">
|
||||
<field name="province_id"/>
|
||||
<field name="district_id"/>
|
||||
<field name="commune_id"/>
|
||||
<field name="village_id"/>
|
||||
<field name="street"/>
|
||||
<field name="No"/>
|
||||
</list>
|
||||
</field>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="date_in"/>
|
||||
<field name="id_card"/>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="no_card"/>
|
||||
<field name="type_postion"/>
|
||||
</group>
|
||||
<group col="4">
|
||||
<field name="other"/>
|
||||
|
||||
</group>
|
||||
<group col="4"><field name="ps_id"/></group>
|
||||
<group>
|
||||
<field name="el_Office">
|
||||
<list editable="bottom">
|
||||
<field name="province_id"/>
|
||||
<field name="district_id"/>
|
||||
<field name="commune_id"/>
|
||||
<field name="village_id"/>
|
||||
<field name="street"/>
|
||||
<field name="No"/>
|
||||
</list>
|
||||
</field>
|
||||
</group>
|
||||
<group col="5">
|
||||
<field name="no_ps"/>
|
||||
<field name="time" string="បោះឆ្នោតបាន" placeholder="ដង"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="dmr_search_view" model="ir.ui.view">
|
||||
<field name="name">group_by</field>
|
||||
<field name="model">cpp.parent</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="DMR">
|
||||
<group expand="0" string="Group By...">
|
||||
<filter name="group" string="ក្រុម" context="{'group_by' : 'group'}"/>
|
||||
<filter name="commune" string="ឃុំ" context="{'group_by': 'commune'}"/>
|
||||
<filter name="village" string="ភូមិ" context="{'group_by': 'village'}"/>
|
||||
</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_review_form_action">
|
||||
<field name="name">ការត្រួតពិនិត្យ</field>
|
||||
<field name="res_model">cpp.parent</field>
|
||||
<field name="view_mode">form</field>
|
||||
</record>
|
||||
<record model="ir.actions.act_window.view" id="act_review_cpp">
|
||||
<field eval="2" name="sequence"/>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="cpp_form_review"/>
|
||||
<field name="act_window_id" ref="cpp_review_form_action"/>
|
||||
</record>
|
||||
<!-- actions -->
|
||||
<menuitem name="ត្រួតពិនិត្យព័ត៌មាន" id="menu_review" parent="cpp_menu"
|
||||
action="cpp_review_form_action" sequence="6" groups="youth_and_scholarship.group_cpp_manager,base.user_root,youth_and_scholarship.group_cpp_user,youth_and_scholarship.group_user_readonly,youth_and_scholarship.group_cpp_user_review"/>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user