first push message

This commit is contained in:
2026-07-01 14:41:49 +07:00
parent 6667dec2bf
commit 58b5f46cc4
2951 changed files with 316619 additions and 0 deletions
+189
View File
@@ -0,0 +1,189 @@
<odoo>
<data>
<record model="ir.ui.view" id="cpp_restore_tree">
<field name="name">ទាយព័ត៌មានយកវិញ</field>
<field name="model">cpp.parent</field>
<field name="arch" type="xml">
<list style="font-family:Khmer OS content; src:url(../font/KhmerOS_content.ttf) ;format('truetype'); font-size:11px;" create="false" import="false">
<field name="group"/>
<field name="district"/>
<field name="commune"/>
<field name="village"/>
</list>
</field>
</record>
<record model="ir.ui.view" id="cpp_restore_form">
<field name="name">ទាយព័ត៌មាន</field>
<field name="model">cpp.parent</field>
<field name="arch" type="xml">
<form create="false" edit="false">
<header>
<button name="action_restore" state="draft" string="ស្តារព័ត៌មាន" type="object" confirm="Are you sure you want to restore this data?" groups="base.user_root"/>
</header>
<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="ក្រុមបក្សទី"/>&#160;&#160;&#160;&#160;<field name="village"/>
</group>
<br/><br/>
<group col="4">&#160;&#160;<field name="no" style="width:35%" string="អាសយដ្ឋានផ្ទះលេខ"/>&#160;&#160;&#160;&#160; <field name="street" style="width:35%" string="ផ្លូវ"/> </group>
</div>
<div style="padding:0 30px 30px 0; float:right;">
<div><strong>ឯករាជ្យ សន្តិភាព សេរីភាព ប្រជាធិបតេយ្យ </strong></div>
<div><strong>&#160;&#160;&#160;&#160;អព្យាក្រឹត និង វឌ្ឍនភាពសង្គម</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_app_restore">
<field name="name">family_cpp_from_restore</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" widget="one2many_list">
<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="2">
<field name="other"/>
</group>
<group col="2"><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="search_view_list" model="ir.ui.view">
<field name="name">group_by_list</field>
<field name="model">cpp.parent</field>
<field name="arch" type="xml">
<search string="DMR">
<group expand="0" string="Group By...">
<filter name="commune" string="1ឃុំ" context="{'group_by': 'commune'}"/>
<filter name="village" string="2ភូមិ" context="{'group_by': 'village'}"/>
<filter name="group" string="3ក្រុម" context="{'group_by' : 'group'}"/>
</group>
</search>
</field>
</record>
<record model="ir.actions.act_window" id="family_cpp_form_action_restore">
<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_restore_new">
<field name="name">ព័ត៌មានដែលបានលុបចោល</field>
<field name="res_model">cpp.parent</field>
<field name="view_mode">tree</field>
<field name="context">{'search_default_commune':True,'search_default_village':True,'search_default_group':True}</field>
<field name="domain">[("is_delete","=",0)]</field>
</record>
<record model="ir.actions.act_window.view" id="act_app_tree">
<field eval="1" name="sequence"/>
<field name="view_mode">list</field>
<field name="view_id" ref="cpp_restore_tree"/>
<field name="act_window_id" ref="cpp_restore_new"/>
</record>
<record model="ir.actions.act_window.view" id="act_app_form">
<field eval="2" name="sequence"/>
<field name="view_mode">form</field>
<field name="view_id" ref="cpp_restore_form"/>
<field name="act_window_id" ref="cpp_restore_new"/>
</record>
<!-- actions -->
<!-- <menuitem name="ស្តារព៌ត៌មានសមាជិកបក្ស" id="restore_cpp" parent="cpp_setting"-->
<!-- action="cpp_restore_new" groups="youth_and_scholarship.group_cpp_manager,base.user_root" sequence="22"/>-->
</data>
</odoo>