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:
@@ -72,6 +72,7 @@ class ReportStatementCommon(models.AbstractModel):
|
||||
pc.max_date <= %(date_end)s) OR
|
||||
(pd.id IS NULL AND pc.id IS NULL)
|
||||
) AND l.date <= %(date_end)s AND not l.blocked
|
||||
AND m.state IN ('posted')
|
||||
GROUP BY l.partner_id, l.currency_id, l.date, l.date_maturity,
|
||||
l.amount_currency, l.balance, l.move_id,
|
||||
l.company_id, l.id
|
||||
|
||||
Reference in New Issue
Block a user