add filter and search mission

This commit is contained in:
Bakry 2024-08-12 14:42:18 +03:00
parent fd3dafe0d0
commit dca2ec3341
4 changed files with 6 additions and 3 deletions

View File

@ -712,6 +712,9 @@ msgstr "إبتعاث"
#: model:ir.model,name:exp_official_mission.model_hr_employee
#: model:ir.model.fields,field_description:exp_official_mission.field_hr_official_mission__employee_ids
#: model:ir.model.fields,field_description:exp_official_mission.field_hr_official_mission_employee__employee_id
#: model_terms:ir.ui.view,arch_db:exp_official_mission.view_employee_mission_filter
#: model_terms:ir.ui.view,arch_db:exp_official_mission.view_employee_filter_training
#: model_terms:ir.ui.view,arch_db:exp_official_mission.view_employee_filter_especially_hours
msgid "Employee"
msgstr "الموظف"

View File

@ -160,7 +160,7 @@
<field name="employee_no"/>
<field name="state"/>
<group expand="0" string="Group By">
<filter name="group_employee" string="Employee" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_employee" string="Responsible" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_type" string="Mission Type" domain="[]" context="{'group_by': 'mission_type'}"/>
</group>
<separator/>

View File

@ -248,7 +248,7 @@
<field name="destination"/>
<field name="state"/>
<group expand="0" string="Group By">
<filter name="group_employee" string="Employee" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_employee" string="Responsible" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_type" string="Mission Type" domain="[]" context="{'group_by': 'mission_type'}"/>
</group>
<separator/>

View File

@ -288,7 +288,7 @@
<field name="train_category"/>
<field name="state"/>
<group expand="0" string="Group By">
<filter name="group_employee" string="Employee" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_employee" string="Responsible" domain="[]" context="{'group_by': 'employee_id'}"/>
<filter name="group_type" string="Mission Type" domain="[]" context="{'group_by': 'mission_type'}"/>
</group>
<separator/>