aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@0x00.co>2013-04-08 10:41:23 +0300
committerFilipp Lepalaan <f@0x00.co>2013-04-08 10:41:23 +0300
commit9ed1d6c5cb8465aa126e706a81315ebc086909c9 (patch)
treeebf2fb08bcb0aa9f99f42b5e1718c97dd0f443fa
parent07991543c2acd25a2187964941510492432d4d37 (diff)
downloadpy-gsxws-9ed1d6c5cb8465aa126e706a81315ebc086909c9.tar.gz
py-gsxws-9ed1d6c5cb8465aa126e706a81315ebc086909c9.tar.bz2
py-gsxws-9ed1d6c5cb8465aa126e706a81315ebc086909c9.zip
Return the right thing in Returns.register_parts
-rwxr-xr-xgsxws.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsxws.py b/gsxws.py
index a768af0..9d4054b 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -607,7 +607,8 @@ class Returns(GsxObject):
dt = self._make_type('ns1:registerPartsForBulkReturnRequestType')
self.data['bulkReturnOrder'] = parts
dt.bulkPartsRegistrationRequest = self.data
- return self.submit('RegisterPartsForBulkReturn', dt, 'bulkPartsRegistrationResponse')
+
+ return self.submit('RegisterPartsForBulkReturn', dt, 'bulkPartsRegistrationData')
class Part(GsxObject):
def lookup(self):