Hi i'm new for OpenERP 7 i creating a inherit module to add two fields but i can't create here i submit my code, why this error will come
class hr_requirement_ext(osv.osv):
_name = 'hr.requirement.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_requirement_ext()
its xml file is here.
hr.requirement.ext hr.requirement.ext --> -->
error message is " File "/opt/openerp/server/openerp/osv/orm.py", line 1544, in _validate
raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', u'Error occurred while validating the field(s) arch: Invalid XML for View Architecture!')"
help me for this problem
Thanks and regards
Sridharan G
Chennai
↧