2015-03-11 9:32 GMT+01:00 Cédric Krier <cedric.kr...@b2ck.com>: > On 11 Mar 08:57, Guillem Barba Domingo wrote: > > Hi, > > > > is it possible to add (no create) and remove (no delete) One2Many records > > in an on_change function? The One2Many field has add_remove attribute. > > We need to replicate the "add" and "remove" actions of "write" [1] > > > http://doc.tryton.org/3.4/trytond/doc/topics/models/fields_on_change.html#on-change-on-change-with-return-values >
ups! I didn't find it :-$ thanks And in 3.6, it is all transparent. > I know. It is a biiiiiiiiiig win of 3.6 -- Guillem Barba http://www.guillem.alcarrer.net