minor fix in Trial Balance Detailed
This commit is contained in:
parent
73d8c7b2e6
commit
227e5d9d6f
|
@ -629,6 +629,8 @@ class TrialBalanceDetailed(Report):
|
|||
|
||||
if data['accounts']:
|
||||
select1.where = select1.where & (line.account.in_(data['accounts']))
|
||||
if data['posted']:
|
||||
select1.where = select1.where & (move.state == 'posted')
|
||||
cursor.execute(*select1)
|
||||
result_in = cursor.fetchall()
|
||||
|
||||
|
|
Loading…
Reference in New Issue