Group processed payments by company
issue11161 review385811009
This commit is contained in:
1 parent
e58228fe28
commit
37cfe21ced
1 file changed
+5
-1
+5
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user