{
'name': 'HR Recruitment Extensionssss',
'version': '1.1',
'category': 'Generic Modules',
'description': """
After Applicantis hired it will automatically fetch value from Applicants to Employee master
""",
'author': 'Sridhar',
'depends': ['base','hr','hr_recruitment'],
'update_xml': ['hr_reqiurement_ext_view.xml'],
'installable': True,
'active': False,
}
__openerp__.py
class hr_recruitment_ext(osv.osv):
_name = 'hr.recruitment.ext'
_description = 'Extension of the Reqirement process'
_inherit = 'hr.applicant'
_columns ={
'doj':fields.date('Date of Birth'),
'presentsal':fields.integer('Present Salary', size=16),
}
hr_recruitment_ext()
hr_recruitment_ext.py
<?xml version="1.0"?>
<openerp>
<data>
<record model="ir.ui.view" id ="hr_recruitment_ext_form">
<field name = "name"> hr.applicant</field>
<field name = "model"> hr.applicant</field>
<field name = "type">form</field>
<field name = "inherit_id" ref ="hr_recruitment.crm_case_form_view_job"/>
<field name = "arch" type ="xml">
<notebook position="inside">
<page string="Relations">
<!-- <field name="relation_ids" colspan="4" nolabel="1"/>-->
<field name = "doj"/>
<field name = "presentsal"/>
</page>
</notebook>
</field>
</record>
</data>
</openerp>
hr_requrement_ext_view.xml
I thing every thing is done perfectly but it is not working please help for this problem. this error is occurred. except_orm: (u'ValidateError', u'The value " form" for the field "ir_ui_view.type" is not in the selection')
thanks and regards sridharan G Chennai
If you find that someone has helped you sincerely you should credit them by clicking the up arrow beside their answer. If you find that someone has provided you with a correct answer to your question you should alert all future readers that the answer is correct using the check mark beside their answer.