> ## Documentation Index
> Fetch the complete documentation index at: https://docs.caard.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Odoo field mapping

> Choose which CAARD fields fill which Odoo fields, including your own custom fields, meeting summaries and transcripts.

Field mappings decide what each lead writes to Odoo. Connecting Odoo creates a default set. Change it on the **Field Mapping** tab (the contact and the CRM lead) and the **Company Mapping** tab (the company).

Each row maps one CAARD value to one Odoo field:

* **Standard**: a CAARD lead field, such as Email address, Job title, Notes or Meeting summaries.
* **Custom**: one of your CAARD custom fields.
* **Fixed**: the same text on every lead, for example `CAARD` in the lead's Referred By field.

The field list comes from your Odoo, custom fields included, and loads fresh each time you open the tab.

## Write modes

The write mode decides what happens when the Odoo field already has a value.

| Mode | What it does | Use it for |
| - | - | - |
| **Overwrite** | CAARD's value always replaces what's in Odoo | Fields CAARD owns, like a badge ID or the salesperson |
| **Complete if missing** | Fills the field only while it's empty in Odoo, then leaves it alone | Fields your team edits in Odoo, like name, phone and job title |
| **Append** | Adds what Odoo doesn't have yet and keeps the rest | Text that grows over time, and tags |

An empty value in CAARD never clears a field in Odoo, whatever the mode.

### How Append works

* **Text fields**: CAARD adds each paragraph that isn't already in the field word for word. A paragraph that's already there is never added twice.
* **Tags and other multi-value fields**: new tags are added and existing ones are kept.
* **Numbers, dates, dropdowns and single records**: these hold one value, so Append works like **Complete if missing**.

Append never removes or replaces anything, so when CAARD and Odoo disagree, both versions stay:

| What happened | Result after the next sync |
| - | - |
| A note was edited in CAARD | The new version is added; the old one stays in Odoo |
| Your team edited, in Odoo, a paragraph CAARD wrote | CAARD's original paragraph is added back next to the edited one |
| Your team deleted, in Odoo, a paragraph CAARD wrote | It comes back |
| A tag was removed in CAARD | It stays in Odoo |
| A tag was removed in Odoo | It comes back if the lead still has it in CAARD |
| Two rows write to the same Odoo field | The row higher in the list wins |

> [!TIP]
>
> If your team edits a field in Odoo, use **Complete if missing** for it. For notes, use the chatter instead of a field: each note is its own post, and editing a note in CAARD updates that post rather than adding a second copy.

## Default mappings

| CAARD field | Odoo record | Odoo field | Write mode |
| - | - | - | - |
| Display name | Contact | Name | Complete if missing |
| Email address | Contact | Email | Complete if missing |
| Phone | Contact | Phone | Complete if missing |
| Job title | Contact | Job Position | Complete if missing |
| Company | Lead | Company Name | Complete if missing |
| Company website | Lead | Website | Complete if missing |
| Notes | Lead | Notes | Append (off while notes post to the chatter) |
| Owner | Lead | Salesperson | Complete if missing |
| Tags | Lead | Tags | Append |
| Event | Lead | Campaign | Complete if missing |
| Lead source | Lead | Source | Complete if missing (off) |

**Reset to defaults** restores this set. It turns the Notes row on or off to match the chatter setting, so notes go to one place, never two or none.

> [!NOTE]
>
> With **Complete if missing** on the salesperson, reassigning a lead in CAARD after it has synced doesn't move it in Odoo. Switch the Owner row to **Overwrite** if CAARD should decide who owns the lead.

## Notes, voice notes and meetings

| CAARD content | Where it goes |
| - | - |
| **Notes** (typed and dictated) | The chatter by default, one post per note. Or the lead's Notes field through the Notes row. Voice notes are part of the notes: the transcribed text is the note. |
| **Meeting summaries** | With the notes, unless you map **Meeting summaries** to a field of its own. Once mapped, summaries are left out of the notes and the chatter, so they aren't repeated. |
| **Meeting transcripts** | Nowhere until you map **Meeting transcripts** to a field. |

