Odoo V13 Adding a custom field to applicant website form
I am trying to add some custom fields in website_recruitment but i was unable to find any existing fields definition and was able to get to xml only. Can you specify the function which parsing value from website to recruitment app?
The applicant form you wont find a specific controller, that creates record in back end, creation of the record in the backend is handled by the generic controller in the website_form module. If you check the template, you can see that the action called will be /website_form/.
If you need to add new fields to the form and record it into the backend, just add the input fields to the template, with the same name given in the backend model, the website_form will handle the passing of field from form to backend.
Also you have to whitelist the custom fields in order to get recorded in the backend from website form.
<function model="ir.model.fields" name="formbuilder_whitelist">