Marketing Cards - Odoo 20 Community Book

Making a Campaign

Click New. The form of a campaign has a top part with the main choices, and two tabs. The next picture is the empty form.

odoo Development

Start with the name. Then choose the kind of record in the field Recipients. The list has Contact, Event Booth, Event Registration, Event Sponsor and Event Track.

odoo Development

After you choose a kind of record, a second field appears next to it: Search a record. This is the record that you use to see the card while you design it. Choose one that has all the data, for example one talk with a speaker. Odoo shows the card on the right of the form, with the real data of this record, and it draws the card again each time you change a field. Here we chose the kind Event Track and the talk Planning a small office layout.

odoo Development

Send (1). Opens a new mailing, with the card inside, to send the cards (section 4).

Preview (2). Opens the page of the preview, as a recipient sees it (section 3). It shows when a record is chosen in the field Recipients.

Mailings (3). The number of mailings that were made for this campaign. Click it to open them.

Clicks (4). How many times the people clicked the link on the shared cards. A click means that a person on a social network opened the link of the post.

Cards (5). The number of cards that Odoo made for this campaign. Click it to open the list of the cards (section 5).

More (6). A menu with Opened (the people who opened their card page) and Shared (the people who shared it).

The name (7). A name for the campaign, for example Office Design Workshop speakers.

Recipients (8). The kind of record, and the sample record for the preview. The kind cannot be changed after cards exist, because the cards belong to one kind of record. If you change it before, Odoo clears the fields of the layout that depend on the kind.

Post Link (9). The web address where the people go when somebody clicks the card on a social network. If you leave it empty, Odoo uses the page of the record on your website, when the record is published, or the home page of your website. A short link is made for it, and the clicks are counted.

Model Name (10). The kind of record, shown again as plain text. It shows only in the developer mode.

Post Suggestion (11). The text that is under the card on the preview page, and that Odoo puts in the post on X and on LinkedIn by default. Write a short friendly sentence, for example Join me at the Office Design Workshop on December 5! The person can change it before posting.

Responsible (12). The user in charge of the campaign. It is you by default.

Tags (13). Labels to find the campaigns. They are shown in the list and the kanban view.

Below, the tab Card Layout is where you design the card. It has a column of fields at the left, and the picture of the card at the right.

Background (14). A picture that is used as the background of the card. When it is empty, the design uses its own background.

Header (15). The big text at the top of the card. Tick the box at the start of the line, and the text becomes dynamic: a small selector asks you to choose a field of the record. Here we chose Title, so each card shows the title of the talk of the speaker. When the box is not ticked, you write one text that is the same on every card. At the end of the line, a round color button chooses the color of the text.

Sub-Header (16). A smaller text under the header. It works in the same way. Here it is a fixed text with the event and the date. It has a color button too.

Section (17). The title of the second block of the card. Fixed or dynamic. Here it is Speaker: Priya Nair.

Sub-Section 1 and 2 (18 and 19). Two small lines under the section, for example the job of the speaker. Fixed or dynamic.

Dynamic Image 1 and 2 (20 and 21). The photos of the card. These are always dynamic: you choose a field of the record that holds a picture, for example the photo of a contact. We left them empty.

Button (22). The text of a round button that is drawn on the card, for example Register now. It is only a picture on the card. The link is the Post Link. When the field is empty, the card has no button.

The designs (23). A row of small buttons, one for each design: Light, Dark, Center, World Map, Lila, Safari, Waves, Lines, Organic, Blur, Geometric, Circles, Avatar Highlight and Drawings. Click one to see it at once. Here we chose World Map.

The picture of the card (24). The real card, drawn with the data of the sample record. A click on a design or a change of a text draws it again after a few seconds.

The two tabs (25 and 26). Card Layout, and Recipient Message.

How to choose a dynamic field: tick the box, click the selector, and type the beginning of the name of a field. A list shows the fields of the kind of record. Fields that lead to another record have a small arrow at the right, and a click on it opens the fields of that record, for example the name of the event of a talk. Choose the field that you want. If a person has no value in a dynamic field, the card shows an empty space, so choose fields that every record has.

odoo Development

The Recipient Message Tab

This tab has the texts of the preview page, the page that the recipient sees (section 3).

odoo Development

Request. The big title of the page. The default is Help us share the news.

Request Description. A short text under the title that tells the person why to share. In the example: Speakers are the stars of the day. A share helps more people to find the workshop.

Reward Link. A web address. After the person shares, a box says Click here for your reward! and links to this address. It can be a coupon page.

Thank You Message. A text that appears after the person clicks one of the share buttons. In the example: Thank you for sharing! We keep a seat for you.

Click Save. The campaign is a record, with the activities in the chatter at the bottom (messages, notes and planned activities), as in other apps. The next picture is the saved campaign. The card is on the right of the Card Layout tab.

odoo Development

You can change a saved campaign. If you change anything that is drawn on the card (a text, the design, the image), Odoo marks the cards that already exist as out of date. The mailing then shows a button, Update N Cards, to draw them again (section 4). A change of the Post Link, the Post Suggestion or the Recipient Message does not need new cards, because these texts are not drawn on the picture.

WhatsApp