| 开发者 | candorlight |
|---|---|
| 更新时间 | 2026年10月12日 16:42 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
res.partner) and tags it with the Odoo
contact tag you choose, so web enquiries are easy to find and filter.
It talks to Odoo over the External JSON-2 API (POST /json/2/{model}/{method}
with bearer-token authentication). It deliberately avoids the legacy XML-RPC and
/jsonrpc endpoints, which Odoo has deprecated.
What it does
[odoo_contact_form] shortcode gives you a plain,
nonce- and honeypot-protected contact form, so you can prove the whole chain works
without installing a form plugin first.res.partner and read
access to contact tags (res.partner.category).OdooConnector\Forms\FormIntegration
and add it through the odoo_connector_form_integrations filter to support
WPForms, Gravity Forms, Contact Form 7 or anything else.
/wp-content/plugins/ or install it through
Plugins → Add New, then activate it./web or /odoo path), the
database name, and the API key. Save.companyname.Odoo 19 and newer. The plugin uses the External JSON-2 API, which older releases do not provide. It does not fall back to XML-RPC.
It is the Odoo database name, not your WordPress database. If you are unsure,
run odoo.info in your browser's developer console while viewing any Odoo page.
No. Contacts and contact tags are part of every Odoo install.
Deactivate the plugin. Your settings are kept until you delete it.
Odoo caps API key lifetimes (currently at three months). Generate a new key and paste it into the settings screen. The stored key is never shown back to you — the field displays dots — so leaving the dots untouched keeps the existing key.
Not out of the box. Divi's contact form and the bundled [odoo_contact_form]
shortcode are supported today. Other forms can be added through the
odoo_connector_form_integrations filter without modifying the plugin.
No. Submissions are passed straight through to Odoo and are not written to your WordPress database. If logging is switched on, request details are written to your PHP error log with API keys and tokens redacted — that log is the only local copy, and logging is off by default.
Turn on Logging in the settings screen and make sure WP_DEBUG_LOG is
enabled in wp-config.php. Every request, response code and error is written to
the log, prefixed [odoo-connector]. Failed payloads are logged in full so a
lost enquiry can be re-entered by hand.
Turn on Logging and submit the form once. If no et_pb_contact_form_submit fired line appears in the log, your Divi version does not fire the action this
plugin listens to.
No. It is an independent integration by CandorLight LLC, not affiliated with, endorsed by or sponsored by Odoo S.A. "Odoo" is a trademark of Odoo S.A.
[odoo_contact_form] shortcode with
honeypot spam protection and post/redirect/get handling.