Skip to Content
Menu
This question has been flagged
2 Replies
2126 Views

How can I create a customer who is a company instead of creating an individual customer contact from the website form?

Avatar
Discard
Author Best Answer

Go to the website and create a form.

Select the Action as Create a customer.

Note: The eCommerce app needs to be installed to get the option to create a customer from a website form.

Alternatively, the form can also be enabled from contacts with the studio. Please refer to the below post for this.

https://www.odoo.com/forum/help-1/creating-a-website-form-for-a-new-model-240246

Add a field on the form and select the “Is a Company” existing field.

This field dictates if the contact is a Company or an individual.

Enable the Default Value which enables the checkbox and would make the contacts created from the form is a company.

Set the Visibility as “Hidden” That way the website visitors will not be able to see the field.


Avatar
Discard
Best Answer

Hi,
Refer to the following blog, It shows how to Create a Company Contact from Website Form.

https://www.cybrosys.com/blog/an-overview-of-the-odoo-16-website-module

Hope it helps you

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 25
277
2
Oct 24
2553
1
Sep 24
2022
1
Sep 24
1276
2
Sep 24
2993