Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4625 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

Hello

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

Tác giả

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

Tác giả

Which xml file i have to edit?

Tác giả Câu trả lời hay nhất

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

ok, thanks! :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
4291
1
thg 10 24
2074
0
thg 12 23
1809
0
thg 4 21
2454
1
thg 6 20
4329