MailDesk docs
Odoo integrations

Use MailDesk with Sales

4 min read Odoo 18.0

Link an email to the quotation or sales order it is about, start a new quotation from an email, and see the conversation in the order's chatter.

Who this is for: salespeople (daily use) and MailDesk administrators (one-time setup per mailbox).

You need:

  • The MailDesk Sales Integration module (maildesk_mail_client_sale).
  • MailDesk Pro, and MailDesk Basic below it.
  • The Odoo Sales app.
  • A connected mailbox that syncs.

Which MailDesk edition includes this module is described in Plans and included features.

Before you begin

  • Install the module and check that Sales is installed. Install steps are in Install MailDesk.
  • Administrators: turn the integration on for each mailbox that needs it (Step 1). It is off by default.
  • Users: you need normal Odoo Sales access. The panel works as you, so the Sales access rules still apply. See Security and access rights.

Step 1: Turn on Sales for a mailbox (administrator)

  1. Open MailDesk ▸ Configuration ▸ Mailboxes ▸ Mailbox Accounts and open the mailbox.
  2. Open the Settings tab and find the card Sales Linking & Quotation Flow.
  3. Switch Enable on and set the options you need.
  4. Save the mailbox.

The Sales Linking and Quotation Flow card on the Settings tab of a mailbox account, with Enable switched on

What you should see: the card expands and shows Defaults, Permissions and Automation.

Group Options
Defaults Default Sales Team, Default Salesperson, Show Order Status, Show Order Total
Permissions Allow Create Quotation, Allow Link Sales Document, Allow Unlink Sales Document, Allow Salesperson Change
Automation Auto-link by Reply Headers (Sales), Auto-link by Subject Token (Sales), Log Agent Replies (Sales), Log Customer Replies (Sales)

Step 2: Open the Sales panel on an email

  1. Open an email in MailDesk.
  2. Click the Sales button on the email toolbar.

The Sales button on the toolbar of an open email

What you should see: the Sales panel opens beside the email. If nothing is linked yet, it says No sales documents linked yet and offers Create Quotation and Link Existing.

The Sales panel open beside an email with no sales document linked yet

Step 3: Create a quotation from the email

  1. Click Create Quotation.
  2. A quotation form opens with the customer filled in. Add the order lines and save.

A new quotation opened from the Sales panel

What you should see: the quotation appears in the panel as a card with customer, team and salesperson (and status and total, if the administrator turned them on). The first linked document carries the Primary badge.

The first quotation linked to the email and shown as a card in the Sales panel

  1. Click Link Existing.
  2. In Link Existing Sales Document, choose a Sales Team to narrow the list, then choose the quotation or order.
  3. Tick Make Primary if this should be the main document for the email. (This option appears when the email already has linked documents.)
  4. Click Link.

The Link Existing Sales Document window with the sales team and order fields

Work from the card

On a card you can open the document in a popup or in a new browser tab. If the administrator allowed it, you can change the Salesperson in the card. Unlinking removes only the link; the order is not changed.

Step 5: Check the conversation on the order

Open the order in Odoo. The linked email appears in its chatter with an Open in MailDesk link.

Log Agent Replies and Log Customer Replies

The options Log Agent Replies (Sales) and Log Customer Replies (Sales) are on the card, but the module does not post a separate message into the record's chatter. The linked email itself is the record. Followers are not notified again.

A linked email shown in the chatter of a sales order

What you should see: the email appears in the order's chatter. The Sales button in MailDesk shows a badge with the number of linked documents.

Reply from the order

When a draft or sent quotation has a linked conversation, the order form shows a Reply in Conversation button next to Send by Email. It opens the MailDesk composer as a reply in that conversation. If the quotation has no conversation in a mailbox you work in, Odoo shows a message instead.

How automatic linking works

When Auto-link by Reply Headers (Sales) or Auto-link by Subject Token (Sales) is on, MailDesk links a follow-up email on its own, but only when the match is exact:

  • Reply headers: the reply belongs to an email that is already linked.
  • Subject token: the subject contains a token such as [QUOTE-123] or [SO-123] that names one document.

MailDesk does not guess from similar text. One linked document is the Primary one; it is the document that receives reply logging and automatic linking.

If it does not work

Symptom Check Safe next step
There is no Sales Linking & Quotation Flow card. Is the module installed? Is the Settings tab open? Install the module, then reload the mailbox form.
There is no Sales button on emails. Is Enable on for this mailbox? Do you have access to this mailbox? Ask an administrator to turn it on or give you mailbox access.
Create Quotation or Link Existing is missing. The permission options on the card. Ask an administrator to switch on Allow Create Quotation or Allow Link Sales Document.
Odoo shows an access error on an order. Your Sales access rights. Ask your Odoo administrator for Sales access.
A follow-up email was not linked. Are both auto-link options on? Does the subject token match a document? Link it by hand with Link Existing.

For other problems, see Troubleshooting.

Next step

Create tickets from email to turn support emails into Helpdesk tickets.