Then go to the converted opportunity (if you created a new partner) try to open
the new partner :
same error
Traceback (most recent call last):
File
"/home/openerp/source/client/trunk/bin/widget/view/form_gtk/many2one.py", line
280, in sig_edit
dia = dialog(self.attrs['relation'],
self._view.modelfield.get(self._view.model), attrs=self.attrs,
window=self._window, domain=domain, context=context)
File
"/home/openerp/source/client/trunk/bin/widget/view/form_gtk/many2one.py", line
81, in __init__
self.screen.load([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'
--
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
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'
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp