I am trying to add in a company name and job position field on the sign up form and add that to the customers record.
I've created a custom module to inherit the auth_signup and added in the field:
<div class="form-group field-name">
<label for="org_name" class="control-label">Organization Name</label>
<input type="text" name="org_name" t-att-value="org_name" id="org_name" class="form-control" placeholder="e.g. Organization" required="required" />
</div>
<div class="form-group field-name">
<label for="pos_type" class="control-label">position Type</label>
<select name="pos_type" required="True"
class="o_website_form_input form-control" >
<!--<option value="">Select</option>-->
<t t-foreach="[('0', 'Employer'), ('1', 'Employee')]" t-as="pos_type">
<option t-att-value="pos_type[0]">
<t t-esc="pos_type[1]" />
</option>
</t>
</select>
</div>
How do I get this to save in the res.user, res.partner?