hi,
i looked at the log openerp-client creates (with rpc debug) ....
DEBUG_RPC:rpc.request:('execute', 'demo', 1, 'admin', ('res.partner', 'read', 
[3, 2, 7, 9, 4, 20, 10, 11, 12, 13, 23, 24, 19, 21, 14, 16, 17, 15, 5, 18, 6, 
8, 1], ['lang', 'city', 'name', 'title', 'country', 'ref', '__last_update'], 
{'lang': u'en_US', 'bin_size': True, 'tz': False, 'active_ids': [212], 'type': 
'out_invoice', 'active_id': 212}))

this particular statement probably reads the values, i looked at the developer 
wiki 
http://openobject.com/wiki/index.php/Developers:Developper%27s_Book/Objects/ObjectsMethods/ObjectsMethodsPredefined#read
and can see what 'read' is for. i would imagine below is the list of partner 
ids:
[3, 2, 7, 9, 4, 20, 10, 11, 12, 13, 23, 24, 19, 21, 14, 16, 17, 15, 5, 18, 6, 
8, 1]
and below is the list of fields it wants to read for the above mentioned 
partners?
['lang', 'city', 'name', 'title', 'country', 'ref', '__last_update']

i cant find in the rpc log how it reads account receivable


same problem i have with product name, it is not present in the product_product 
table, probably i should name_get to find what is product name?

thanks
khalid




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=49836#49836

-------------------- m2f --------------------


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

Reply via email to