self.pool.get('res.partner').write(cr, uid, {'name': 'New name'}


Would not want to befog the kids trying this out at home, so rather

    self.pool.get('res.partner').write(cr, uid, 1, {'name': 'New name'})



--
Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

mail: ste...@therp.nl
tel: +31 (0) 614478606
http://therp.nl
https://twitter.com/therp_stefan

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to