Add missing filter on company in GeneralJournal report
review727002 (transplanted from 85324c3f826e3bf63aab718edecc7e0fdc292f9b)
This commit is contained in:
1 parent
4837188c43
commit
2e7f30bbd4
1 file changed
+1
@@ -1719,6 +1719,7 @@ class GeneralJournal(Report):
|
||||
clause = [
|
||||
('date', '>=', datas['form']['from_date']),
|
||||
('date', '<=', datas['form']['to_date']),
|
||||
('period.fiscalyear.company', '=', datas['form']['company']),
|
||||
]
|
||||
if datas['form']['posted']:
|
||||
clause.append(('state', '=', 'posted'))
|
||||
|
||||
Reference in new issue
Block a user