Browse Source

Merge PR #565 into 11.0

Signed-off-by jbeficent
pull/582/head
OCA-git-bot 6 years ago
parent
commit
f685a2fb55
  1. 2
      customer_activity_statement/report/customer_activity_statement.py
  2. 2
      customer_outstanding_statement/report/customer_outstanding_statement.py

2
customer_activity_statement/report/customer_activity_statement.py

@ -162,7 +162,7 @@ class CustomerActivityStatement(models.AbstractModel):
) AND l.date <= '%s' AND not l.blocked ) AND l.date <= '%s' AND not l.blocked
GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity, GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity,
l.amount_currency, l.balance, l.move_id, l.amount_currency, l.balance, l.move_id,
l.company_id
l.company_id, l.id
""" % (date_end, date_end, partners, account_type, date_end, """ % (date_end, date_end, partners, account_type, date_end,
date_end, date_end) date_end, date_end)

2
customer_outstanding_statement/report/customer_outstanding_statement.py

@ -155,7 +155,7 @@ class CustomerOutstandingStatement(models.AbstractModel):
) AND l.date <= '%s' AND not l.blocked ) AND l.date <= '%s' AND not l.blocked
GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity, GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity,
l.amount_currency, l.balance, l.move_id, l.amount_currency, l.balance, l.move_id,
l.company_id
l.company_id, l.id
""" % (date_end, date_end, partners, account_type, date_end, """ % (date_end, date_end, partners, account_type, date_end,
date_end, date_end) date_end, date_end)

Loading…
Cancel
Save