Odoo Help


ImportError: cannot import name check_pg_name [Closed]

Olalekan Babawale
on 1/6/16, 5:00 AM 819 views

The Question has been closed

on 01/06/2016 05:57:11

I am migrating from odoo 8 to 9 and I did:

1. git checkout 9.0

2. git pull

I replaced some files in my installation with those i got from the github website and then started my server

3. ./openerp-server -d OdooTest1 -u all

But I get this error:

odoouseracct@ubuntu:~/odoo$ ./openerp-server -d OdooTest1 -u all

Traceback (most recent call last):

File "./openerp-server", line 2, in <module>

import openerp

File "/opt/odoo/odoo/openerp/__init__.py", line 58, in <module>

import modules

File "/opt/odoo/odoo/openerp/modules/__init__.py", line 8, in <module>

from . import db, graph, loading, migration, module, registry

File "/opt/odoo/odoo/openerp/modules/graph.py", line 13, in <module>

import openerp.osv as osv

File "/opt/odoo/odoo/openerp/osv/__init__.py", line 4, in <module>

import osv

File "/opt/odoo/odoo/openerp/osv/osv.py", line 5, in <module>

from .orm import Model, TransientModel, AbstractModel

File "/opt/odoo/odoo/openerp/osv/orm.py", line 5, in <module>

from ..models import (

File "/opt/odoo/odoo/openerp/models.py", line 5918, in <module>

from .fields import Field, SpecialValue, FailedValue

File "/opt/odoo/odoo/openerp/fields.py", line 1982, in <module>

from .models import check_pg_name, BaseModel, MAGIC_COLUMNS

ImportError: cannot import name check_pg_name

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.


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

1 follower(s)


Asked: 1/6/16, 5:00 AM
Seen: 819 times
Last updated: 1/6/16, 5:57 AM