** Changed in: openobject-client
Importance: Undecided => High
** Changed in: openobject-client
Status: New => Confirmed
** Changed in: openobject-client
Assignee: (unassigned) => OpenERP sa GTK client R&D (openerp-dev-gtk)
--
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/851596
Title:
"Purchase, Sale: Traceback generated when creating PO -SO line"
Status in OpenERP GTK Client:
Confirmed
Bug description:
When we create a new SO or PO and try to add new line it crashes with
following traceback:
Traceback (most recent call last):
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/view/form_gtk/one2many_list.py",
line 313, in _sig_new
dia = dialog(self.attrs['relation'], parent=self._view.model,
attrs=self.attrs, model_ctx=self.screen.models._context, window=self._window,
readonly=self._readonly, context=ctx)
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/view/form_gtk/one2many_list.py",
line 107, in __init__
context=context)
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/screen/screen.py", line
588, in add_view_id
toolbar=view.get('toolbar', False), submenu=view.get('submenu', False),
context=context)
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/screen/screen.py", line
635, in add_view
self.current_view.display()
File "/home/tiny/Desktop/workspace/trunk/client/bin/widget/view/form.py",
line 408, in display
widget.display(model, state)
File "/home/tiny/Desktop/workspace/trunk/client/bin/widget/view/form.py",
line 53, in display
self.widget.display(model, modelfield)
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/view/form_gtk/many2many.py",
line 229, in display
self.screen.load(ids)
File
"/home/tiny/Desktop/workspace/trunk/client/bin/widget/screen/screen.py", line
796, in load
self.models.load(ids, display=False, context=self.context)
File "/home/tiny/Desktop/workspace/trunk/client/bin/widget/model/group.py",
line 234, in load
values = self.rpc.read(ids, self.fields.keys() +
[rpc.CONCURRENCY_CHECK_FIELD], c)
File "/home/tiny/Desktop/workspace/trunk/client/bin/rpc.py", line 372, in
__call__
return session.rpc_exec_auth('/object', 'execute', self.object,
self.func, *args)
File "/home/tiny/Desktop/workspace/trunk/client/bin/rpc.py", line 186, in
rpc_exec_auth
return sock.exec_auth(method, *args)
File "/home/tiny/Desktop/workspace/trunk/client/bin/rpc.py", line 120, in
exec_auth
res = self.execute(method, self._uid, self._passwd, *args)
File "/home/tiny/Desktop/workspace/trunk/client/bin/rpc.py", line 137, in
execute
raise e
TypeError: can't pickle instancemethod objects
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/851596/+subscriptions
_______________________________________________
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