From 04c033657b84449ffb737dd3bb32b568dc861ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 31 Dec 2015 17:04:20 +0100 Subject: [PATCH] Update PurchaseLine.get_move to the new API issue5059 --- purchase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/purchase.py b/purchase.py index f3832da7a9..8bfab3175f 100644 --- a/purchase.py +++ b/purchase.py @@ -132,8 +132,8 @@ class PurchaseLine: return self.purchase.drop_location.id return result - def get_move(self): - move = super(PurchaseLine, self).get_move() + def get_move(self, move_type): + move = super(PurchaseLine, self).get_move(move_type) if move and self.purchase.customer: move.cost_price = move.unit_price return move