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

Uncaught TypeError: Cannot read property 'parents' of undefined ? (importing a v7 database into v8/trunk)

By
om
on 7/29/14, 3:48 PM 1,751 views

Hi All,

Was hoping someone might be able to assist. I am currently running openerp 7 and it works perfectly, I installed the trunk on a test server as I wanted to test out the new website builder. When I try to import my openerp 7 database I get the error "Uncaught TypeError: Cannot read property 'parents' of undefined" , although I get a notification "database restored succesfully" nothing works. The server crashes and I have to manually delete the database from postgress before it will start up again. When I import the database into a second openerp 7 installation everything works fine. What am I missing?

Thanks. 

0

Ray Carnes

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 7/29/14, 3:58 PM

You can't import a database from one release of Odoo to another (ie: v7 to v8).  You need to 'migrate' the database, accounting for data model changes between version - which can be staggeringly complex.  This is either a service from Odoo, or you rely on your own skills or those of the community through the open-upgrade project.

Only upgrades from the same version (ie: v7 in March to v7 in December) are supported via the 'update=all' command-line argument.

Pricing for Odoo service - aka the Publishers Warranty - aka subscription - at https://www.odoo.com/page/pricing

Information on Open-upgrade at https://doc.therp.nl/openupgrade/ 

If you opt to migrate yourself, you are better off exporting everything in your database to CSV files and importing everything to the new version mapping the data models over yourself.  (although I would never recommend this option unless you have a LOT of time on your hands).

1
om
On 7/30/14, 1:31 AM

My noobness shining through :D Thanks alot for the info Ray, much appreciated.

0
Timo Goosen
On 7/30/14, 8:13 AM

This is a good question. I kind of asked the same question:

https://www.odoo.com/forum/help-1/question/migrate-database-from-openerp-7-to-odoo-58664

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: 7/29/14, 3:48 PM
Seen: 1751 times
Last updated: 3/16/15, 8:10 AM