Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3104 Visualizzazioni

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

Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mag 25
4692
1
apr 25
1352
2
ott 24
4197
1
set 24
3944
1
set 24
2589