Odoo Help

1

How to install "Product Cost incl. BOM" addon in OpenERPv8?

By
Madura
on 7/3/14, 5:53 AM 4,227 views

Hello,

I have downloaded the module "Product Cost incl. BOM", but i hane no idea how to install it on the Open ERP server, anyone can help me?

Thank You.

I am getting an error trying to install this module:OpenERP Server ErrorTraceback (most recent call last): File "/opt/odoo/odoo/openerp/http.py", line 476, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo/openerp/http.py", line 495, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo/openerp/http.py", line 311, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/openerp/http.py", line 308, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo/odoo/openerp/http.py", line 685, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo/openerp/http.py", line 360, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 987, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo/odoo/addons/web/controllers/main.py", line 975, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/openerp/addons/base/module/module.py", line 450, in button_immediate_install return self._button_immediate_function(cr, uid, ids, self.button_install, context=context) File "/opt/odoo/odoo/openerp/api.py", line 204, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo/openerp/addons/base/module/module.py", line 497, in _button_immediate_function registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True) File "/opt/odoo/odoo/openerp/modules/registry.py", line 322, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/odoo/odoo/openerp/modules/loading.py", line 365, in load_modules loaded_modules, update_module) File "/opt/odoo/odoo/openerp/modules/loading.py", line 268, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/opt/odoo/odoo/openerp/modules/loading.py", line 152, in load_module_graph load_openerp_module(package.name) File "/opt/odoo/odoo/openerp/modules/module.py", line 305, in load_openerp_module __import__('openerp.addons.' + module_name) File "/opt/odoo/odoo/openerp/modules/module.py", line 76, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/opt/odoo/odoo/addons/product_get_cost_field/__init__.py", line 22, in from . import product_get_cost_field File "/opt/odoo/odoo/addons/product_get_cost_field/product_get_cost_field.py", line 25, in import decimal_precision as dp ImportError: No module named decimal_precisionDecimal_precision is installed on the server.

Kyle Krenzer
on 7/11/14, 1:26 PM

I edited product_cost_incl_bom.py and change one import line into: import openerp.addons.decimal_precision as dp

Néstor Gómez Muñoz
on 11/13/14, 5:05 PM
1

Jagdish Panchal

--Jagdish Panchal--
2694
| 5 4 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 7/3/14, 6:00 AM

Hi

Install Module

Put your module in Addons directory.

GO Settings >> Modules >> Update Modules List  Po-pup will open Click on Update button then

Go Settings >> Modules >> Install Modules 

 Remove Install module and search your module name open your module and click on install button

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)

Stats

Asked: 7/3/14, 5:53 AM
Seen: 4227 times
Last updated: 3/16/15, 8:10 AM