On 02/10/12 21:41 +0200, Valentin Hapiot wrote: > > before: > > > > def getter(self, ids, name): > > res = {} > > for record in self.browse(ids): > > res[record.id] = ... > > return res > > > > now: > > > > def getter(self, name): > > return self.... > > Is too early or is there already a document explaining the new > subtleties of the api ? I guess I'll have to dig deeper before setting > my mind on it.
I wrote this [1] to help the migration. > Also, is there an updated (2.5) version of the demo module ? Not yet. [1] http://www.b2ck.com/~ced/active_record_migration.txt -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: cedric.kr...@b2ck.com Website: http://www.b2ck.com/
pgptVZNENOodL.pgp
Description: PGP signature