Skip to content

Commit

Permalink
[FIX] partner_risk_insurance: Error in sorted method if partner has n…
Browse files Browse the repository at this point in the history
…ot country

TT51481
  • Loading branch information
sergio-teruel committed Oct 29, 2024
1 parent b2b813e commit 56a968c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</tr>
<t
t-set="moves"
t-value="docs.sorted(lambda doc: (is_insured_partner(doc), doc.commercial_partner_id.country_code, doc.name))"
t-value="docs.sorted(lambda doc: (is_insured_partner(doc), doc.commercial_partner_id.country_code or '', doc.name))"
/>
<t t-foreach="moves" t-as="move">
<t
Expand Down

0 comments on commit 56a968c

Please sign in to comment.