[FIX] odex_benefit

This commit is contained in:
Samir Ladoui 2025-06-29 10:00:16 +01:00
parent 0dec4b38e9
commit b76613577d
3 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ access_benefit_woman_commitee_record,access_benefit_record,model_grant_benefit,o
access_benefit_branch_manager_record,access_benefit_branch_manager_record,model_grant_benefit,odex_benefit.group_benefit_branch_manager,1,1,1,1
access_benefit_manager_record,access_benefit_manager_record,model_grant_benefit,odex_benefit.group_benefit_manager,1,1,1,1
access_benefit_edit_record,access_benefit_edit_record,model_grant_benefit,odex_benefit.group_benefit_edit,1,1,1,1
access_education_status_all,education_status,model_education_status,odex_benefit.group_benefit_edit,1,1,1,1
access_weak_course_all,weak_course,model_weak_course,odex_benefit.group_benefit_edit,1,1,1,1
access_education_status_all,education_status,model_education_status,odex_benefit.group_benefit_info,1,1,1,1
access_weak_course_all,weak_course,model_weak_course,odex_benefit.group_benefit_info,1,1,1,1
access_benefit_family_record,access_benefit_family_record,model_benefit_family,,1,1,1,0
access_benefit_record_city,access_benefit_record_city,model_res_country_city,,1,1,0,0
access_benefit_record_reason,access_benefit_record_reason,model_entity_refuse_reason,,1,1,1,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
4 access_benefit_branch_manager_record access_benefit_branch_manager_record model_grant_benefit odex_benefit.group_benefit_branch_manager 1 1 1 1
5 access_benefit_manager_record access_benefit_manager_record model_grant_benefit odex_benefit.group_benefit_manager 1 1 1 1
6 access_benefit_edit_record access_benefit_edit_record model_grant_benefit odex_benefit.group_benefit_edit 1 1 1 1
7 access_education_status_all education_status model_education_status odex_benefit.group_benefit_edit odex_benefit.group_benefit_info 1 1 1 1
8 access_weak_course_all weak_course model_weak_course odex_benefit.group_benefit_edit odex_benefit.group_benefit_info 1 1 1 1
9 access_benefit_family_record access_benefit_family_record model_benefit_family 1 1 1 0
10 access_benefit_record_city access_benefit_record_city model_res_country_city 1 1 0 0
11 access_benefit_record_reason access_benefit_record_reason model_entity_refuse_reason 1 1 1 0

View File

@ -1,5 +1,5 @@
<odoo>
<data noupdate="0">
<data>
<record model="ir.module.category" id="module_category_benefit">
<field name="name">Beneficiaries Management</field>
<field name="description">Helps you manage Beneficiaries Program</field>

View File

@ -255,11 +255,11 @@
<sheet>
<group>
<group>
<field name="email"
<field name="email" required="1"
attrs="{'readonly':[('state','not in',['draft','complete_info','edit_info'])]}"/>
</group>
<group>
<field name="phone"
<field name="phone" required="1"
attrs="{'readonly':[('state','not in',['draft','complete_info','edit_info'])]}"/>
<field name="phone2"
attrs="{'readonly':[('state','not in',['draft','complete_info','edit_info'])]}"/>