Hello,

There is no easy way to put values of the model instance being loaded
but the ID of the model instance (and IDS if you select severals) are
provided in the context (active_id and active_ids). So you can load the
values in your action.

Viktor Nagy wrote:
> 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     : [email protected]
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp


-- 
Fabien Pinckaers
CEO OpenERP
Chaussée de Namur 40
B-1367 Grand-Rosière
Belgium
Phone: +32.81.81.37.00
Fax: +32.81.73.35.01
Web: http://openerp.com

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to