On 25/05/12 17:42 +0200, Jean Cavallo wrote:
> >
> > > I am looking for a way to access a wizard's session from within a
> > > One2Many field defined on one of the wizard's StateView.
> > >
> > > I want to initialize some data on the list's elements and need to
> > > look for data in the previous states of the wizard.
> >
> > Use the default_<state> method.
> 
> 
> Well, I used this when I wanted to init basic type fields or Many2Ones.
> I would like a way to init new records of a One2Many, so I need code that
> will be called everytime I click on the "New" icon of the State's
> One2Many field.

It is default_<field> methods of the target.

-- 
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/

Attachment: pgp14qPyqvhgQ.pgp
Description: PGP signature

Reply via email to