On 2018-08-07 03:57, Javier Uribe wrote: > Ah ok, I think I understand now. So if the field function does not have a > on_change as a getter, for example, a field moves which has as a getter > get_moves(). This methos will not be trigger when creating a record, will it?
No, the getter are only called when reading records. > So I only have to care to trigger on_change and on_change with causing that > the fields function which has this on_change as getter will be filled. > > My only doubt then is with these cases in which the field does not have an > on_change method as a getter, and during the process of creating a record I > want to use this field. Because if i'm not wrong, on Tryton if i'm creating a > record and I print moves (using the same example), this will trigger > get_moves. How does Tryton client get this value? The print action will save the record before being launched. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com 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/20180807113840.pve76mhlrwxszxvx%40kei.