تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
184 أدوات العرض

Hello. I have a website and a form for users to enter their info. I want to store the form information in the database using "add a customer" or something similar, but i only have the "send an email" option, why are the other options not showing for me?

الصورة الرمزية
إهمال

What Version (18.4, 19.0, ...) and Edition (Community, Enterprise) of Odoo are you running?

الكاتب

i'm using version 19 and community edition

أفضل إجابة

Hi,

Please refer to the link:

1. https://www.cybrosys.com/blog/how-to-create-backend-records-from-website-forms-in-odoo-18

Example of creating a res.partner record from a website form via XML + controller in a custom module

2.  https://www.cybrosys.com/blog/how-to-create-a-custom-web-form-view-in-odoo-17

Step-by-step for a custom model + form + controller method


Hope it helps

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

thank you!!! do you know how to make "create a lead" option show in the form action?

الصورة الرمزية
إهمال

There is no such option in core Odoo, thus requires custom development. But why not go with Opportunity at this point? Someone actively contacted you for your goods - that's more than a lead in my opinion.

الكاتب

There is no such option in core Odoo, thus requires custom development. But why not go with Opportunity at this point? Someone actively contacted you for your goods - that's more than a lead in my opinion.

i do not mind, but i don't have this option in actions even though CRM is installed

Go to Apps, remove the Apps filter and search for website_crm. If not installed, install it, if installed, upgrade it.

أفضل إجابة

The Create a Customer option for website forms is introduced with the eCommerce App.


Alternatively, you can install the CRM App. This would allow you to Create an Opportunity from the website form (which then could be converted into a 'Customer' (Contact) upon creating a Sale Order for that Opportunity).


Side note: The way Odoo works would also allow you to install eCommerce and directly uninstall it again. This way, the Create a Customer option is registered in the website form and can be used but your database is not running too many unnecessary Apps either.
Do not attempt to do this in your production database without testing it in a Test/Staging database beforehand though!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
1654
1
مارس 23
4370
2
يوليو 22
1734
1
فبراير 22
3546
1
يناير 20
9757