Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ce48b01
Add module website_crm_quick_answer.
yajo Oct 15, 2015
8e19920
Remove unexisting field.
yajo Oct 16, 2015
32cc07f
Filter by medium too.
yajo Nov 16, 2015
0f7567f
Allowing all users to read filter when creating a lead or an opportunity
antespi Nov 24, 2015
09c1238
[MIG] website_crm_quick_answer: Migration to 10.0
chienandalu Jun 22, 2017
5efb2fb
Update README.rst
rafaelbn Aug 23, 2017
92677de
[IMP] website_crm_quick_answer: Remove unneeded dependency
pedrobaeza Sep 4, 2017
440416f
[12.0][MIG] website_crm_quick_answer: Migration to v12
Feb 27, 2019
8a6bb64
Translated using Weblate (French)
Jul 28, 2019
5afcbee
Translated using Weblate (Portuguese (Brazil))
Aug 26, 2019
be8bfb9
[IMP]website_crm_quick_answer: black, isort, prettier
manuelregidor Aug 17, 2021
96121bb
[14.0][MIG]website_crm_quick_answer: Migration to 14.0
manuelregidor Aug 17, 2021
3fa49f1
[MIG]website_crm_quick_answer: Migration to 15.0
manuelregidor Apr 28, 2022
7b0a095
website_crm_quick_answer 15.0.1.0.1
OCA-git-bot May 3, 2022
8fa7322
Added translation using Weblate (Italian)
mymage Dec 27, 2022
2eaed14
Translated using Weblate (Italian)
mymage Dec 27, 2022
b69ad57
Added translation using Weblate (Spanish)
chienandalu Jan 27, 2023
6f79c29
Translated using Weblate (Spanish)
chienandalu Jan 27, 2023
dc7f890
[IMP] website_crm_quick_answer: pre-commit auto fixes
pilarvargas-tecnativa Jan 15, 2025
3a511a2
[MIG] website_crm_quick_answer: Migration to version 17.0
pilarvargas-tecnativa Jan 15, 2025
0d7769a
[UPD] Update website_crm_quick_answer.pot
Jan 16, 2025
a02ce9e
[BOT] post-merge updates
OCA-git-bot Jan 16, 2025
4b05c6a
Update translation files
weblate Jan 16, 2025
b271243
Translated using Weblate (Italian)
mymage Jan 19, 2025
9941030
[OU-ADD] website_crm_quick_answer: Migration scripts
pedrobaeza Jul 26, 2025
265bc6a
[IMP] website_crm_quick_answer: pre-commit auto fixes
WesleyOliveira98 Mar 6, 2026
667cc64
[MIG] website_crm_quick_answer: Migration to 18.0
WesleyOliveira98 Mar 6, 2026
4f9b98c
Merge PR #1167 into 18.0
OCA-git-bot Mar 30, 2026
f1777ba
[UPD] Update website_crm_quick_answer.pot
Mar 30, 2026
1869f9d
[UPD] Update website_whatsapp.pot
Mar 30, 2026
2e94d17
[BOT] post-merge updates
OCA-git-bot Mar 30, 2026
e65104e
Update translation files
weblate Mar 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ addon | version | maintainers | summary
[website_cf_turnstile_login](website_cf_turnstile_login/) | 18.0.1.0.0 | <a href='https://github.com/adasatorres'><img src='https://github.com/adasatorres.png' width='32' height='32' style='border-radius:50%;' alt='adasatorres'/></a> | Add Cloudflare Turnstile captcha to login form
[website_cookiebot](website_cookiebot/) | 18.0.1.0.0 | | Ask for cookies consent connecting with Cookiebot
[website_cookiefirst](website_cookiefirst/) | 18.0.2.0.0 | | Cookiefirst integration
[website_crm_quick_answer](website_crm_quick_answer/) | 18.0.1.0.0 | | Add an automatic answer for contacts asking for info
[website_form_require_legal](website_form_require_legal/) | 18.0.1.0.0 | | Add possibility to require confirm legal terms.
[website_forum_subscription](website_forum_subscription/) | 18.0.1.0.0 | | Adds a button to allow subscription from the website
[website_google_tag_manager](website_google_tag_manager/) | 18.0.1.0.0 | | Add support for Google Tag Manager
Expand Down
3 changes: 2 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[project]
name = "odoo-addons-oca-website"
version = "18.0.20260210.0"
version = "18.0.20260330.0"
dependencies = [
"odoo-addon-website_cf_turnstile_login==18.0.*",
"odoo-addon-website_cookiebot==18.0.*",
"odoo-addon-website_cookiefirst==18.0.*",
"odoo-addon-website_crm_quick_answer==18.0.*",
"odoo-addon-website_form_require_legal==18.0.*",
"odoo-addon-website_forum_subscription==18.0.*",
"odoo-addon-website_google_tag_manager==18.0.*",
Expand Down
119 changes: 119 additions & 0 deletions website_crm_quick_answer/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=====================================
Quick answer for website contact form
=====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c5ce0cd4859c4f74375db54b16cbfed51ad2c53fb87ae9573f43249f83cf99c3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/18.0/website_crm_quick_answer
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_crm_quick_answer
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module was written to extend the functionality of the website
contact form to support sending the interested contact an automatic
welcome email and allow you to customize it.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to:

1. Have the action of the submit button on the website contact form
configured to create a new opportunity.
2. Go to **Settings > Technical > Automation > Automation Rules > Quick
response to website contact form** and edit anything there.

Quicker way to just change the email template (something that most
likely you will want to do):

1. Go to **Settings > Technical > Email > Templates**
2. Edit the template called *Quick response to website contact form*.

Usage
=====

To use this module, you need to:

Have an email address in your main company. It will be used as sender
address.

Complete the contact form on the website and send it to us.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_crm_quick_answer%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Rafael Blasco <rafael.blasco@tecnativa.com>
- Jairo Llopis <jairo.llopis@tecnativa.com>
- David Vidal <david.vidal@tecnativa.com>
- Cristina Martin R.
- Pilar Vargas

- `Sygel Technology <https://www.sygel.es>`__:

- Harald Panten <harald.panten@sygel.es>
- Manuel Regidor <manuel.regidor@sygel.es>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/website <https://github.com/OCA/website/tree/18.0/website_crm_quick_answer>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
17 changes: 17 additions & 0 deletions website_crm_quick_answer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2016 Tecnativa - Jairo Llopis
# Copyright 2017 Tecnativa - David Vidal
# Copyright 2019 Tecnativa - Cristina Martin R.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Quick answer for website contact form",
"summary": "Add an automatic answer for contacts asking for info",
"category": "Website",
"version": "18.0.1.0.0",
"website": "https://github.com/OCA/website",
"depends": ["website_crm", "base_automation"],
"data": ["data/base_automation_data.xml"],
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
}
43 changes: 43 additions & 0 deletions website_crm_quick_answer/data/base_automation_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="email_template" model="mail.template">
<field name="name">Quick response to website contact form</field>
<field name="model_id" ref="crm.model_crm_lead" />
<field name="use_default_to" eval="True" />
<field name="email_from">{{ object.company_id.email }}</field>
<field
name="lang"
>{{ ctx.get("lang") or object.partner_id.lang or object.company_id.partner_id.lang or object.env.user.lang }}</field>
<field name="subject">Thanks for your request</field>
<field name="body_html" type="html">
<div>Dear <t t-out="object.partner_id.name or object.contact_name or ''" />
<br />
<br />
<h3>Thanks for contacting us!</h3>
<p>
We have received your request and will answer you as soon as
possible.
</p>
<p>Please, be patient. Best regards.</p>
<p>Thanks,</p>
</div>
</field>
</record>
<record id="send_email_action" model="ir.actions.server">
<field name="name">Send email response</field>
<field name="model_id" ref="crm.model_crm_lead" />
<field name="state">mail_post</field>
<field name="template_id" ref="email_template" />
</record>
<record id="automated_action" model="base.automation">
<field name="name">Quick response to website contact form</field>
<field name="model_id" ref="crm.model_crm_lead" />
<field name="trigger">on_create</field>
<field name="active" eval="True" />
<field
name="filter_domain"
eval="[('medium_id', '=', ref('utm.utm_medium_website'))]"
/>
<field name="action_server_ids" eval="[(4, ref('send_email_action'))]" />
</record>
</odoo>
84 changes: 84 additions & 0 deletions website_crm_quick_answer/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_crm_quick_answer
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-27 17:44+0000\n"
"Last-Translator: David Vidal <david.vidal@tecnativa.com>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: website_crm_quick_answer
#: model:mail.template,body_html:website_crm_quick_answer.email_template
msgid ""
"<div>Dear <t t-out=\"object.partner_id.name or object.contact_name or ''\"></"
"t>\n"
" <br>\n"
" <br>\n"
" <h3>Thanks for contacting us!</h3>\n"
" <p>\n"
" We have received your request and will answer you as "
"soon as\n"
" possible.\n"
" </p>\n"
" <p>Please, be patient. Best regards.</p>\n"
" <p>Thanks,</p>\n"
" </div>\n"
" "
msgstr ""

