On 08/11/13 12:22 +0100, Maximilian Holtzberg wrote: > Hi List, > > I wonder if it's possible to define a view dependent keyword_open > action. I would like to define different menu entries linked to the > product category tree. Then each tree should have a different tree_open > action. > Now the tree_open action is looked up on the model instead on the view. > Is it possible to define a mirrored product.category model to define the > actions on?
It was not designed with such use case in mind. But maybe you could extend the ActionKeyword.get_keyword method to filter the result base on the context. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgplgPLoimbyK.pgp
Description: PGP signature
