aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/returns.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-03 19:49:34 +0300
committerFilipp Lepalaan <f@230.to>2013-06-03 19:49:34 +0300
commit68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f (patch)
tree95641c05efa9eb49b17a8a1bc60ea6489bc4fcc0 /gsxws/returns.py
parent3e4295759d77dffd95af6a37becc1769183aeccb (diff)
downloadpy-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.tar.gz
py-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.tar.bz2
py-gsxws-68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f.zip
Fixed Returns.update_parts()
Diffstat (limited to 'gsxws/returns.py')
-rw-r--r--gsxws/returns.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gsxws/returns.py b/gsxws/returns.py
index f46690e..0810c15 100644
--- a/gsxws/returns.py
+++ b/gsxws/returns.py
@@ -120,9 +120,8 @@ class Return(GsxObject):
'comptiaModifier': 'A',\
'returnType': 2}])
"""
- rd = GsxObject(repairConfirmationNumber=confirmation)
- rd.orderLines = parts
- self.repairData = rd
+ self.repairConfirmationNumber = confirmation
+ self.orderLines = parts
self._submit("repairData", "UpdateCarryIn", "repairConfirmation")
return self._req.objects[0]