Odoo Help

Welcome!

This community 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.

0

bug report on serial number? [Closed]

By
Koffi KPONOUGLO
on 4/5/13, 4:21 PM 1,183 views

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

by
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)

]

0

Ray Carnes

--Ray Carnes--
15677
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

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. 

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

Bugs get reported to Launchpad, not here.

https://accounts.openerp.com/forum/Help-1/question/1077

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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