aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-03 19:53:40 +0300
committerFilipp Lepalaan <f@230.to>2013-06-03 19:53:40 +0300
commit2619ed1d7a7a1a83271a59a43d798115dd9f997c (patch)
tree657cce7f9096837eeee060baba9caeb0d088cb47 /gsxws/repairs.py
parent68fa03eff76f6ba40e0ba1de18a4bdec4c533a5f (diff)
parent3f6447a3af20e732f49f9e58e67752794535863a (diff)
downloadpy-gsxws-2619ed1d7a7a1a83271a59a43d798115dd9f997c.tar.gz
py-gsxws-2619ed1d7a7a1a83271a59a43d798115dd9f997c.tar.bz2
py-gsxws-2619ed1d7a7a1a83271a59a43d798115dd9f997c.zip
Merge branch 'master' of github.com:filipp/py-gsxws
Conflicts: gsxws/core.py
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 9711689..d18498d 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -247,6 +247,10 @@ class IndirectOnsiteRepair(Repair):
self.purchaseOrderNumber = self.poNumber
del(self._data['poNumber'])
+ if getattr(self, "diagnosedByTechId"):
+ self.technicianName = self.diagnosedByTechId
+ del(self._data['diagnosedByTechId'])
+
return self._submit("repairData", "CreateIndirectOnsiteRepair",
"repairConfirmation")