Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
8747 Vistas

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 !

Avatar
Descartar

"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?

Autor

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

Autor

yes does not compatible

Autor

have you a solution

Autor

the problem that will be compatiblity with open erp 7

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

Autor

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

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 :)

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

Autor

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

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

Autor

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

Autor

and we have l10n_fr_hr_payroll french payroll

Mejor respuesta

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

http://downloads.egenix.com/python/egenix-mx-base-3.2.3.win32-py2.6.prebuilt.zip?baseurl=http%3A%2F%2Fdownloads.egenix.com%2Fpython%2F&product=egenix-mx-base&version=3.2.3&platform=win32&python=py2.6.prebuilt.zip

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

Avatar
Descartar
Autor

thank's for your answer I try to do it

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

Autor

Yes, is solved with OPENEPR v6

okey :) good luck :)

Autor

thank's for your help :)

you are welcome ;)

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

Publicaciones relacionadas Respuestas Vistas Actividad
4
jun 17
7356
1
ene 17
5306
1
feb 24
2936
1
dic 22
16729
1
nov 19
7044