This commit is contained in:
oscar alvarez 2022-05-16 09:51:11 -05:00
parent 3b02dd0cd1
commit 7ddf47aee3
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class Sale(metaclass=PoolMeta):
invoice.invoice_date >= start_date) & (
invoice.currency == currency_id) & (
invoice.invoice_date <= end_date) & (
invoice.state.in_(['posted', 'paid'])
invoice.state.in_(['validated', 'posted', 'paid'])
)
cursor.execute(*select)