Hi,

I am writing a new module that only contains a wizard. The module is supposed 
to write an xml file with some of the data that exists in the database. Is a 
wizard the best way to do this?

To write the xml I need to retrieve, for example.  all partners. I am using the 
browse method. If I want to retrieve only the partners with id 1 and 2 I would 
do this:

partners = 
pooler.get_pool(cr.dbname).get('res.partner').browse(cr, 
uid, [1,2])

but if I want all the partners? What should I use to substitute the ids [1,2]?

Can you point me where is the documentation for this? I searched the wiki and 
the forum but with no success.

Additionally I will need to differentiate the partners according to the 
function: supplier or customer. How can I do it?

Just another question. I will also need the list of invoices and the data about 
"our" company. Where can I find information about which object I need to put in 
the get method?

Thank you very much for your help!




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

Reply via email to