On 12 Mar 03:53, Jesús Martín Jiménez wrote:
> Hi,
> 
> I would like to add a One2Many field in a model without modifying the 
> target model, so I'm trying to make this field as a funtional one. Now, I 
> want to set the default values on each new record created through the 
> setter method of this field, but seems that de default_field() method on a 
> function field is not called. Is it correct? I'm missing something?

default method should be called even for Function field.
But at which moment are you expecting the call?

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgp73lByJ2l_k.pgp
Description: PGP signature

Reply via email to