diff options
Diffstat (limited to 'gsxws')
-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 bff9c50..99c1d0b 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -240,6 +240,10 @@ class IndirectOnsiteRepair(Repair): _namespace = "asp:" def create(self): + if getattr(self, "shipTo"): # Carry-In and OnSite use different field names! + self.shippingLocation = self.shipTo + del(self._data['shipTo']) + return self._submit("repairData", "CreateIndirectOnsiteRepair", "repairConfirmation") |