Odoo Help


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.


install mrp modul

arif sudibyo
on 1/22/15, 9:42 PM 606 views

dear all,

i am trying to install mrp modul, but i got error message:

OpenERP Server Error

Client Traceback (most recent call last):
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\http.py", line 204, in dispatch
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\controllers\main.py", line 1137, in call_button
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\controllers\main.py", line 1125, in _call_kw
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\session.py", line 42, in proxy
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\session.py", line 30, in proxy_method
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last):
  File "C:\Program Files\OpenERP 7\server\openerp\addons\web\session.py", line 89, in send
  File "C:\Program Files\OpenERP 7\server\.\openerp\netsvc.py", line 296, in dispatch_rpc
  File "C:\Program Files\OpenERP 7\server\.\openerp\service\web_services.py", line 626, in dispatch
  File "C:\Program Files\OpenERP 7\server\.\openerp\osv\osv.py", line 190, in execute_kw
  File "C:\Program Files\OpenERP 7\server\.\openerp\osv\osv.py", line 132, in wrapper
  File "C:\Program Files\OpenERP 7\server\.\openerp\osv\osv.py", line 199, in execute
  File "C:\Program Files\OpenERP 7\server\.\openerp\osv\osv.py", line 187, in execute_cr
  File "C:\Program Files\OpenERP 7\server\openerp\addons\base\module\module.py", line 426, in button_immediate_install
  File "C:\Program Files\OpenERP 7\server\openerp\addons\base\module\module.py", line 473, in _button_immediate_function
  File "C:\Program Files\OpenERP 7\server\.\openerp\pooler.py", line 39, in restart_pool
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\registry.py", line 233, in new
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\loading.py", line 355, in load_modules
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\loading.py", line 256, in load_marked_modules
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\loading.py", line 192, in load_module_graph
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\loading.py", line 77, in <lambda>
  File "C:\Program Files\OpenERP 7\server\.\openerp\modules\loading.py", line 124, in _load_data
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\convert.py", line 959, in convert_xml_import
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\convert.py", line 852, in parse
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\convert.py", line 810, in _tag_record
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\convert.py", line 829, in id_get
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\convert.py", line 838, in model_id_get
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files\OpenERP 7\server\openerp\addons\base\ir\ir_model.py", line 888, in get_object_reference
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\cache.py", line 18, in lookup
  File "C:\Program Files\OpenERP 7\server\.\openerp\tools\cache.py", line 46, in lookup
  File "C:\Program Files\OpenERP 7\server\openerp\addons\base\ir\ir_model.py", line 881, in _get_id
ValueError: No such external ID currently defined in the system: account.a_expense

could you help me to solve this problem.

thank you for your help




Hi arif, that id "account.a_expense" is referenced in mrp_demo.xml. Can you try without demo data.

Akhil P Sivan
on 1/23/15, 12:23 AM

how can i do that?

arif sudibyo
on 1/23/15, 1:57 AM

Hi all, thank for your quick response. I have installed Account and Finance module completely before install MRP Modul. I see on the modul accounting that it contain *test* invoice/jurnal transaction. I have checked that all dependent modules (*'product','procurement', 'stock', 'resource', 'purchase','process'* ) on MRP has installed. what should I do?

arif sudibyo
on 1/23/15, 2:19 AM

Try two ways: (1) Create a new DB without demo data and install MRP. (2) Remove 'mrp_demo.xml' from __openerp__.py file of MRP module

Akhil P Sivan
on 1/23/15, 4:02 AM

i have create new database without demo, but i don't find way to change from old database to new database. when log in to openerp, it use old database

arif sudibyo
on 1/23/15, 5:59 AM

o.k thanks all, its work now

arif sudibyo
on 1/23/15, 7:16 AM

Hardikgiri Goswami

--Hardikgiri Goswami--
| 2 1 5
Rajkot, India
--Hardikgiri Goswami--

OpenERP/Odoo Customization/Integration Expert / Python Programmer

Skype ID : hardikgiri.goswami

Hardikgiri Goswami
On 1/23/15, 1:02 AM

Hello Arif,

After looking your problem,
MRP module should be depends on Account module. So, As per my knowledge account module should be installed on your system automatically while installing the MRP.
But As the error said, We need to install Account Module too.   
Just try to install account module first. the external id account.a_expense is exists in account.
May that's the only thing cause this error.





| 5 3 8
Pondicherry, India
On 1/23/15, 12:05 AM

Hi arif sudibyo,

Please check all the dependent modules for the mrp has been installed.(Note: the mrp module need 'product','procurement', 'stock', 'resource', 'purchase','process' modules.Please check thetse modules appears in the list of available modules.) then update the modules list and re-install the mrp module.

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

1 follower(s)


Asked: 1/22/15, 9:42 PM
Seen: 606 times
Last updated: 3/16/15, 8:10 AM