diff --git a/move.py b/move.py index 9b04840705..94e8e11099 100644 --- a/move.py +++ b/move.py @@ -27,7 +27,7 @@ STATES = { } DEPENDS = ['state'] LOCATION_DOMAIN = [ - If(Eval('state').in_(['staging', 'draft']), + If(Eval('state').in_(['staging', 'draft', 'cancel']), ('type', 'not in', ['warehouse']), ('type', 'not in', ['warehouse', 'view'])), ]