Fix
This commit is contained in:
parent
3b02dd0cd1
commit
7ddf47aee3
2
sale.py
2
sale.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue