Group processed payments by company

issue11161
review385811009
This commit is contained in:
Cédric Krier committed 2022-01-30 01:21:05 +01:00
1 parent e58228fe28
commit 37cfe21ced
1 file changed
+5 -1
+5 -1
View File
@@ -579,7 +579,11 @@ class ProcessPayment(Wizard):
process = StateAction('account_payment.act_payment_group_form')
def _group_payment_key(self, payment):
return (('journal', payment.journal.id), ('kind', payment.kind))
return (
('company', payment.company.id),
('journal', payment.journal.id),
('kind', payment.kind),
)
def _new_group(self, values):
pool = Pool()