#. module: website_crm_quick_answer
#: model:base.automation,name:website_crm_quick_answer.automated_action
#: model:mail.template,name:website_crm_quick_answer.email_template
msgid "Quick response to website contact form"
msgstr "Respuesta rápida al formulario de contacto del sitio web"

#. module: website_crm_quick_answer
#: model:ir.actions.server,name:website_crm_quick_answer.send_email_action
msgid "Send email: Quick response to website contact form"
msgstr ""

#. module: website_crm_quick_answer
#: model:mail.template,subject:website_crm_quick_answer.email_template
msgid "Thanks for your request"
msgstr "Gracias por su consulta"

#~ msgid ""
#~ "<div>Dear <t t-out=\"object.partner_id.name or object.contact_name or "
#~ "''\"/>\n"
#~ " <br/>\n"
#~ " <br/>\n"
#~ " <h3>Thanks for contacting us!</h3>\n"
#~ " <p>\n"
#~ " We have received your request and will answer you "
#~ "as soon as\n"
#~ " possible.\n"
#~ " </p>\n"
#~ " <p>Please, be patient. Best regards.</p>\n"
#~ " <p>Thanks,</p>\n"
#~ " </div>\n"
#~ " "
#~ msgstr ""
#~ "<div>Estimado <t t-out=\"object.partner_id.name or object.contact_name or "
#~ "''\"/>\n"
#~ " <br/>\n"
#~ " <br/>\n"
#~ " <h3> ¡Gracias por contactarnos! </h3>\n"
#~ " <p>\n"
#~ " Hemos recibido su solicitud y le responderemos "
#~ "tan pronto como sea\n"
#~ " posible.\n"
#~ " </p>\n"
#~ " <p>Por favor, tenga paciencia. Saludos cordiales.</"
#~ "p>\n"
#~ " <p>Gracias,</p>\n"
#~ " </div>\n"
#~ " "
97 changes: 97 additions & 0 deletions website_crm_quick_answer/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_crm_quick_answer
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-01-19 14:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.6.2\n"

