Gravity Forms to Odoo Documentation
Thank you for purchasing our product!
This guide helps you integrate them using the Odoo for Gravity Forms Add-On, allowing automatic data transfer from Gravity Forms to Odoo without requiring third-party services.
Instalación y configuración
- Descargue el archivo del plugin en su ordenador.
- Inicie sesión en el panel de control de WordPress.
- En el menú de la izquierda, haga clic en Plugins y luego Add Plugin.
- Haga clic en el botón Subir Plugin en la parte superior de la página.
- Haga clic en el botón Elegir archivo y seleccione el archivo del plugin que descargó en el paso 1.
- Haga clic en el botón Instalar ahora botón.
- Espere a que se instale el plugin y haga clic en el botón Activate Plugin botón.
- Move to Ajustes of Gravity Forms and then click on Odoo.
- Now, enter your license key in the Activación de la licencia section, provide Odoo’s database information, and click the Guardar ajustes botón.
Generate Odoo API Key
In Odoo, go to My Databases and connect into your database, by clicking on connection button.
- Click on your name in the top right corner, then select the Preferencias menú.
- Haga clic en Account Security, then navigate to the API Keys sección.
- Click Add New API Key botón.
- Enter your password, then click Confirm Password.
- Type a short description or a name for your API Key and give a duration for the key’s validity by selecting a value in the drop-down list.
- Haga clic en el botón Generate Key botón.
- Save your API Key in a secure place.
- Haga clic en el botón Done! botón.
Add Odoo API Key to Gravity Forms
En la sección del menú de la izquierda de Gravity Forms, haga clic en Ajustes menú.
- Haga clic en Odoo menú.
- Check the Odoo’s database information.
- Now, copy your new API Key in the Odoo API key campo.
- Enter the e-mail linked to the API key in Odoo User’s Email campo.
- Haga clic en el botón Guardar ajustes botón.
📌 Note: after saving the settings, you should see “Authentication is successful”.
Create a feed
- Open the form you want to connect with your Odoo model.
- En la parte superior, haga clic en Settings > Odoo menú.
- En Odoo Feeds section, click on Añadir nuevo botón.
- Type a name for your feed in the Nombre del pienso campo.
- Select the model of your choice in the Model Name dropdown list.
- Haga clic en Guardar ajustes botón.
Asignación de campos
Now that you have saved your settings while creating connection between Odoo and your form you will see in your feed Asignación de campos sección.
- En Odoo Fields Name, select a Odoo field present in your model.
- En Campo de formularioSeleccione uno de los campos de su formulario.
- Haga clic en el botón + button on the right to connect other Odoo fields with form fields.
- Repita los pasos 2 y 3.
- Haga clic en Guardar ajustes botón.
Add Conditional Logic
You can finally add conditional logic, so only the contact information of those who meet specific conditions will be sent in Odoo table.
Para crear una condición, haga clic en Activar condición opción.
On the left, you can choose a field from your form and select the criteria that will activate sending to Odoo, for example:
→ Subject IS Commercial request
If you want add an additional condition, click on the + botón.
Una vez que haya configurado su condición, haga clic en Guardar ajustes botón.
Sincronización
As long as the feed is indicated as Active in the list of Odoo Feeds, when a form is completed by a user, the data entered are sent to the Odoo table chosen in this feed.
💡 To make a feed inactive, simply click on the Active button to switch to inactive mode.
Supported Fields and Models
Supported Gravity Forms fields
- Texto de una línea
- Párrafo
- Texto
- Desplegable
- Número
- Casillas de verificación
- Botones de radio
- Nombre
- Fecha
- Tiempo
- Teléfono
- Dirección
- Página web
- Correo electrónico
- Archivo
- Lista
- Selección múltiple
- Consentimiento
Supported Odoo models
- Contacts
Supported Odoo fields
- Char
- Texto
- Html
- Selection
- Fecha
- Datetime
- Booleano
- Float
- Entero
- Binary