Odoo Help


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

Erhuvwu Akpobaro
on 2/8/15, 9:58 AM 913 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 ?


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: 2/8/15, 9:58 AM
Seen: 913 times
Last updated: 3/16/15, 8:10 AM