From 3e4295759d77dffd95af6a37becc1769183aeccb Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 27 May 2013 15:22:53 +0300 Subject: poNumber > purchaseOrderNumber for OnSite repairs --- gsxws/repairs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 99c1d0b..4b752ab 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -244,6 +244,10 @@ class IndirectOnsiteRepair(Repair): self.shippingLocation = self.shipTo del(self._data['shipTo']) + if getattr(self, "poNumber"): + self.purchaseOrderNumber = self.poNumber + del(self._data['poNumber']) + return self._submit("repairData", "CreateIndirectOnsiteRepair", "repairConfirmation") -- cgit v1.2.3