← Back to team overview

openerp-community team mailing list archive

Re: OpenERP 6.1 transaction issue

 

Thanks for your answers.
We finally found the reason (that s in our code) why we didn't have access to the update data in the same transaction.

Thanks all,

Sam

_______________
Samuel Lefever
Software Engineer
Tel : +32 2 333.58.52
GSM : +32 471 88.88.83
Email : sl@xxxxxxxxx<mailto:fl@xxxxxxxxx>

_______________
TAKTIK SA
Grote Baan 225
1620 Drogenbos
Tel : +32 2 333.58.40
Fax : +32 2 648.16.53
http://www.taktik.be<http://www.taktik.be/>





[cid:A961F992-E143-4933-8E41-322E760A6AAD@taktik.be]



Le 18 juin 2012 à 13:05, Stefan Rijnhart <stefan@xxxxxxxx<mailto:stefan@xxxxxxxx>> a écrit :


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: stefan@xxxxxxxx<mailto:stefan@xxxxxxxx>
tel: +31 (0) 614478606
http://therp.nl<http://therp.nl/>
https://twitter.com/therp_stefan

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

GIF image


References