Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
632676e2 by Cédric Krier at 2023-08-27T14:02:57+02:00
Select only SEPA mandates of the same company as the payment

Since ce8d7a19766a record rules (and especially company rules) are no more
enforced without check access. So the mandate selection should test explicitly
for the same company.
For that a new generator method is added to party to yield mandates that can
be used for a payment so this method can be easily extended to add more
constraints.

Closes #12324
- - - - -


2 changed files:

- modules/account_payment_sepa/party.py
- modules/account_payment_sepa/payment.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/632676e2c4244cba2ced1fa6d455219deaeefae5

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/632676e2c4244cba2ced1fa6d455219deaeefae5
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to