On 20 Nov 12:03, Guillem Barba Domingo wrote: > Hi folks, > > I need to define an alternative menu to be used for some users who have to > access only to one wizard. > > I defined the next wizard, menu and act_window in our customer's module [1] > > I created a user belonging only to "Production Start Wizard" group and set > the "Menu Start/End Production" act_window as him Menu Action... > but it doesn't have the expected efecte because it has the main menu: > menuitems without parent [2] :-( > > I'm working with Tryton 3.2 > > any clue?
Your domain is wrong because it will evaluate to parent = None
Use:
[('id', '=', Id('module.menu_exclusive_production'))]
> [1] http://codeviewer.org/view/code:4788
> [2] http://img42.com/ueUTO+
>
> --
> Guillem Barba
> http://www.guillem.alcarrer.net
--
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
pgpPN7c8vUmY0.pgp
Description: PGP signature
