openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14277
[Bug 1029275] Re: [trunk] 6.2 Product error on create new product (with Analytic Accounts)
Very Important
--
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/1029275
Title:
[trunk] 6.2 Product error on create new product (with Analytic
Accounts)
Status in OpenERP Addons (modules):
Confirmed
Bug description:
I used my build, but also the latest build here:
http://trunk_15051.runbot.openerp.com
db:trunk_15051
How to replicate:
- Install MRP
- Install Accounting
- Install Sales
- Click on Settings-> Accounting and mark Analytic Accounts for Sales and Purchases, then Apply
Now when I click on Create New Product, following error arise:
---------------------------------------------------------------------------------------------------------------------------
Client Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/common/http.py", line 181, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/controllers/main.py", line 1035, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/controllers/main.py", line 997, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/common/http.py", line 623, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/web/common/http.py", line 608, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/addons/audittrail/audittrail.py", line 494, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-15051/server/openerp/osv/orm.py", line 1529, in default_get
for i in range(len(field_value)):
TypeError: object of type 'bool' has no len()
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1029275/+subscriptions
References