Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo/OpenERP failed mail handling

Subscriure's

Get notified when there's activity on this post

This question has been flagged
smtpcronemails
5 Respostes
10016 Vistes
Avatar
DRC Systems India Ltd.

I have a question regarding odoo/openerp mail handling for typical situation. Here is the scenario:- I am using some odoo and performed any transaction that would trigger an email to my client, now for consideration I didn't have internet connected at that moment will odoo handle that on later stage like if the system will look for emails that got failed due to any reason and retry the same.

I tried to make a deeper drive for the same in Automation Panel I was able to see scheduled action I was able to see Email Queue Manager I did all the settings it had. Now the issue is I wanna know what odoo is using in back-end like Crontab or any other kind of scheduler that will let you me know if the schedules have been qued and wait for the same to hit the script and process the Que.

Any one who know odoo will be able to answer the question. If you are not getting my question and are aware of odoo. Please let me know. I will do my best to explain the situation.

Thanks and Regards

Chand Prakash

2
Avatar
Descartar
Avatar
Axel Mendoza
Best Answer

Odoo have it's own cron solution for triggering the tasks saved in the ir.cron model. Every cron definition define a call to a target model function that implements the needed behavior of the task. The target model function, in this case function for Email Queue Manager is the responsible for clean up the failed or delayed email messages. The cron of Odoo consist of independents Threads/Workers that scan and execute the cron task definitions 

The process_email_queue function used by the referenced cron look for mail.mail objects with state = outgoing. Those emails that are not delivered get an state = exception. For those you could put back to the outgoing state by the Retry button or you could define the context in the args for that cron task with a filter key-value containing a domain to match the exception state like:

<field eval="'(None,{\'filters\': [\'|\'(\'state\', \'=\', \'exception\')]})'" name="args"/>

or directly in the ir.cron form in the field args

"(None,{'filters': ['|'('state', '=', 'exception')]})"


3
Avatar
Descartar
Ryan Hulsker

So the other part of this question was "does OpenERP retry sending emails that failed, for instance if your SMTP server is down at the moment you sent them?" Im running 8.0 and sent invoices via email while SMTP was down and I am wondering if they should be automatically sent. Its been a few hours and I have not seen them so I am wondering if this means my scheduler is broken.

Axel Mendoza

Check the answer for a way to process emails with exception state

Axel Mendoza

updated

Avatar
eLBati
Best Answer

Module mail_tracking shows email notification tracking status for any messages in mail thread (chatter). Each notified partner will have an intuitive icon just right to his name.


When user sends a message in mail_thread (chatter), for instance in partner form, then an email tracking is created for each email notification. Then a status icon will appear just right to name of notified partner

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
Odoo does not send me the emails
smtp emails
Avatar
Avatar
Avatar
Avatar
Avatar
5
de set. 24
14320
SMTP config options have no effect
smtp emails
Avatar
Avatar
1
d’ag. 18
7976
Problem with smtp out odoo,becouse change terms of google apps no security Solved
smtp emails Odoo13.0
Avatar
Avatar
2
d’oct. 24
4994
Connection test failed! Error when testing the outgoing email configuration
email smtp emails
Avatar
Avatar
1
de març 15
14582
How often are email messages sent from Odoo?
emails
Avatar
Avatar
Avatar
2
de set. 25
3609
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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