c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19425
[Bug 735986] Re: [TRUNK][REGRESSION] KeyError: 'valid'
** Branch linked: lp:~openerp-dev/openobject-client/trunk-bug-735986-nch
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/735986
Title:
[TRUNK][REGRESSION] KeyError: 'valid'
Status in OpenERP GTK Client:
Confirmed
Bug description:
=> open a lead, convert into opportunity and the action return by the
method is not executed :
Traceback (most recent call last):
File "/home/openerp/source/client/trunk/bin/widget/view/form_gtk/parser.py", line 123, in button_clicked
model.get_button_action(self.form.screen, id, self.attrs)
File "/home/openerp/source/client/trunk/bin/widget/model/record.py", line 379, in get_button_action
obj._exec_action(result, {}, context=context)
File "/home/openerp/source/client/trunk/bin/modules/action/main.py", line 143, in _exec_action
limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
File "/home/openerp/source/client/trunk/bin/modules/gui/window/__init__.py", line 49, in create
auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
File "/home/openerp/source/client/trunk/bin/modules/gui/window/form.py", line 130, in __init__
self.screen.load(res_id)
File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 793, in load
self.display(ids[0])
File "/home/openerp/source/client/trunk/bin/widget/screen/screen.py", line 802, in display
self.current_view.display()
File "/home/openerp/source/client/trunk/bin/widget/view/form.py", line 401, in display
widget.display(model, state)
File "/home/openerp/source/client/trunk/bin/widget/view/form.py", line 53, in display
self.widget.display(model, modelfield)
File "/home/openerp/source/client/trunk/bin/widget/view/form_gtk/one2many_list.py", line 425, in display
if not self.model_field.get_state_attrs(model)['valid']:
KeyError: 'valid'
References