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.


ImportError: No module named ir !

on 3/16/13, 6:55 AM 2,931 views

Hi, I have installed a module account_salary in OpenERP 7 and the problem is the following :

OpenERP Server Error

Client Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\http.py", line 195, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1082, in call_button File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\controllers\main.py", line 1070, in _call_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 43, in proxy File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 31, in proxy_method File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 104, in send

Server Traceback (most recent call last): File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\web\session.py", line 90, in send File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\netsvc.py", line 295, in dispatch_rpc File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\service\web_services.py", line 614, in dispatch File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 169, in execute_kw File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 123, in wrapper File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 179, in execute File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\osv\osv.py", line 166, in execute_cr File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 425, in button_immediate_install File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\base\module\module.py", line 476, in _button_immediate_function File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\pooler.py", line 39, in restart_pool File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\registry.py", line 214, in new File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 347, in load_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 258, in load_marked_modules File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\loading.py", line 161, in load_module_graph File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 405, in load_openerp_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server.\openerp\modules\module.py", line 133, in load_module File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\account_salary__init__.py", line 1, in <module> File "C:\Program Files\OpenERP 7.0-20130207-002327\Server\server\openerp\addons\account_salary\cotisation.py", line 5, in <module> ImportError: No module named ir

the ir module does not exist in OPENERP 7! what's the module that replace or what I need to add code to make it work ? thank you in advance for your help !

"ir" still exists in openerp v7, but it looks like you're trying to install an unofficial and not supported addon. is your module reported to be v7 compatible?

Davide Corio
on 3/16/13, 7:00 AM

if the module is not compatible with v7 how to make it compatible

on 3/16/13, 7:05 AM

yes does not compatible

on 3/16/13, 7:06 AM

have you a solution

on 3/16/13, 7:08 AM

the problem that will be compatiblity with open erp 7

on 3/16/13, 7:46 AM

jihene : I suggest you if the module is not compatible trying to work with the previous version of "openerp" for example version 6.1

on 3/16/13, 7:46 AM

yes i try to work with v6 the problem there are several module is not compatible with the version 7 OpenERP and we need a solution

on 3/16/13, 7:53 AM

the question is that you're forced to WORK WITH the verion 7.0 because it is not very stable and it's going to put you a lot of trouble with external modules you see :)

on 3/16/13, 8:05 AM

there's another possibility is that it may be that the module account_salary another name in version 7.0

on 3/16/13, 8:10 AM

but i download from this link http://bazaar.launchpad.net/~openerp-community/openobject-addons/account_salary/files

on 3/16/13, 8:13 AM

http://v6apps.openerp.com/ trying to get your module in this site

on 3/16/13, 8:16 AM

yes we have a module hr_payroll and is not the same account salary is the french payroll

on 3/16/13, 8:19 AM

and we have l10n_fr_hr_payroll french payroll

on 3/16/13, 8:22 AM
On 3/16/13, 7:59 AM

if the module is not compatible so you have to wait for a updates of the module, I also had the problem with the meme payroll module Moroccan but finally I decided to work with version 6.0 but wait try this solution 1) download


2) Extract the file in Any folder 3) copy the mx folder form the extracted file to C: \ Program Files \ OpenERP 6.1-1 \ server 4) restart

thank's for your answer I try to do it

on 3/16/13, 8:08 AM

it's okey jehene the problom is solved ????

on 3/16/13, 8:27 AM

Yes, is solved with OPENEPR v6

on 3/16/13, 8:28 AM

okey :) good luck :)

on 3/16/13, 8:29 AM

thank's for your help :)

on 3/16/13, 8:30 AM

you are welcome ;)

on 3/16/13, 8:31 AM

@ ahmed. I'm using openerp7.0. i used same step above,but still shows error. ImportError: No module named ir

on 7/19/13, 4:24 AM

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)


Asked: 3/16/13, 6:55 AM
Seen: 2931 times
Last updated: 3/16/15, 8:10 AM