2011/7/4 Olivier Dony <[email protected]>: > 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 _______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-framework Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-framework More help : https://help.launchpad.net/ListHelp

