Skip to Content
Menu
This question has been flagged
2 Replies
2916 Views

Hello,


I found this on odoo.

https://www.odoo.com/apps/trunk/shipping_bista/

I have tried to install it but it gives me this error.

 

..

.

.

.

. File "/opt/odoo/odoo-server/addons/shipping_bista/__init__.py", line 22, in <module> import shipping File "/opt/odoo/odoo-server/addons/shipping_bista/shipping.py", line 22, in <module> from osv import osv, fields ImportError: No module named osv

 

Thank you guys in advance!

Avatar
Discard
Best Answer

Hi,

Just change that line.

 from osv import osv, fields                    to            from openerp.osv import osv, fields

thats it.

Avatar
Discard
Author

Hello, yes thank you I did that but than i get this error... File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 101, in __getitem__ return self.models[model_name] KeyError: 'sale.shop'

ohh, then this module is not for the odoo V8. Because into odoo V8 there is no any model for "sale.shop". "sale.shop" model is only available before V8. So, you have to migrate this module or you have to find out this module for the odoo V8.

Author Best Answer

Hello, yes thank you I did that but than i get this error...

File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 101, in __getitem__ return self.models[model_name] KeyError: 'sale.shop'

Avatar
Discard