Merge pull request #6165 from expsa/14.0-feat-odex_takaful-auto-20260112_165934

[IMP] odex_takaful: improve user interface and views
This commit is contained in:
Mohamed Eltayar 2026-01-12 16:59:53 +03:00 committed by GitHub
commit 19e80df176
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -10,18 +10,18 @@
<xpath expr="//search" position="inside">
<!-- Payment Method Filters by Name -->
<separator/>
<filter string="Cash" name="filter_cash" domain="[('payment_method_line_id.name', 'ilike', 'نقدي')]"/>
<filter string="Network" name="filter_network" domain="[('payment_method_line_id.name', 'ilike', 'شبكة')]"/>
<filter string="Bank Transfer" name="filter_bank_transfer" domain="['|', ('payment_method_line_id.name', 'ilike', 'تحويل بنكي'), ('payment_method_line_id.name', 'ilike', 'حوالة بنكية')]"/>
<filter string="Check" name="filter_check" domain="['|', ('payment_method_line_id.name', 'ilike', 'شيك'), ('payment_method_line_id.name', 'ilike', 'شيكات')]"/>
<filter string="نقدي" name="filter_cash" domain="[('payment_method_line_id.name', 'ilike', 'نقدي')]"/>
<filter string="شبكة" name="filter_network" domain="[('payment_method_line_id.name', 'ilike', 'شبكة')]"/>
<filter string="تحويل بنكي" name="filter_bank_transfer" domain="['|', ('payment_method_line_id.name', 'ilike', 'تحويل بنكي'), ('payment_method_line_id.name', 'ilike', 'حوالة بنكية')]"/>
<filter string="شيك" name="filter_check" domain="['|', ('payment_method_line_id.name', 'ilike', 'شيك'), ('payment_method_line_id.name', 'ilike', 'شيكات')]"/>
<!-- Branch Filter -->
<separator/>
<filter string="Has Branch" name="filter_has_branch" domain="[('branch_custom_id', '!=', False)]"/>
<filter string="لديه فرع" name="filter_has_branch" domain="[('branch_custom_id', '!=', False)]"/>
<!-- Group By Filters (will appear in Group By dropdown) -->
<filter string="Payment Method (by Name)" name="group_payment_method_name" domain="[]" context="{'group_by': 'payment_method_name'}"/>
<filter string="Branch" name="group_branch" domain="[]" context="{'group_by': 'branch_custom_id'}"/>
<filter string="طريقة السداد (بالاسم)" name="group_payment_method_name" domain="[]" context="{'group_by': 'payment_method_name'}"/>
<filter string="الفرع" name="group_branch" domain="[]" context="{'group_by': 'branch_custom_id'}"/>
</xpath>
</field>
</record>