Hi Devs

I am using set_xmlrpc method of proteus for access to a database with 3200 
products, but this process in starting in POS client  take a long time (10 
minutes), creating list tuple (code, name) from products


from proteus import config, Model, Wizard
_Product = Model.get('product.product')
print dir(_Product)

_products = _Product.find([('active', '=', True)])
active_products = []
for p in _products:
    active_products.append((p.code, p.template.name))
    print p.template.name


Using set_trytond is fasther than xmlrpc, but obviously doesn't work for 
remote connections.

How can I solved this problem?


Reply via email to