Aller au contenu
Menu Documentation
WP connect > Gravity Forms to Odoo Documentation

Documentation Gravity Forms to Odoo

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.

Installation et réglages

  1. Téléchargez le fichier du plugin sur votre ordinateur.
  2. Connectez-vous à votre tableau de bord WordPress.
  3. Dans le menu de gauche, cliquez sur Extensions et ensuite Add Plugin.
  4. Cliquez sur le bouton Télécharger le plugin en haut de la page.
  5. Cliquez sur le bouton Choisir un fichier et sélectionnez le fichier du plugin que vous avez téléchargé à l'étape 1.
  6. Cliquez sur le bouton Installer maintenant bouton.
  7. Attendez que le plugin soit installé, puis cliquez sur le bouton Activer le plugin bouton.
  8. Move to Paramètres of Gravity Forms and then click on Odoo.
  9. Now, enter your license key in the Activation de la licence section, provide Odoo’s database information, and click the Sauvegarder les paramètres bouton.

Générer une clé API Odoo

In Odoo, go to My Databases and connect into your database, by clicking on connection button.

  1. Click on your name in the top right corner, then select the Préférences menu.
  1. Cliquez sur Account Security, then navigate to the API Keys section.
  2. Click Add New API Key bouton.
  3. Enter your password, then click Confirm Password.
  1. 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.
  2. Cliquez sur l'icône Generate Key bouton.
  1. Save your API Key in a secure place.
  2. Cliquez sur l'icône Done! bouton.

Ajouter une clé API Odoo à Gravity Forms

Dans la section gauche du menu de Gravity Forms, cliquez sur Paramètres menu.

  1. Cliquez sur Odoo menu.
  2. Check the Odoo’s database information.
  3. Now, copy your new API Key in the Odoo API key domaine.
  4. Enter the e-mail linked to the API key in Odoo User’s Email domaine.
  5. Cliquez sur le bouton Sauvegarder les paramètres bouton.

📌 Note: after saving the settings, you should see “Authentication is successful”.

Créer un flux

  1. Open the form you want to connect with your Odoo model.
  2. Dans la partie supérieure, cliquez sur Settings > Odoo menu.
  3. En Odoo Feeds section, click on Ajouter un nouveau bouton.
  4. Type a name for your feed in the Nom de l'aliment domaine.
  5. Select the model of your choice in the Model Name dropdown list.
  6. Cliquez sur Sauvegarder les paramètres bouton.

Mappage des champs

Now that you have saved your settings while creating connection between Odoo and your form you will see in your feed Cartographie des champs section.

  1. En Odoo Fields Name, select a Odoo field present in your model.
  2. En Champ du formulaireSélectionnez l'un des champs présents dans votre formulaire.
  3. Cliquez sur l'icône + button on the right to connect other Odoo fields with form fields.
  4. Répéter les étapes 2 et 3.
  5. Cliquez sur Sauvegarder les paramètres bouton.

Ajouter une logique conditionnelle

You can finally add conditional logic, so only the contact information of those who meet specific conditions will be sent in Odoo table.

Pour créer une condition, cliquez sur Condition d'activation option.

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 + bouton.

Une fois que vous avez configuré votre condition, cliquez sur Sauvegarder les paramètres bouton.

Synchronisation

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.

Champs et modèles supportés

Champs Gravity Forms supportés

  • Texte sur une seule ligne
  • Paragraphe
  • Texte
  • Drop Down
  • Nombre
  • Cases à cocher
  • Boutons radio
  • Nom
  • Date
  • L'heure
  • Téléphone
  • Adresse
  • Site web
  • Courriel
  • Fichier
  • Liste
  • Multi-sélection
  • Consentement

    Modèles Odoo supportés

    • Contacts

    Champs Odoo supportés

    • Char
    • Texte
    • Html
    • Selection
    • Date
    • Datetime
    • Booléen
    • Float
    • Entier
    • Binary
    fr_FR