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
+103
View File
@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="cpp_review">
<field name="name">ត្រួតពិនិត្យ</field>
<field name="model">cpp.parent</field>
<field name="arch" type="xml">
<list 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_form_review">
<field name="name">ត្រួតពិនិត្យ</field>
<field name="model">cpp.parent</field>
<field name="arch" type="xml">
<form create="false">
<header>
<field name="status" invisible="1"/>
<field name="is_delete" invisible="1"/>
<button name="action_confirm" state="sent" string="ត្រួតពិនិត្យរួច" type="object" confirm="Are you sure you want to do this?" invisible="state != 'sent'"/>
<button name="action_delete" state="app" string="លុបចោល" type="object" confirm="Are you sure you want to do this?" groups="base.user_root"/>
<button name="action_cancel" state="draft" string="ព៌ត៌មានមិនត្រឹមត្រូវ" type="object" confirm="Are you sure you want to do this?" invisible="state != 'sent'"/>
<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>&#160;&#160;&#160;&#160;អព្យាក្រឹត និង វឌ្ឍនភាពសង្គម</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 style="font-family:Khmer OS content; src:url(../font/KhmerOS_content.ttf) ;format('truetype'); font-size:14px;">
<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.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">list</field>
<field name="context">{}</field>
<field name="domain">[("status","=","review"),("is_delete","=",1)]</field>
</record>
<record model="ir.actions.act_window.view" id="act_review_tree">
<field eval="1" name="sequence"/>
<field name="view_mode">list</field>
<field name="view_id" ref="cpp_review"/>
<field name="act_window_id" ref="cpp_review_form_action"/>
</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,youth_and_scholarship.group_cpp_user,youth_and_scholarship.group_user_readonly,youth_and_scholarship.group_cpp_user_review"/>
</data>
</odoo>