This commit is contained in:
Cédric Krier
2008-03-31 14:49:16 +02:00
parent 07f5d6a663
commit 3af01f0d01
+1 -1
View File
@@ -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!')