Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo/OpenERP failed mail handling

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
smtpcronemails
5 Réponses
10085 Vues
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
Ignorer
Avatar
Axel Mendoza
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Odoo does not send me the emails
smtp emails
Avatar
Avatar
Avatar
Avatar
Avatar
5
sept. 24
14375
SMTP config options have no effect
smtp emails
Avatar
Avatar
1
août 18
7996
Problem with smtp out odoo,becouse change terms of google apps no security Résolu
smtp emails Odoo13.0
Avatar
Avatar
2
oct. 24
5009
Connection test failed! Error when testing the outgoing email configuration
email smtp emails
Avatar
Avatar
1
mars 15
14612
How often are email messages sent from Odoo?
emails
Avatar
Avatar
Avatar
2
sept. 25
3629
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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