On 25/08/07 16:46 +0200, [EMAIL PROTECTED] wrote:
> 
> Hi there
> 
> I'm currently working on a module for automatically importing products from a 
> external data source.
> But so far, i couldn't figure out how i can create a new product within 
> python.
> Hope someone can give me a short explanation.
> 

If it is for an external application, you can use the xmlrpc interface:
http://tinyerp.org/wiki/index.php/DevelopperBook/Python

or if it is in a TinyERP module use the create method of the object:
http://tinyerp.org/wiki/index.php/DevelopperBook/ObjectsMethodsPredefined

-- 
Cédric Krier

Tiny sprl
Chaussée de Namur, 40
B-1367 Gérompont
Belgique
Tel: +32.81.81.37.00
Fax: (+32) 81.73.35.01
Web: http://tiny.be

Attachment: pgpW0HL93JdpJ.pgp
Description: PGP signature

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to