[FIX] account_invoice_select_for_payment: select partially-paid invoices

This commit is contained in:
Alessandro Uffreduzzi
2024-07-12 12:27:03 +02:00
parent 81c677899f
commit 7191189240

View File

@@ -7,7 +7,7 @@
<field name="name" position="before">
<field
name="selected_for_payment"
attrs="{'invisible': [('payment_state', '!=', 'not_paid') ]}"
attrs="{'invisible': [('payment_state', 'not in', ['not_paid', 'partial']) ]}"
widget="toggle_button"
/>
</field>