On 2017-07-20 07:01, Roei Erez wrote: > 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.
It is not doable because it goes against the design principal of Tryton which separate the access right from the view. If the reverse Many2One is required, you should be able to have the same behaviour from within One2Many than outside. -- 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/20170720224517.GI30717%40kei.
