Odoo Help


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.


TypeError: The model "account.invoice.tax"specifies an unexisting parent class "account.invoice.tax"

Erhuvwu Akpobaro
on 2/8/15, 9:58 AM 590 views

I am trying to install a custom module which in inherits account.invoice.tax

but  i keep getting this error :

'You may need to add a dependency on the parent class\' module.' % (name, parent)) TypeError: The model "account.invoice.tax" specifies an unexisting parent class "account.invoice.tax " You may need to add a dependency on the parent class' module.


__openerp__.py :
    "name" : "Camden Market Managers",
    "version" : "1.0",
    "author" : "Zeraxis Ltd",
    "category" : "Tools",
    "website": "http://www.zeraxis.com",
    "description": """Custom module to extend features for market managers """,
    "depends" : ["base" , "report" , "analytic" , "account" , 'edi' , 'product'],
    "data" : [
    "demo": [],
    "active": False,
    "installable": True


example of module.py :

class cm_account_tax_inherit(osv.osv):
    _name = "account.invoice.tax"
    _inherit = "account.invoice.tax "
    _columns = {


I thought by me adding the account in my depends would have solve the problem but it hasnt any ideas ?


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)


Asked: 2/8/15, 9:58 AM
Seen: 590 times
Last updated: 3/16/15, 8:10 AM