aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/orders.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-10 14:32:12 +0300
committerFilipp Lepalaan <f@230.to>2013-06-10 14:32:12 +0300
commitf327752947ec4ce9445fcf51baddc9ca72443152 (patch)
treeb9971dcf65eb027ba8461badfd3891073f5bdcb8 /gsxws/orders.py
parentf4b2a46541da9e17ee5372c260e09d1976d1a506 (diff)
downloadpy-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.tar.gz
py-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.tar.bz2
py-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.zip
Cleanup
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__':