On 2017-07-25 16:55, 'Udo Spallek' via tryton wrote: > Thu, 20 Jul 2017 07:01:51 -0700 (PDT) > Roei Erez <[email protected]>: > >Does anyone know how to disable the "new" button on the toolbar for a > >specific tree view? > >I am implementing a model which has one2many relation and want to > >enforce that the children will only be created in the context of the > >parent form. > > IIUC, you are looking for the multi-selection widget[1] for > Many2Many fields. By using it, your users are only able to (de-) select > entries, but not to create new ones.
Except that the search window offer a "new" button except if the field access disable the creation. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/20170725151038.GI22422%40kei.
signature.asc
Description: Digital signature
