mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_banking_payment_transfer: Use first maturity date for all cases, because the group is always by payment date
This commit is contained in:
@@ -154,12 +154,11 @@ class PaymentOrder(models.Model):
|
||||
partner_id = payment_lines[0].partner_id.id
|
||||
name = _('%s line %s') % (
|
||||
labels[self.payment_order_type], payment_lines[0].name)
|
||||
date_maturity = payment_lines[0].date
|
||||
else:
|
||||
partner_id = False
|
||||
name = '%s %s' % (
|
||||
labels[self.payment_order_type], self.reference)
|
||||
date_maturity = False
|
||||
date_maturity = payment_lines[0].date
|
||||
vals = {
|
||||
'name': name,
|
||||
'move_id': move.id,
|
||||
|
||||
Reference in New Issue
Block a user