aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/orders.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/orders.py')
-rw-r--r--gsxws/orders.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gsxws/orders.py b/gsxws/orders.py
index 2421f93..c06a073 100644
--- a/gsxws/orders.py
+++ b/gsxws/orders.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
from core import GsxObject
@@ -54,8 +56,7 @@ class StockingOrder(GsxObject):
return self
def submit(self):
- self._submit("orderData", "CreateStockingOrder", "orderConfirmation")
- return self._req.objects[0]
+ return self._submit("orderData", "CreateStockingOrder", "orderConfirmation")
if __name__ == '__main__':