changeset da434be20358 in modules/account_payment_sepa:default details: https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset;node=da434be20358 description: Include only validated mandates on lines to pay domain
issue8636 review273951003 diffstat: account.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 65bda58083a6 -r da434be20358 account.xml --- a/account.xml Fri Aug 09 16:33:49 2019 +0200 +++ b/account.xml Thu Sep 12 18:50:03 2019 +0200 @@ -9,7 +9,7 @@ <field name="name">Receivable with Mandate</field> <field name="sequence" eval="25"/> <field name="domain" - eval="['AND', ['OR', ('debit', '>', 0), ('credit', '<', 0)], ('party.sepa_mandates', '!=', None)]" + eval="['AND', ['OR', ('debit', '>', 0), ('credit', '<', 0)], ('party.sepa_mandates.state', '=', 'validated')]" pyson="1"/> <field name="count" eval="True"/> <field name="act_window" ref="account_payment.act_move_line_form"/>