diff --git a/stock.py b/stock.py index b2e11a9706..1cc988d9df 100644 --- a/stock.py +++ b/stock.py @@ -30,7 +30,8 @@ class Move: @classmethod def __setup__(cls): super(Move, cls).__setup__() - cls._allow_modify_closed_period.add('anglo_saxon_quantity') + cls._allow_modify_closed_period.update(['in_anglo_saxon_quantity', + 'out_anglo_saxon_quantity']) cls._sql_constraints += [ ('check_in_anglo_saxon_quantity', 'CHECK(quantity >= in_anglo_saxon_quantity)',