Cato Nano
2018-01-21 09:33:08 UTC
I' m getting this error
$ tryton
/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form.py:48: Warning: value "0" of type 'guint' is invalid or out of range for property 'n-columns' of type 'guint'
self.table = gtk.Table(1, col)
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'
I understand that record[field] returns a boolean
How is that ?
I have a bunch of calculated fields on my Bolletta line, but when I click the "Ok" button, this happens
Thanks
$ tryton
/home/catonano/tryton-client/lib/python2.7/site-packages/tryton/gui/window/view_form/view/form.py:48: Warning: value "0" of type 'guint' is invalid or out of range for property 'n-columns' of type 'guint'
self.table = gtk.Table(1, col)
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'
I understand that record[field] returns a boolean
How is that ?
I have a bunch of calculated fields on my Bolletta line, but when I click the "Ok" button, this happens
Thanks
--
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/162f1d09-04cf-48b8-98a9-57245e53ad32%40googlegroups.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/162f1d09-04cf-48b8-98a9-57245e53ad32%40googlegroups.com.