← Back to team overview

openerp-expert-framework team mailing list archive

Re: Updated OpenERP API in trunk: fields.function, osv loading

 

2011/7/4 Olivier Dony <odo@xxxxxxxxxxx>:
> 1) fields.function() does not take a "method" parameter anymore [1]. It
> was useless and every field was passing method=True. It is possible to
> pass a normal function too, it simply needs to have the proper signature
> (see the docstring). Don't forget to run 'bzr pull' on the server,
> otherwise the trunk addons will not work anymore.
> And please do not use the "method" parameter anymore in trunk! (it's
> ignored, though, so it's backwards compatible)

I saw the changeset[1], but why not introspect the function to know if
it is a method or a function?

[1] http://bazaar.launchpad.net/~openerp/openobject-server/trunk/revision/3495


Follow ups

References