Odoo has no meeting fields of its own. To keep meetings apart from notes, [create two text fields](#create-a-custom-field-in-odoo), for example *Meeting summary* and *Meeting transcript*, then add these rows:

| Source | Odoo record | Odoo field | Write mode |
| - | - | - | - |
| Standard · Meeting summaries | Lead | Meeting summary | Append |
| Standard · Meeting transcripts | Lead | Meeting transcript | Append |

A meeting summary looks like this in Odoo:

```text theme={null}
Meeting: Booth demo (2026-11-06, 12 min, recorded by Anirudh)
Interest: Hot
Lauren wants to replace paper badge scanning at three trade shows next year.
Next step: Send pricing for 5 seats by Friday
Action items:
• Send pricing for 5 seats (Anirudh, by Friday)
• Share the event calendar for 2027 (Lauren)
Needs:
• Offline capture at the booth
Objections:
• Worried about setup time for temporary booth staff
Buying signals:
• Budget approved for Q1
```

And a transcript, with the time into the recording and the speaker on each line:

```text theme={null}
Transcript: Booth demo (2026-11-06, 12 min)
[0:00] Anirudh: Thanks for stopping by. How do you capture leads at shows today?
[0:06] Lauren: Paper badge scans, mostly. We get about 400 per show.
[0:22] Lauren: Can you send pricing for five seats by Friday?
```

Each new meeting is added below the earlier ones.

## Follow-up email

**Email subject** and **Email body** send the lead's follow-up email to Odoo fields you choose. Both come from the same email, the newest one the lead has: a draft waiting for the rep (an event auto-draft or an Event Flow email step), or the last email the rep copied from CAARD, with their edits.

[Create two fields](#create-a-custom-field-in-odoo) on the lead, a **Text** field for the subject and a **Multiline Text** field for the body, then add these rows:

| Source | Odoo record | Odoo field | Write mode |
| - | - | - | - |
| Standard · Email subject | Lead | Email subject | Overwrite |
| Standard · Email body | Lead | Email body | Overwrite |

With auto sync on, a new draft or a copied email syncs the lead again. Dismissing a draft brings back the email before it.

Copied emails also reach the chatter as logged emails, as before. These fields are for when you want the text on the lead itself, for reports, filters or an Odoo automation.

## Custom fields

Map any CAARD custom field to any Odoo field, including fields you added in Odoo. CAARD converts the value to the Odoo field's type:

| Odoo field type | What CAARD sends |
| - | - |
| Text, multiline text, HTML | The value as text. A multi-select is written as `Widgets; Pro Plan` |
| Integer, decimal, monetary | The number. `12500.50` works; text like `about 5k` is skipped |
| Checkbox | Ticked for `yes`, `true`, `1` or `on`; cleared for `no`, `false`, `0` or `off` |
| Date, date and time | The date, plus the time when the value has one (Odoo stores times in UTC). Use `YYYY-MM-DD` or a CAARD date field |
| Selection (dropdown) | The option whose label or value matches, ignoring case. `Trade show` matches *Trade show* |
| Many2one (one record) | The record with that name, for example a country (`Germany`) or a user |
| Many2many (tags) | One record per option of a multi-select. Missing tags, campaigns, sources and mediums are created; other records must already exist |

A value Odoo can't take, such as a dropdown option it doesn't have or a country it doesn't know, is skipped. The rest of the lead still syncs, and the job in Sync History names the field.

### Event fields

An event's default custom field values are filled in on every lead captured at that event, and they sync like any other value. To map an event's leads differently, pick the event in **Configuring for** and add its own rows. Once an override has rows, its leads use only those, not the Full Team rows.

### Check your mappings

**Send test lead** on the Overview tab creates a sample contact and lead with your current mappings, and shows where each value landed. Custom fields get sample values that fit their Odoo field: a number for a number field, an existing country for a country field, and so on.

## Create a custom field in Odoo

> [tab] With Studio (Odoo Online, Enterprise)
>
> **1. Open Studio on a lead**
>
> Open any CRM lead and click the **Studio** icon in the top bar.
>
> **2. Add the field**
>
> Drag a field type from the left panel onto the form, for example **Multiline Text** for a meeting summary or **Selection** for an interest level. Give it a label.
>
> **3. Close Studio**
>
> The field is created and shown on the form. Its technical name starts with `x_studio_`.

> [tab] Without Studio (Community, self-hosted)
>
> **1. Turn on developer mode**
>
> Go to **Settings**, scroll to the bottom and click **Activate the developer mode**.
>
> **2. Open the lead model**
>
> Go to **Settings → Technical → Database Structure → Models**, search for `crm.lead` and open it.
>
> **3. Add the field**
>
> On the **Fields** tab, click **Add a line**. Enter a **Field Name** starting with `x_` (for example `x_meeting_summary`), a **Field Label** and a **Field Type**, then save.
>
> The field exists and CAARD can fill it straight away. To see it on the lead form, someone with Studio or technical access has to add it to the form view.

Then, in CAARD, open **Field Mapping**, click **Add**, pick the CAARD source and the new Odoo field, and select **Send test lead** to check it.

### When Odoo fields change

* **A field added in Odoo** appears in the field list the next time you open the tab, and syncs pick it up within a minute.
* **A mapped field renamed or deleted in Odoo** doesn't stop syncing. The job reloads Odoo's field list, retries, and syncs everything except that field, with a note in Sync History. Update or remove the row.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.