aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/returns.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-03 20:02:44 +0300
committerFilipp Lepalaan <f@230.to>2013-06-03 20:02:44 +0300
commitd7acf67f60d2d4228e96a4d32c88caefc3445b19 (patch)
tree4b9a42bed614dabbeed2a4949375b895c38313f8 /gsxws/returns.py
parent8325735ef9d557f8d52825988daf2ebc9ae694d5 (diff)
downloadpy-gsxws-d7acf67f60d2d4228e96a4d32c88caefc3445b19.tar.gz
py-gsxws-d7acf67f60d2d4228e96a4d32c88caefc3445b19.tar.bz2
py-gsxws-d7acf67f60d2d4228e96a4d32c88caefc3445b19.zip
Fixing Returns.update_parts()
Diffstat (limited to 'gsxws/returns.py')
-rw-r--r--gsxws/returns.py3
1 files changed, 1 insertions, 2 deletions
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]