Odoo Help


bug report on serial number? [Closed]

on 4/5/13, 4:21 PM 1,807 views

The Question has been closed for reason: off-topic or not relevant

Ray Carnes
on 04/05/2013 23:22:57

Here may be a bug that I would like to mention. I create a serial number with a positive quantity available. I create a sale quotation that I valid. Then I try to deliver all products by combining the serial number previously created. But when I click on the dropdown field "Serial Number" I always get an error on the server side. But when I use the "Split" button located just below the field "Serial Number", everything works well. Here is the error I get:


OpenERP Server Error

Client Traceback (most recent call last): File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/http.py", line 203, in dispatch response["result"] = method(self, *self.params) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/controllers/main.py", line 1074, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/controllers/main.py", line 1066, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/session.py", line 43, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/netsvc.py", line 293, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/service/web_services.py", line 618, in dispatch res = fn(db, uid, params) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/addons/stock/stock.py", line 1409, in name_search ids = self.search(cr, uid, args, limit=limit, context=context) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/orm.py", line 2354, in search return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/orm.py", line 4843, in _search query = self._where_calc(cr, user, args, context=context) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/orm.py", line 4676, in _where_calc where_clause, where_params = e.to_sql() File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/expression.py", line 1205, in to_sql q, p = self.__leaf_to_sql(leaf) File "/home/benos/Public/openerp-7.0-20130309-002120/openerp/osv/expression.py", line 1156, in __leaf_to_sql query, params = self.__leaf_to_sql((left, '=', right), model) TypeError: __leaf_to_sql() takes exactly 2 arguments (3 given)



Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 4/5/13, 11:22 PM

Bugs get reported to Launchpad, not here.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/5/13, 4:21 PM
Seen: 1807 times
Last updated: 3/16/15, 8:10 AM