#. module: website_crm_quick_answer
#: model:mail.template,body_html:website_crm_quick_answer.email_template
msgid ""
"<div>Dear <t t-out=\"object.partner_id.name or object.contact_name or ''\"></"
"t>\n"
" <br>\n"
" <br>\n"
" <h3>Thanks for contacting us!</h3>\n"
" <p>\n"
" We have received your request and will answer you as "
"soon as\n"
" possible.\n"
" </p>\n"
" <p>Please, be patient. Best regards.</p>\n"
" <p>Thanks,</p>\n"
" </div>\n"
" "
msgstr ""
"<div>Spettabile <t t-out=\"object.partner_id.name or object.contact_name or "
"''\"></t>\n"
" <br>\n"
" <br>\n"
" <h3>Grazie di averci contattato!</h3>\n"
" <p>\n"
" Abbiamo ricevuto la sua richiesta e risponderemo\n"
" il prima possibile.\n"
" </p>\n"
" <p>Chiediamo un po' di pazienza. Cordiali saluti.</p>\n"
" <p>Grazie,</p>\n"
" </div>\n"
" "

#. module: website_crm_quick_answer
#: model:base.automation,name:website_crm_quick_answer.automated_action
#: model:mail.template,name:website_crm_quick_answer.email_template
msgid "Quick response to website contact form"
msgstr "Risposta rapida al contatto modulo sito web"

#. module: website_crm_quick_answer
#: model:ir.actions.server,name:website_crm_quick_answer.send_email_action
msgid "Send email: Quick response to website contact form"
msgstr "Invia e-mail: risposta rapida al modulo di contatto del sito web"

#. module: website_crm_quick_answer
#: model:mail.template,subject:website_crm_quick_answer.email_template
msgid "Thanks for your request"
msgstr "Grazie per la richiesta"

#~ msgid ""
#~ "<div>Dear <t t-out=\"object.partner_id.name or object.contact_name or "
#~ "''\"/>\n"
#~ " <br/>\n"
#~ " <br/>\n"
#~ " <h3>Thanks for contacting us!</h3>\n"
#~ " <p>\n"
#~ " We have received your request and will answer you "
#~ "as soon as\n"
#~ " possible.\n"
#~ " </p>\n"
#~ " <p>Please, be patient. Best regards.</p>\n"
#~ " <p>Thanks,</p>\n"
#~ " </div>\n"
#~ " "
#~ msgstr ""
#~ "<div>Spettabile <t t-out=\"object.partner_id.name or object.contact_name "
#~ "or ''\"/>\n"
#~ " <br/>\n"
#~ " <br/>\n"
#~ " <h3>La ringraziamo per averci contattato!</h3>\n"
#~ " <p>\n"
#~ " Abbiamo ricevuto la tua richiesta e risponderemo "
#~ "il prima\n"
#~ " possibile.\n"
#~ " </p>\n"
#~ " <p>La preghiamo di avere pazienza. Distinti saluti.</"
#~ "p>\n"
#~ " <p>Grazie,</p>\n"
#~ " </div>\n"
#~ " "
Loading
Loading