Fix name of anglo_saxon_quantity introduced in 58e4a407b295
review2621002
This commit is contained in:
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user