From d7acf67f60d2d4228e96a4d32c88caefc3445b19 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 3 Jun 2013 20:02:44 +0300 Subject: Fixing Returns.update_parts() --- gsxws/returns.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gsxws') diff --git a/gsxws/returns.py b/gsxws/returns.py index 0810c15..f488ab9 100644 --- a/gsxws/returns.py +++ b/gsxws/returns.py @@ -1,5 +1,4 @@ from core import GsxObject, validate -from repairs import ServicePart RETURN_TYPES = ( (1, "Dead On Arrival"), @@ -122,7 +121,7 @@ class Return(GsxObject): """ self.repairConfirmationNumber = confirmation self.orderLines = parts - self._submit("repairData", "UpdateCarryIn", "repairConfirmation") + self._submit("repairData", "PartsReturnUpdate", "PartsReturnUpdateResponse") return self._req.objects[0] -- cgit v1.2.3