aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-27 20:21:21 +0300
committerFilipp Lepalaan <f@230.to>2013-05-27 20:21:21 +0300
commit7113bab80df32b20979e9e235586f65627a82618 (patch)
treefce7e195bd82fda83573df964c14bf323633574a /gsxws
parent3e4295759d77dffd95af6a37becc1769183aeccb (diff)
downloadpy-gsxws-7113bab80df32b20979e9e235586f65627a82618.tar.gz
py-gsxws-7113bab80df32b20979e9e235586f65627a82618.tar.bz2
py-gsxws-7113bab80df32b20979e9e235586f65627a82618.zip
Remap technicianName
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/repairs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 4b752ab..878d4ab 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -248,6 +248,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")