Include only validated mandates on lines to pay domain

issue8636
review273951003
This commit is contained in:
Sergi Almacellas Abellana
2019-09-12 18:50:03 +02:00
parent a91e167d37
commit ec56874b13
+1 -1
View File
@@ -9,7 +9,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">Receivable with Mandate</field>
<field name="sequence" eval="25"/>
<field name="domain"
eval="['AND', ['OR', ('debit', '&gt;', 0), ('credit', '&lt;', 0)], ('party.sepa_mandates', '!=', None)]"
eval="['AND', ['OR', ('debit', '&gt;', 0), ('credit', '&lt;', 0)], ('party.sepa_mandates.state', '=', 'validated')]"
pyson="1"/>
<field name="count" eval="True"/>
<field name="act_window" ref="account_payment.act_move_line_form"/>