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

Error while working in openERP

By
Damian Le
on 2/5/14, 4:13 AM 1,353 views

Hello community!

While im working in openERP i get this Error:

>     Client Traceback (most recent call last):
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py",
> line 204, in dispatch
>         response["result"] = method(self, **self.params)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py",
> line 1037, in load_needaction
>         return req.session.model('ir.ui.menu').get_needaction_data(menu_ids,
> req.context)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py",
> line 42, in proxy
>         result = self.proxy.execute_kw(self.session._db,
> self.session._uid,
> self.session._password, self.model,
> method, args, kw)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py",
> line 30, in proxy_method
>         result = self.session.send(self.service_name,
> method, *args)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py",
> line 103, in send
>         raise xmlrpclib.Fault(openerp.tools.ustr(e),
> formatted_info)
>     
>     
>     Server Traceback (most recent call last):
>       File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py",
> line 89, in send
>         return openerp.netsvc.dispatch_rpc(service_name,
> method, args)
>       File "/usr/lib/pymodules/python2.7/openerp/netsvc.py",
> line 292, in dispatch_rpc
>         result = ExportService.getService(service_name).dispatch(method,
> params)
>       File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py",
> line 626, in dispatch
>         res = fn(db, uid, *params)
>       File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py",
> line 190, in execute_kw
>         return self.execute(db, uid, obj, method, *args, **kw or {})
>       File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py",
> line 132, in wrapper
>         return f(self, dbname, *args, **kwargs)
>       File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py",
> line 199, in execute
>         res = self.execute_cr(cr, uid, obj, method, *args, **kw)
>       File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py",
> line 187, in execute_cr
>         return getattr(object, method)(cr, uid, *args, **kw)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_ui_menu.py",
> line 322, in get_needaction_data
>         model, id = model_data_obj.get_object_reference(cr,
> uid, menu_data.split('.')[0],
> menu_data.split('.')[1])
>       File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py",
> line 18, in lookup
>         r = self.lookup(self2, cr, *args)
>       File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py",
> line 46, in lookup
>         value = d[key] = self.method(self2, cr, *args)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py",
> line 872, in get_object_reference
>         data_id = self._get_id(cr, uid, module, xml_id)
>       File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py",
> line 18, in lookup
>         r = self.lookup(self2, cr, *args)
>       File "/usr/lib/pymodules/python2.7/openerp/tools/cache.py",
> line 46, in lookup
>         value = d[key] = self.method(self2, cr, *args)
>       File "/usr/lib/pymodules/python2.7/openerp/addons/base/ir/ir_model.py",
> line 865, in _get_id
>         raise ValueError('No such external ID currently defined in the
> system: %s.%s' % (module, xml_id))
>     ValueError: No such external ID currently defined in the system:
> sale.menu_sale_quotations

I cant fix that and need your Help, what can i do?

EDIT: The error appears when im clicking on the menu Sales.

Hello

Check your xml file. There might be issue in passing ID to menu,form or action

shashank verma
on 2/5/14, 4:45 AM

Thanks for your answer, but i really dont know what to do then.

Damian Le
on 2/5/14, 4:19 PM

Which xml file i have to edit?

Damian Le
on 2/6/14, 3:16 AM
0
Damian Le
On 2/6/14, 3:51 AM

Hey,

i know now how the Error starts.

I pressed:

properties>finances>E-invoices & payments>Customer: Management of customer payments was checked, i unchecked that and then the error displayed.

What can I do now?

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 2/6/14, 10:12 AM

Hi; Keep it checked, cause this install account_voucher module ( which deal with Einvoicing and Payments). Without this modul you lost many functionalities like :

Invoicing/Customers/Customer Payments Invoicing/Customers/Sales Receipts Invoicing/Journal Entries/Journal Vouchers Invoicing/Suppliers/Purchase Receipts Invoicing/Suppliers/Supplier Payments Reporting/Accounting/Sales Receipts Analysis

ok, thanks! :)

Damian Le
on 2/12/14, 5:28 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

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

Question tools

1 follower(s)

Stats

Asked: 2/5/14, 4:13 AM
Seen: 1353 times
Last updated: 3/16/15, 8:10 AM