hello , In fact I needed to improve pos loading proudct perfermence , so I used this branch : lp:~openerp-dev/openobject-addons/7.0-pos-performance-cbi.
the problem caused by product standard price value equal to zero . I added an exception message to solve this point. I have another question related to this branch it marked : " Merge into: lp:openobject-addons/7.0" but when I compare it with the last stable 7.0 , product>pricelist.py code , they are not the same , Thank you -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1235183 Title: Purchase : Select orderline product bug Status in OpenERP Addons (modules): Incomplete Bug description: HI , server revno :4962 web revno :3913 addons revno : 9498 1- Create a purchase order , then select supplier . When selecting a product in orderline , I get this error Client Traceback (most recent call last): File "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/controllers/main.py", line 1129, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/controllers/main.py", line 1121, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/mnt/hgfs/share/ADL_eclipse/adl-web/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 "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/session.py", line 31, in proxy_method result = self.session.send(self.service_name, method, *args) File "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/session.py", line 104, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/mnt/hgfs/share/ADL_eclipse/adl-web/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, *args, **kwargs) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/mnt/hgfs/share/ADL_eclipse/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/mnt/hgfs/share/ADL_eclipse/adl-addons/purchase/purchase.py", line 997, in onchange_product_id product.id, qty or 1.0, partner_id or False, {'uom': uom_id, 'date': date_order})[pricelist_id] File "/mnt/hgfs/share/ADL_eclipse/adl-addons/product/pricelist.py", line 414, in price_get return self.price_get_batch(cr, uid, ids, prod_id, qty, partner=partner, context=context)[prod_id[0]] KeyError: 2 2- Create a purchase order , then add a order line and after that select a suplier there is no error. In case 1 the error is related to the choice of the partner becuase price_get_batch method has a partner argument wich is False in the second error. Please Help To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1235183/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

