c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36333
[Bug 877989] Re: error when opening view for creating invoices
** Changed in: openerp-web
Status: Fix Committed => Incomplete
--
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/877989
Title:
error when opening view for creating invoices
Status in OpenERP Web:
Incomplete
Bug description:
In Sales>Invoicing>Lines to Invoices, the first time we click on Create Invoice the wizard pop-up comes up, but immediately the following error is raised. The second time we click Create Invoice it works.
Client Traceback (most recent call last):
File "/home/openerp/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 943, in load
fields_view = self.fields_view_get(req, model, view_id, 'search')
File "/home/openerp/source/web/trunk/addons/web/controllers/main.py", line 763, in fields_view_get
fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 417, in proxy
*args)
File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 294, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 264, in send
raise fault
Server Traceback (most recent call last):
File "/home/openerp/source/web/trunk/addons/web/common/openerplib/main.py", line 245, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/openerp/source/server/trunk/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/openerp/source/server/trunk/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp/source/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2099, in fields_view_get
cr, user, context)
File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1876, in _get_default_search_view
tree_view = self.fields_view_get(cr, uid, False, 'tree', context=context)
File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 2099, in fields_view_get
cr, user, context)
File "/home/openerp/source/server/trunk/openerp/osv/orm.py", line 1810, in _get_default_tree_view
_rec_name = self._columns.keys()[0]
IndexError: list index out of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/877989/+subscriptions
References