From 0a4c95ee0811c1921abb60a9056f94f5086d9c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 9 Jan 2015 19:06:36 +0100 Subject: [PATCH] staging move state should fail assignation issue4462 review13871002 --- move.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/move.py b/move.py index fa1ab6c1be..9ebfae33b9 100644 --- a/move.py +++ b/move.py @@ -779,6 +779,8 @@ class Move(Workflow, ModelSQL, ModelView): success = True for move in moves: if move.state != 'draft': + if move.state == 'staging': + success = False continue to_location = move.to_location location_qties = {}