c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #32156
[Bug 851596] Re: "Purchase, Sale: Traceback generated when creating PO -SO line"
** Project changed: openobject-addons => openobject-client
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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
References