[FIX] stock: @api.model on _prepare_values_extra_move

In saas-11 stock was migrated to new API, but some old API still called
_prepare_values_extra_move so it needs to be callable via both API
version.

opw-687958
This commit is contained in:
Nicolas Lempereur
2016-09-07 09:02:18 +02:00
parent 3ba9dba798
commit b4e829f96e
+1
View File
@@ -911,6 +911,7 @@ class Picking(models.Model):
moves.action_confirm()
return moves
@api.model
def _prepare_values_extra_move(self, op, product, remaining_qty):
"""
Creates an extra move when there is no corresponding original move to be copied