diff --git a/issue4912.diff b/issue4912.diff index c968c17..5f71ded 100644 --- a/issue4912.diff +++ b/issue4912.diff @@ -34,7 +34,7 @@ diff -r a698c3447267 trytond/trytond/modules/stock/move.py } 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'])), + ]