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

Cant install any module on Openerp 7.0 windows.

By
samson harrison
on 9/20/13, 3:23 AM 4,041 views

I have installed Openerp 7.0 on windows 7. I have managed to install Purchase, Warehouse, Sales. Finance. Everything is working fine. I removed sample data with a script i got from internet having truncate command

After this when i install a new module i get the following error.

Cant seem to find a solution for this.

thank

sam

OpenERP Server Error Client Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\web\controllers\main.py", line 1132, in call_button File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\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-20130912-231158\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\base\module\wizard\base_module_upgrade.py", line 90, in upgrade_module File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\registry.py", line 218, in new File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\loading.py", line 354, in load_modules File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\loading.py", line 256, in load_marked_modules File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\loading.py", line 192, in load_module_graph File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\loading.py", line 77, in <lambda> File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\modules\loading.py", line 124, in _load_data File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\convert.py", line 954, in convert_xml_import File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\convert.py", line 847, in parse File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\convert.py", line 805, in _tag_record File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\convert.py", line 824, in id_get File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\convert.py", line 833, in model_id_get File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\base\ir\ir_model.py", line 869, in get_object_reference File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20130912-231158\Server\server\openerp\addons\base\ir\ir_model.py", line 862, in _get_id ValueError: No such external ID currently defined in the system: base.res_partner_1 Ok

0
Pinakin Nayi (pna)
On 9/20/13, 10:45 AM

Hello,

Its very obvious how, think you have deleted all demo data through script, Now if you are trying to install any new module in which there is reference so there is always error. Because when you install new module in which you have already demo data. In this case you have two choices either you create a new database without demo data or you just remove the demo data of related module from code.

0
Marc
On 2/15/14, 8:26 PM

What a stupid way of implementing modules. Demo data is the first you remove not?

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: 9/20/13, 3:23 AM
Seen: 4041 times
Last updated: 3/16/15, 8:10 AM