Hi,
Try to use this controller
@http.route('''/jobs/apply/''', type='http',
auth="public", website=True, sitemap=True)
def jobs_apply(self, job, **kwargs):
""" Used to upload the data in the job forms"""
res = super(WebsiteHrRecruitmentCustom, self).jobs_apply(job, **kwargs)
//Add your functions
if you need to add the records you can super the insert_record function
def insert_record(self, request, model, values, custom, meta=None):
""" Inserting the values from the forms use the function """
if model.model == 'hr.applicant':
applicant_id = super(WebsiteFormCustom, self).insert_record(request,
model,
values,
custom,
meta=None)
//Write your codes
return application_id
Regards