From 7113bab80df32b20979e9e235586f65627a82618 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 27 May 2013 20:21:21 +0300 Subject: Remap technicianName --- gsxws/repairs.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gsxws') 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") -- cgit v1.2.3