On 09 Jul 19:14, Guillem Barba Domingo wrote: > You can set the allowed groups to a button. > Search "button" in *.xml of modules (not in view directory) and you will > find the solution. > > Today I realized that the button is not hidden but if you try to click on > it it raise an error. I tried it on "Force assign" button. > Why the button is not hidden?
If you don't have access, the button is readonly: http://hg.tryton.org/trytond/file/62f1b9747e9f/trytond/model/modelview.py#l441 > I think it would be better UX, but I don't investigated if it's hard to > impement. Are you sure you closed the client before testing new configuration because views are cached by the client. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgptxXEeSi1Q4.pgp
Description: PGP signature