2014-03-12 13:05 GMT+01:00 Cédric Krier <cedric.kr...@b2ck.com>:

> 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?
>
>
When I make click over the new record icon of the one2many field.


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



-- 

Jesús Martín

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to