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.

[1] 
http://www.tryton.org/de/categories/release-1.html#major-changes-in-graphical-user-interface

-- 

Regards Udo Spallek
_____________________________
virtual things
Preisler & Spallek GbR

Windeckstr. 77
81375 Munich
Tel: +49 (89) 710 481 55

[email protected]
http://www.virtual-things.biz

-- 
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/20170725165558.1f931583%40bender.dsl.

Attachment: pgpYY8eeBYfcH.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to