Group processed payments by company
issue11161 review385811009 (grafted from ff7d1bdb78cbbcb3f7bb6245acdae9438adbe8bb) --HG-- branch : 6.0
This commit is contained in:
1 parent
3a9f41c6e3
commit
3ee207cc5b
1 file changed
+5
-1
+5
-1
@@ -539,7 +539,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