Hello,
The errors in OpenERP are self explainatory...

Looking at your error
 self.pool.get('hr.contract').write(cr, uid, [contract.id], {'iess': 
contract.poner_valor})
AttributeError: 'browse_record_list' object has no attribute 'id'

It suggest that your 'contract' variable is a list of browse record so you need 
to pass index to it. if you are getting only one record in the list you can do 
contract[0].id it will work.
In short you need to pass index for list..............

------------------------
Regards,
Naresh Choksy




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

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

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


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

Reply via email to