Hi, The issue1776 [1] brings an issue in the design of searching for missing method on the inherited parent. The issue is that we try to convert ids from children into ids of parents but all methods arguments don't start with a list of ids (or single id) as argument. So we need to find a way to apply this transformation only to correct methods.
A first option is to do introspection like we did for Function fields with "names" as argument [2]. A second option is to require to define on the Model which methods need this transformation (but this will break the non-API change rule for series). So what is your opinions? Have you a better solution? [1] https://bugs.tryton.org/roundup/issue1776 [2] http://hg.tryton.org/trytond/file/1b6746de69ff/trytond/model/fields/function.py#l80 -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpDntPAISbpX.pgp
Description: PGP signature
