跳至内容
菜单
此问题已终结
2 回复
3133 查看

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

形象
丢弃
编写者 最佳答案

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.


形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
5月 25
4715
1
4月 25
1359
2
10月 24
4211
1
9月 24
3974
1
9月 24
2599