Hi, I need help to access (example) a object from partners:
Code:
def muestra_productos_logs(self, cr, uid, ids, context=None):
cur_obj={}
cur_obj = self.pool.get('res.partner').browse(cr, uid, ids,
context=context)
...
And the call to function from xml view:
Code:
<field name="contratados_ids" colspan="4" nolabel="1" on_change="muestra_productos_logs()">
With only this code, the error is:
Code:
TypeError: muestra_productos_logs() takes at least 6 arguments (5 given)
I think this is a basic error, but I dont find info (clear and commented) about orm methods.
Some doc about this methods?
Thankyou
Juanjo A