Reenact check_period_closed on creation (removed by changeset a4feb97fdf49)
review1041004
This commit is contained in:
1 parent
8965437cf8
commit
9c4fac4db7
1 file changed
+3
-1
@@ -515,7 +515,9 @@ class Move(Workflow, ModelSQL, ModelView):
|
||||
internal_quantity = cls._get_internal_quantity(vals['quantity'],
|
||||
uom, product)
|
||||
vals['internal_quantity'] = internal_quantity
|
||||
return super(Move, cls).create(vlist)
|
||||
moves = super(Move, cls).create(vlist)
|
||||
cls.check_period_closed(moves)
|
||||
return moves
|
||||
|
||||
@classmethod
|
||||
def write(cls, moves, vals):
|
||||
|
||||
Reference in new issue
Block a user