account.move.line: Add filter on both debit and credit

This commit is contained in:
Alexis de Lattre
2017-03-23 14:38:15 +01:00
parent 9670eb7c10
commit d4fcaa7d14

View File

@@ -197,6 +197,7 @@ module -->
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="reconcile_ref" />
<field name="debit" filter_domain="['|', ('debit', '=', self), ('credit', '=', self)]" string="Debit or Credit"/>
</field>
<filter name="unreconciled" position="before">
<filter name="reconciled" string="Fully Reconciled" domain="[('reconcile_id', '!=', False)]"/>