← Back to team overview

openerp-community team mailing list archive

Re: set context depending on the current record in ir.actions.act_window

 

I don't think it's possible. The context is here to give some infos to your
model, not the contrary.

2011/8/2 Viktor Nagy <viktor.nagy@xxxxxxxxxxx>

> hi,
>
> I would like to set the context of an action given in a record xml tag
> depending on some value of the model instance being loaded
>
> is this possible?
>
> Viktor
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References