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.

1

How to convert openerp 7 module to odoo 8

By
yeshwanth
on 3/10/15, 5:30 AM 2,854 views

Hi,

Many modules are from Openerp and i want them in Odoo 8. So how am i suppose to convert the modules to Odoo (v.8) ?

Thanks in advance..

the error:

ParseError: "External ID not found in the system: document.menu_document_doc"
means you've used wrong xml id. in the entry:
<menuitem name="Shared Repository (FTP)" action="action_ftp_browse" id="menu_document_browse" icon="STOCK_EXECUTE" parent="document.menu_document_doc" sequence="1"/>
parent="document.menu_document_doc" means you're inheriting record in XML with id="menu_document_doc" from "document" module. so there should be existing record with such id in document module, otherwise you'll get this error. please refer to this documentation
Temur
on 3/11/15, 8:59 AM
1

Temur

--Temur--
2896
| 6 5 7
Tbilisi, Georgia
--Temur--
Programmer
Temur
On 3/10/15, 5:54 AM

Option 1. Modules from 7.0 series in most cases are supposed to work on odoo 8.0 series as well. So you can try simple copy the module to v8.0 server(to addons folder) and check if it still works correctly after installing. if not, then refer to option 2.

Option 2. Migrate module to 8.0. it'll require some development process, Completely port it to new api as described here or get it worked by resolving issues occurred after copying to v8 (but porting to new api is a recommended way).

0
yeshwanth
On 3/10/15, 6:20 AM

I have converted a module as per instruction. But i get this error and how am i suppose to solve this?

(for futher details)

tsyeshwanth@gmail.com 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 517, in _handle_exception File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 535, in dispatch File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 294, in _call_function File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\service\model.py", line 113, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 291, in checked_call File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 751, in __call__ File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\http.py", line 387, in response_wrap File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\web\controllers\main.py", line 953, in call_button File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\web\controllers\main.py", line 941, in _call_kw File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\api.py", line 237, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\base\module\module.py", line 450, in button_immediate_install File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\api.py", line 237, in wrapper File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\base\module\module.py", line 498, in _button_immediate_function File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\registry.py", line 341, in new File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\loading.py", line 358, in load_modules File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\loading.py", line 263, in load_marked_modules File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\loading.py", line 149, in load_module_graph File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\module.py", line 312, in load_openerp_module File "C:\Program Files (x86)\Odoo 8.0-20141201\server\.\openerp\modules\module.py", line 77, in load_module File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\base_rml_edit\__init__.py", line 30, in <module> File "C:\Program Files (x86)\Odoo 8.0-20141201\server\openerp\addons\base_rml_edit\ir_actions.py", line 22, in <module> ImportError: No module named osv

0
Mariusz Mizgier
On 3/10/15, 7:55 AM

No module named osv is caused by wrong import - you should import from openerp.osv import fields, osv

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

1 follower(s)

Stats

Asked: 3/10/15, 5:30 AM
Seen: 2854 times
Last updated: 3/16/15, 8:10 AM