Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
4648 Ansichten

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.

Avatar
Verwerfen

Hello

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

Autor

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

Autor

Which xml file i have to edit?

Autor Beste Antwort

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?

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

ok, thanks! :)

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 25
4307
1
Okt. 24
2084
0
Dez. 23
1820
0
Apr. 21
2483
1
Juni 20
4338