On 2016-05-27 11:04, Francisco Maria Moyano Casco wrote: > Hello. > I need to use the last element of a One2Many field. Is there any > function to do that?
You can use negative index -1 See point 3 of https://docs.python.org/2/library/stdtypes.html#sequence-types-str-unicode-list-tuple-bytearray-buffer-xrange -- 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/20160527190504.GX27373%40tetsuo.
