c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33891
[Bug 865942] Re: When Click On Duplicate - Traceback are found
Hello ,
I am confirming this issue at revision no :
New web client : 1134
Thanks.
** Changed in: openerp-web
Importance: Undecided => Medium
** Changed in: openerp-web
Status: New => Confirmed
** Changed in: openerp-web
Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)
--
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/865942
Title:
When Click On Duplicate - Traceback are found
Status in OpenERP Web:
Confirmed
Bug description:
Problem : When Click On Duplicate - Traceback are found
Step 1 : Manufacturing --> Master Data --> Bill Of Material
OR Bill Of Material From Product Form
Step 2 : In Bom form view -- Under Componants Tab
Step 3 : create new recored -- click form view.
Step 4 : After the add recored ... And "Create & Edit"
After Show the button "Duplicate" Under the Componants Tab
click on it.... "Traceback Found on Client and Server".
Client Traceback (most recent call last):
File "/home/amb/source/web-client/addons/web/common/dispatch.py", line 161, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/amb/source/web-client/addons/web/controllers/main.py", line 752, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/amb/source/web-client/addons/web/controllers/main.py", line 748, in call_common
return getattr(req.session.model(model), method)(*args)
File "/home/amb/source/web-client/addons/web/common/openerplib/main.py", line 373, in proxy
*args)
File "/home/amb/source/web-client/addons/web/common/openerplib/main.py", line 250, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/amb/source/web-client/addons/web/common/openerplib/main.py", line 102, in send
return getattr(service, method)(*args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
Server Traceback (most recent call last):
File "/home/amb/source/server/trunk/openerp/wsgi.py", line 77, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/amb/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/amb/source/server/trunk/openerp/service/web_services.py", line 573, in dispatch
res = fn(db, uid, *params)
File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amb/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 4531, in copy
data = self.copy_data(cr, uid, id, default, context)
File "/home/amb/source/addons/trunk/mrp/mrp.py", line 367, in copy_data
bom_data = self.read(cr, uid, id, [], context=context)
File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 3195, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/amb/source/server/trunk/openerp/osv/orm.py", line 3254, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/amb/source/server/trunk/openerp/sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "/home/amb/source/server/trunk/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
DataError: invalid input syntax for integer: "a"
LINE 1: ...n",mrp_bom.id FROM "mrp_bom" WHERE mrp_bom.id IN (E'a', E'e'...
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/865942/+subscriptions
References