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: [email protected]
tel: +31 (0) 614478606
http://therp.nl
https://twitter.com/therp_stefan
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp