Thanks your answer and for the clarification. 

On Friday, 21 July 2017 01:50:05 UTC+3, Cédric Krier wrote:
>
> 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] <javascript:> 
> 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/ad73eed5-738f-40c0-90b8-d567bfaef44b%40googlegroups.com.

Reply via email to