Display only posted entries (#648)
* Add files via upload Display only posted entries * Update activity_statement.py * Update report_statement_common.py [UPD] Update partner_statement.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-partner_statement Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-partner_statement/
This commit is contained in:
@@ -58,7 +58,7 @@ class OutstandingStatement(models.AbstractModel):
|
||||
(pc.id IS NOT NULL AND
|
||||
pc.max_date <= %(date_end)s) OR
|
||||
(pd.id IS NULL AND pc.id IS NULL)
|
||||
) AND l.date <= %(date_end)s
|
||||
) AND l.date <= %(date_end)s AND m.state IN ('posted')
|
||||
GROUP BY l.partner_id, m.name, l.date, l.date_maturity, l.name,
|
||||
l.ref, l.blocked, l.currency_id,
|
||||
l.balance, l.amount_currency, l.company_id
|
||||
|
||||
Reference in New Issue
Block a user