Portal CRM
portal_crm · odoo/odoo
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 136 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.99 MB
Module directory on disk
Code analysis
4 migration notes
1 model
2 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
crm_contact_us— Class 'crm_contact_us' still inherits from the old-style `osv.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcecrm_contact_us— Class 'crm_contact_us' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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