Files
Adrià Tarroja Caubet f86eefe8ec Filter receivable lines by mandate company
The receivable-with-mandate tab must use the company of each move line,
as payment processing does. A mandate of another company does not make
the line collectible.

Closes #15125
2026-09-28 12:19:07 +02:00

26 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.action.act_window.domain"
id="act_move_line_form_domain_receivable_mandate">
<field name="name">Receivable with Mandate</field>
<field name="sequence" eval="25"/>
<field name="domain"
eval="['AND', ('account.type.receivable', '=', True), ['OR', ('debit', '&gt;', 0), ('credit', '&lt;', 0)], ('sepa_mandate_available', '=', True)]"
pyson="1"/>
<field name="count" eval="True"/>
<field name="act_window" ref="account_payment.act_move_line_form"/>
</record>
<record model="ir.ui.view" id="configuration_view_form">
<field name="model">account.configuration</field>
<field name="inherit" ref="account.configuration_view_form"/>
<field name="name">configuration_form</field>
</record>
</data>
</tryton>