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

Generating Mail Letters in Odoo for Contracts Expiring in 3 Months

S'inscrire

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

Cette question a été signalée
automatedsignaturedocuments
2 Réponses
2712 Vues
Avatar
Dominik Gerbrand

Hello Odoo Community,

I am looking for a solution to automatically generate and send mail merge letters in Odoo for contracts that are about to expire, specifically 3 months before their end date. Although I've explored some of Odoo's features, I'm not entirely sure how to set this up effectively.

Here are the specifics of my scenario:


  • Contract Management: We use Odoo to manage our contracts, each with a defined start and end date.
  • Notifications: We want to automatically send a reminder mail merge letter (via email or physical mail) to our customers 3 months before their contract expires. This is to remind them about the upcoming expiration and to discuss any renewal options.
  • Customization: Each mail merge letter should include personalized details specific to each contract, such as the customer’s name, contract details, and our company's contact information.


My questions are:


  1. Automation: How can I configure Odoo to automatically generate and send these mail merge letters when a contract is nearing its end (3 months prior)?
  2. Templates: Is there a way to create templates for these letters that can dynamically pull in data from the contract fields?
  3. Extending Standard Features: If Odoo doesn’t provide a direct solution for this scenario, what modules or customizations would be necessary to implement this?
  4. Practical Experiences: Has anyone dealt with a similar use case and can share their insights or best practices?


Here are some of my thoughts and initial research:

  • I considered using the Automated Actions feature in Odoo to set up a trigger for sending out these letters.
  • While I'm familiar with Email Templates in Odoo, I'm uncertain how to apply them to contracts and whether they can be used for physical mail.
  • Custom modules or Odoo Studio might be useful, but I’m unsure about the best approach to take here.

Any help or guidance on how to efficiently achieve this would be greatly appreciated!

Thank you in advance for your support.

Best regards,

Dominik

1
Avatar
Ignorer
faOtools

It seems there is a ready universal solution for your purposes: https://apps.odoo.com/apps/modules/17.0/total_notify. This app makes Odoo automatically and regularly generate and send the table of any Odoo records filtered by particular criteria and relative dates. The data to show (so, columns,
'customer’s name, contract details, and our company's contact information' from your requirements) are also easily configurable.

Fadi Ezzeddine

I just edited my answer below.

Avatar
Fadi Ezzeddine
Meilleure réponse

Hello,

quick question: Your contracts with the customers are managed through the Subscription app or do you have a custom app developped?


Edit:


No need for a custom App, you allready have everything you need in Odoo. This is how I would go about it:


1- Using Studio, create a new Report in the Subscription App (a Report is what pdf files are called in Odoo). You can easily pull fields from your Subscription app and add them to the pdf. 

For a guide on how to create and customize reports, watch this video:

https://www.youtube.com/watch?v=iFghjU_hWMQ&t=60s


2- Create your email template. Head into Settings --> Technical --> Email Templates and create a new one.

In the "Applies To" field, select Subscriptions (i do not have the Subscription App but i will show you a similar thing with Sales Order).

In the body of the email, if you need to pull a field from the Subcription App, just type "/" and select Dynamic Placeholder. and then choose the appropriate field. For example (below), let's say you want to show the customer name, you would do the following: 

/ --> Dynamic Field --> Customer --> Name --> Press Enter , then Odoo will automatically convert your choice into the proper "field name" for the email template. Like so


If you want to attach the PDF Report you create, head over to the Settings tabs, and then in Dynamic Reports field, choose the report you created.


Also, do not forget to set the To (recipients) field in the Email Configuration tabs to "{{ object.partner_id.id }}" (without the "" "") so that it sends it to the actual client for whom the subscription is ending in 3 months.


3- Create an automation that run daily to check the end date of all your subscription and that send the email template when it finds one that expires in 3 months before the end date of the subscription that will send the email template you just created. This you will need someone else to help you with as I honestly do not know how to code it. I am just here to help you with the logic of the process.


Regarding of whether you could have Odoo send the physical mail, there are a few options:

1- You could get to that is either have the email template CCed to someone in your office who will have to actually print or mail it (cheaper option). 

2- You could use a service that offers emails to physical mail, like https://click2mail.com/email-to-mail . Basically you email them the letters you want to send and they physically print and mail them (you will need to create a separate email template as per their instructions i imagine).

3- You could have a partner developp a module for you that connects your Odoo to one of the many "We send physical mail for you" Apis.


P.S: https://docupost.com/ has a Zappier integration that could be a potential solution to your physical email thing.


 

Hope this helps.

1
Avatar
Ignorer
Dominik Gerbrand
Auteur

Hi Fadi,

Contract details are mangaged with the subscription app - Odoo 17

Avatar
Dominik Gerbrand
Auteur Meilleure réponse

Thank you, sir

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é
Automate sending sign request thru email not working
email automated signature
Avatar
0
févr. 25
2221
Link to Documents
signature documents sign
Avatar
Avatar
1
juin 23
4145
How can I link signed documents to the Contact record that signed them? Résolu
contacts signature link documents
Avatar
Avatar
Avatar
2
déc. 24
5436
How to add a document to a serial number of a product
action automated serial_number documents
Avatar
Avatar
1
nov. 23
3909
Can Odoo automatically remind Customers to sign documents if they don't sign quickly? Résolu
email automated signature followup
Avatar
Avatar
1
févr. 22
5453
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