diff --git a/move.py b/move.py index 55cb946624..b1c93d4d84 100644 --- a/move.py +++ b/move.py @@ -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'))