diff --git a/period.py b/period.py index a7247409c4..444dddcc4b 100644 --- a/period.py +++ b/period.py @@ -137,7 +137,7 @@ class Period(OSV): if move_obj.search(cursor, user, [ ('period', 'in', ids), - ('state', '!=' 'posted'), + ('state', '!=', 'posted'), ], context=context): raise ExceptORM('UserError', 'You can not close ' \ 'a period with non posted moves!')