Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How do I change the Web Contact Form?

Bruce Letterle
on 7/3/14, 8:40 AM 3,578 views

I cannot find where to change the fields on the website contact form or to enable any kind of notifications.

Hi Bruce, I'm also interested in custom fields and actions as well as multiple contact forms for different purposes. I believe it's possible to do with a proper understanding of Qweb (https://doc.openerp.com/trunk/web/qweb/). You can edit the contact form by logging into your administrator account (on the master branch) and then go back to the website frontend and click on the contact form. Once you're there click Customise >> HTML Editor and you should be looking at the QWeb code for the contact form. Unfortunately i'm only just learning this myself so I can't offer any valuable input, however if I figure this out i'll post back here with an answer.

Luke Branch
on 7/3/14, 9:26 AM

I spent some time poking around and here's what I found. 1. Submitting a form does not appear to send an email notification to anyone. At least I don't seem to have received one at my system email addresses. 2. A form submission creates a Lead with notes. I tested sending one that already existed as a customer, and it still created a Lead and did not connect it to the existing contact. 3. In the backend under Settings->User Interface->Views I find a couple of QWeb views that have the Contact Us page and Contact Us form code. I'm OK with changing HTML, but how do I add a field? Don't I need to add the fields to the database first?

Bruce Letterle
on 7/3/14, 10:48 AM

Hi Bruce, In regards to email notifications, have you setup an incoming/outgoing mail server in Odoo? There's a quick tutorial that can be found here - http://www.youtube.com/watch?v=OoHPgtsM2fA if you need. In regards to adding a field, are you wanting to add custom fields or ones that are already existing somewhere (eg. extra information on leads such as address, etc.)?

Luke Branch
on 7/3/14, 11:52 PM
Yoshi Tashiro
On 7/24/14, 8:51 AM

Still half-way through to the final solution but here is what I did:

  1. Select 'Organize Sales activities into multiple Sales Teams' in Sales configuration.  This should add an menu item 'Sales Teams' under Sales > Sales.
  2. Open 'Website Sales' in the newly added menu item, and add yourself as a follower.  Click on the drop-down button next to the text that says 'Following' and select 'Lead Created'.

With this setting, a message record is created (Settings > Technical > Email > Messages) with you as a 'Notified partner' once a lead is created based on a message sent from the contact form.  However, the 'Type' of the message is by default 'System notification' instead of 'Email', which means the systen does not send you an email.  If you can change the default value for Type to 'Email' you should be able to receive emails but I haven't figured out how to do it.

On 8/20/15, 3:19 AM

Hi all,

             I would like to have multiple contact forms for different purposes in a single web page. How to do that ?



George Vincent


Hi Bruce,

It's not easy to change the contact form. You have to know some HTML and edit the code manually, but this may be dangerous if you are not familiarized with it. The messages will arrive into your Open-Odoo system, so you can read all of them there.


Juan José - Ing ADHOC

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 7/3/14, 8:40 AM
Seen: 3578 times
Last updated: 9/11/15, 6:02 PM