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

ValueError: No such external ID currently defined in the system: sale.group_system?

By
Praveen S
on 8/24/13, 4:44 AM 1,111 views

Hai , I am new to openERP , When i tried to upgrade the sales management module i got the following error.Please help me and it is very urgent....

Client Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\http.py", line 204, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\controllers\main.py", line 1133, in call_button
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\controllers\main.py", line 1121, in _call_kw
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\session.py", line 42, in proxy
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\session.py", line 30, in proxy_method
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\session.py", line 103, in send


Server Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\web\session.py", line 89, in send
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\netsvc.py", line 292, in dispatch_rpc
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\service\web_services.py", line 626, in dispatch
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\osv\osv.py", line 188, in execute_kw
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\osv\osv.py", line 131, in wrapper
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\osv\osv.py", line 197, in execute
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\osv\osv.py", line 185, in execute_cr
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\base\module\module.py", line 513, in button_immediate_upgrade
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\base\module\module.py", line 475, in _button_immediate_function
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\pooler.py", line 39, in restart_pool
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\registry.py", line 218, in new
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\loading.py", line 341, in load_modules
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\loading.py", line 256, in load_marked_modules
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\loading.py", line 188, in load_module_graph
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\loading.py", line 76, in <lambda>
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\modules\loading.py", line 124, in _load_data
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\convert.py", line 954, in convert_xml_import
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\convert.py", line 847, in parse
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\convert.py", line 652, in _tag_menuitem
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\convert.py", line 824, in id_get
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\convert.py", line 833, in model_id_get
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\base\ir\ir_model.py", line 868, in get_object_reference
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files (x86)\OpenERP 7.0-20130514-231031\Server\server\openerp\addons\base\ir\ir_model.py", line 861, in _get_id
ValueError: No such external ID currently defined in the system: sale.group_system
0
Riyaj Pathan
On 8/24/13, 5:48 AM

Here is the solution: just define record for id="group_system" before accessing it. for e.g. definition of some record is in 2.xml (record id="group_system"...)and you are accessing it in 1.xml (field name="name" groups="group_system"...), then in __openerp__.py, add file 2.xml before 1.xml in sequence like "2.xml", "1.xml"

and not "1.xml", "2.xml"

Hope this helps.

HAi Riyaj I cant get it. Pls give more explanation based on my error. I am new to openerp . If you know pls specify the file where it is. I dont know whether it was in sale module or any other else.

Praveen S
on 8/24/13, 3:20 PM

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

0 follower(s)

Stats

Asked: 8/24/13, 4:44 AM
Seen: 1111 times
Last updated: 3/16/15, 8:10 AM