I have created new module in which I wanted to extend Functionality of Recruitment module as per new requirements. So I have mentioned following details in __openerp__.py file. But it is giving me error while installing my newly created module. __openerp__.py file content:
{
"name" : "XXX Application v 0.0",
"version" : "0.0",
"author" : "XXX Pvt.Ltd.",
'website' : 'http://www.xxx.co.in',
"category" : "Other",
"depends" : [ "base","hr","sale", "crm","account",'decimal_precision'],
"init_xml" : [],
"demo_xml" : [],
"update_xml" : "security/security.xml",'security/ir.model.access.csv',"xxx_application_view.xml"],
"installable" : True,
'auto_install' : False,
'description' : """ """,
'images' : [],
"active" : True,
}
I have tried with mentioning "hr_recruitment" and "hr_applicant" in depends but also it is showing error.
Error Message is :
File "/home/fabian/openerp-7_default/openerp/osv/orm.py", line 874, in create_instance
'You may need to add a dependency on the parent class\' module.' % (name, parent_name))
TypeError: The model "hr.applicant" specifies an unexisting parent class "hr.applicant"
You may need to add a dependency on the parent class' module.
give hr module in depends list and see whether there is any change. Thanks
I have already mentioned hr module in depends :(
but you have given base in depends. no need to give that because hr module is parent of base module. So give hr only