Il giorno martedì 23 gennaio 2018 09:25:44 UTC+1, Sergi Almacellas Abellana ha scritto: > El 22/01/18 a les 19:02, Cato Nano ha escrit: > > Il giorno domenica 21 gennaio 2018 17:50:09 UTC+1, Cédric Krier ha scritto: > >> On 2018-01-21 07:58, Cato Nano wrote: > > > > > > And this is the error in the client when I go to save a line > > > > ERROR:tryton.common.common:Traceback (most recent call last): > > File > > "/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/win_form.py", > > line 421, in response > > self.callback(result) > > File > > "/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form_gtk/one2many.py", > > line 364, in <lambda> > > WinForm(self.screen, lambda a: update_sequence(), new=True, > > File > > "/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form_gtk/one2many.py", > > line 355, in update_sequence > > self.screen.group.set_sequence(field=sequence) > > File > > "/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/model/group.py", > > line 316, in set_sequence > > value = record[field].get(record) > > AttributeError: 'bool' object has no attribute 'get' > > > > 'bool' object has no attribute 'get'> > > > > > > The sequence attribute is not a field name > > > > The attribute of which field are you referring to ? > > This is about a tree view which have a sequence attribute which is wrong > as the pointed field does not exist on the model. > > You should either use a field from the model or remove the sequence > attribute. > > Hope it helps. > -- > Sergi Almacellas Abellana > www.koolpi.com > Twitter: @pokoli_srk
Yes Sergi, that helped. Thanks Now There are some other problems but the error messages are clearer at least -- 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/fb687ac6-5410-4a18-ae21-f3950514df4d%40googlegroups.com.
