[FIX] solve bugs from test 19

This commit is contained in:
Nossibaelhadi 2026-01-21 10:36:05 +03:00
parent 54683766f8
commit 2473df34b5
2 changed files with 6 additions and 2 deletions

View File

@ -136,7 +136,12 @@
<t t-elif="doc.record_type == 'sponsorship'">
<span t-esc="(line.benefit_id.name or '').split()[0] if line.benefit_id else '-'"/> - <span t-esc="line.benefit_family_code or '-'"/>
<br/>
<small style="color: #8F9090;"><span t-esc="original_months"/> شهر</small>
<t t-if="line.sponsorship_duration != 'permanent'">
<small style="color: #8F9090;">
<span t-esc="original_months"/> شهر
</small>
</t>
</t>
</td>

View File

@ -893,7 +893,6 @@
</group>
<separator/>
<searchpanel>
<field name="state" enable_counters="1"/>
<field name="state" enable_counters="1"/>
<field name="record_type" enable_counters="1"/>
<field name="payment_method_display" icon="fa-credit-card" enable_counters="1"/>