diff options
author | Filipp Lepalaan <f@230.to> | 2013-05-27 20:21:21 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-05-27 20:21:21 +0300 |
commit | 7113bab80df32b20979e9e235586f65627a82618 (patch) | |
tree | fce7e195bd82fda83573df964c14bf323633574a /gsxws/repairs.py | |
parent | 3e4295759d77dffd95af6a37becc1769183aeccb (diff) | |
download | py-gsxws-7113bab80df32b20979e9e235586f65627a82618.tar.gz py-gsxws-7113bab80df32b20979e9e235586f65627a82618.tar.bz2 py-gsxws-7113bab80df32b20979e9e235586f65627a82618.zip |
Remap technicianName
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r-- | gsxws/repairs.py | 4 |
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") |