Odoo Help


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

bogdan baltatu
on 10/2/13, 8:10 AM 1,537 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
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: 1537 times
Last updated: 3/27/15, 6:37 PM