On 29/08/13 20:34 -0700, oscar_alvarez wrote:
> 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?

See https://groups.google.com/d/msg/tryton-dev/L9ZT1nfM1L4/tFr24V-92y8J

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/

Attachment: pgp7tvJmHIrAS.pgp
Description: PGP signature

Reply via email to