Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

How to forward e-mail into Odoo record to be automatically stored correctly in mail.message?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
mailmailingchattermail_threadmail.message
9762 Vizualizări
Imagine profil
foo

Let's say we have Odoo User A (a user in res.users). Their e-mail is OdooUserA@gmail.com.

Let's say Random Customer 1, who may or may not be a res.partner / contact in Odoo, sends an e-mail directly to OdooUserA@gmail.com.

Odoo User gets this e-mail, they know it should be associated with a specific res.partner / crm.lead / project.task – or such. How can they forward this e-mail into Odoo and have it recognized? Specifically, recognized in chatter, as a mail.message, so it can appear underneath the proper record.

From what I can see, when Odoo sends an e-mail, it uses the following headers to know which model and which id to associate with:


X-Odoo-Objects: crm.lead-5962 

X-Odoo-db-uuid: 029017e4-1590-11e8-876a-705681c369f7


If I could send an actual e-mail to mymainodooaccount@gmail.com, and do something like this:  mymainodooaccount+crm.lead-193@gmail.com, then I could display this e-mail on the actual record in a view, and Odoo users know where to forward e-mails in this scenario. That would be ideal.

In actuality, we're using Google Apps, so we're using Google's SMTP server and POP with a single Odoo e-mail (eg. odoo@ourdomain.com). Odoo 11. Thank you – 

0
Imagine profil
Abandonează
foo
Autor

After many, many hours on this: looks like I can inherit mail.thread and extend message_process. In there, I have these arguments:

```

@api.model

def message_process(self, model, message, custom_values=None,

save_original=False, strip_attachments=False,

thread_id=None):

```

I can pass a model (str) and thread_id (int) – this is considered a fallback. While I see it getting used in the logs, I don't see my message appear there. Been at this for days, would love any other feedback. Wondering if this is a bug with the fallback.

Calgavin Ltd.

Hi foo. Would be interested if you ever accomplished this and found an answer? We're having the same trouble.

Anderson David Martinez Vidal

Hello you can use this module for that https://apps.odoo.com/apps/modules/15.0/mail_to_record/
it uses the mail aliases to create rules for incoming emails and will try to find a record by name or email in the subject in format [Document Name] or [ID]

Lacey Dandy

Did either of you have any luck? (Calgavin or foo?)

I'd love to find a solution that skips the manually assigned [id] of the mail to record app above and just looks at the contact email (and ideally an alternate email if they have one). Or ideas where to next would be super appreciated if you ended up working with someone on this.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Changing a variable in mail_thread.py
mail mail_thread mail.message v15 Git
Imagine profil
0
dec. 23
2724
Action server - Send Email doubt
mail template mail_thread mail.message odoov10
Imagine profil
Imagine profil
2
aug. 19
4057
Add Events in Mail Chatter Odoo 10 Rezolvat
mail chatter mail_thread odoo odoo10
Imagine profil
1
nov. 17
5407
Huge mail.mail tables - why?
mail mailing
Imagine profil
0
feb. 24
2821
How to show message_type = notification in a portal chatter? Rezolvat
chatter mail.message
Imagine profil
Imagine profil
1
sept. 21
7759
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now