Odoo Help


Module to extend object/table (find the module containing specific model) [Closed]

bogdan baltatu
on 10/2/13, 8:10 AM 1,673 views

The Question has been closed

Ray Carnes
on 10/03/2013 14:27:14

I want to extent a object / table and I have this error:

TypeError: The model "extended.project" specifies an unexisting parent class "project.phase" You may need to add a dependency on the parent class' module.

In __openerp__.py I put this depends:

'depends': ['base',"project","project_issue"],

In my_module.py I have this class:

class extended_project_pahse(osv.osv):
_name = "extended.project"
_inherit = "project.phase"
_columns = {
    'company_id': fields.many2one('res.company', 'Company'),
_defaults = {
    'company_id': lambda self, cr, uid, ctx=None: self.pool.get('res.company')._company_default_get(cr, uid, 'project.task', context=ctx),

What is wrong?


Ray Carnes

--Ray Carnes--
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

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. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/2/13, 7:16 PM

project.phase is not in project or project_issue, it is in the project_long_term module.

1) Settings --> Technical --> Database Structure --> Models

2) Search for project.phase

3) Open the document

image description

Thanks Ray,

bogdan baltatu
on 10/3/13, 7:08 AM

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

0 follower(s)


Asked: 10/2/13, 8:10 AM
Seen: 1673 times
Last updated: 3/27/15, 6:37 PM