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

No module named decimal_precision

By
Denis
on 1/21/14, 4:18 AM 5,594 views

ImportError: No module named decimal_precision 2014-01-20 19:35:53,480 1892 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-01-20 19:35:53,480 1892 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-01-20 19:38:51,407 1892 INFO ? werkzeug: 127.0.0.1 - - [20/Jan/2014 19:38:51] "GET / HTTP/1.1" 404 - 2014-01-20 19:38:51,816 1892 INFO ? werkzeug: 127.0.0.1 - - [20/Jan/2014 19:38:51] "GET /favicon.ico HTTP/1.1" 404 - 2014-01-20 20:19:17,698 1892 INFO ? werkzeug: 127.0.0.1 - - [20/Jan/2014 20:19:17] "GET / HTTP/1.1" 404 - 2014-01-20 20:19:20,528 1892 INFO ? werkzeug: 127.0.0.1 - - [20/Jan/2014 20:19:20] "GET / HTTP/1.1" 404 - 2014-01-21 07:39:38,259 1892 INFO ? openerp: OpenERP version 7.0-20140119-002424 2014-01-21 07:39:38,289 1892 INFO ? openerp: addons paths: E:\OpenERP\Server\server\openerp\addons 2014-01-21 07:39:38,289 1892 INFO ? openerp: database hostname: localhost 2014-01-21 07:39:38,289 1892 INFO ? openerp: database port: 5432 2014-01-21 07:39:38,289 1892 INFO ? openerp: database user: openpg 2014-01-21 07:39:42,142 1892 CRITICAL ? openerp.modules.module: Couldn't load module web 2014-01-21 07:39:42,142 1892 CRITICAL ? openerp.modules.module: No module named decimal_precision 2014-01-21 07:39:42,142 1892 ERROR ? openerp.service: Failed to load server-wide module web. The web module is provided by the addons found in the openerp-web project. Maybe you forgot to add those addons in your addons_path configuration. Traceback (most recent call last): File "E:\OpenERP\Server\server.\openerp\service__init__.py", line 60, in load_server_wide_modules File "E:\OpenERP\Server\server.\openerp\modules\module.py", line 415, in load_openerp_module File "E:\OpenERP\Server\server\openerp\addonsweb\http.py", line 628, in wsgi_postload File "E:\OpenERP\Server\server\openerp\addonsweb\http.py", line 517, in __init__ File "E:\OpenERP\Server\server\openerp\addonsweb\http.py", line 580, in load_addons File "E:\OpenERP\Server\server.\openerp\modules\module.py", line 133, in load_module File "E:\OpenERP\Server\server\openerp\addons\magento_integration-develop__init__.py", line 9, in <module> File "E:\OpenERP\Server\server\openerp\addons\magento_integration-develop\magento_.py", line 16, in <module> File "E:\OpenERP\Server\server.\openerp\modules\module.py", line 132, in load_module ImportError: No module named decimal_precision 2014-01-21 07:39:42,206 1892 INFO ? openerp: OpenERP server is running, waiting for connections... 2014-01-21 07:39:42,752 1892 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069

Python 2.7 openERP 7

what is wrong

Denis
on 1/21/14, 4:24 AM

have u check default openerp decimal_precision module is installed?

Prakash
on 1/21/14, 4:57 AM

he is not established

Denis
on 1/21/14, 5:08 AM

I think the rout cause is this:

"E:\OpenERP\Server\server\openerp\addons\magento_integration-develop\magento_.py", line 16, in <module> File

You need to clear the decimal_precision unit place in you system. Easy and may dirty way to copy the decimal_precision.py into the E:\OpenERP\Server\server\openerp\addons\magento_integration-develop folder .

klacus
on 1/21/14, 11:31 PM
1
shashank verma
On 3/7/16, 8:19 AM

This issue occurs when your module is not compatible with current odoo version,

Let say module developed for openerp 7.0 and user trying to install it on odoo 8.0


Solution:

Go to .py file and replace import decimal_precision as dp by  import openerp.addons.decimal_precision as dp


0
mohsel
On 5/18/14, 8:47 AM

I resolved this issue by manually installing the module named  "decimal_precision" by putting it in the "addons" directory, then clicking on "update modle list" the dependacy was resolved then.

0

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 1/21/14, 6:07 AM

You have a problem with the installation. I am not a Windows expert, but this is what you could do...

  • uninstall OpenERP
  • download the latest version
  • install the latest version and check the installation logs

After that run the application and check the logs to see if you have any problems

BTW, uninstall the magento connector, that is causing the trouble. Or check how the magento module is importing the decimal_precision module, try changing the import line to something like this: import openerp.decimal_precision as decimal_precision

Gustavo
on 1/21/14, 6:09 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)

Stats

Asked: 1/21/14, 4:18 AM
Seen: 5594 times
Last updated: 3/7/16, 8:19 AM