Repository
odoo/odoo · module folder
Module version
0.1
Category
Hidden
Folder size
0.99 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 04:50:03
Authors
OpenERP SA
Maintainers
OpenERP SA
Committers
Quentin (OpenERP), Antony Lesuisse, niv-openerp, Vo Minh Thu, pso (OpenERP), Olivier Dony, Mayur Maheshwari (OpenERP), Launchpad Translations on behalf of openerp, Thibault Delavallée, Martin Trigaux, vta vta@openerp.com, Twinkle Christian (OpenERP), Hardik, Antonin Bourguignon, Odoo Translation Bot, Denis Ledoux, help
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
opl_all, portal_hr_employees
Description
This module adds a contact page (with a contact form creating a lead when submitted) to your portal if crm and portal are installed.
====================================================================================================================================
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
contact_form_view Contact form portal_crm.crm_contact_us form New
wizard_contact_form_view_thanks Wizard thanks message portal_crm.crm_contact_us form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • create(self, cr, uid, values, context=None)
    Since they are potentially sensitive, we don't want any user to be able to read datas generated through this module. Therefore we'll write these information directly in the crm.lead table and leave blank entries in the contact table. This is why the create() method is overwritten.
  • submit(self, cr, uid, ids, context=None)
    When the form is submitted, redirect the user to a "Thanks" message