コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4630 ビュー

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

著作者

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

著作者

Which xml file i have to edit?

著作者 最善の回答

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?

アバター
破棄
最善の回答

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! :)

関連投稿 返信 ビュー 活動
1
7月 25
4291
1
10月 24
2075
0
12月 23
1809
0
4月 21
2455
1
6月 20
4332