From 68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 3 Jun 2013 19:49:34 +0300 Subject: Fixed Returns.update_parts() --- gsxws/returns.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gsxws/returns.py') 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] -- cgit v1.2.3