This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Phil.Daintree
Recipients Phil.Daintree, amaury.forgeotdarc, ezio.melotti, loewis, santoso.wijaya, xrg
Date 2012-05-27.07:52:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338105165.7.0.645463847917.issue11804@psf.upfronthosting.co.za>
In-reply-to
Content
or for less data...

#!/usr/bin/env python

import xmlrpclib

x_server = xmlrpclib.Server('http://www.weberp.org/weberp/api/api_xml-rpc.php',verbose=True)
#Get the stock items defined in the webERP installation
StockList = x_server.weberp.xmlrpc_SearchStockItems('units','cm','admin','weberp')

if StockList[0]==0:
	for StockID in StockList[1]:
		print str(StockID)
History
Date User Action Args
2012-05-27 07:52:45Phil.Daintreesetrecipients: + Phil.Daintree, loewis, amaury.forgeotdarc, ezio.melotti, santoso.wijaya, xrg
2012-05-27 07:52:45Phil.Daintreesetmessageid: <1338105165.7.0.645463847917.issue11804@psf.upfronthosting.co.za>
2012-05-27 07:52:45Phil.Daintreelinkissue11804 messages
2012-05-27 07:52:45Phil.Daintreecreate