Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Generating Mail Letters in Odoo for Contracts Expiring in 3 Months

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
automatedsignaturedocuments
2 Respuestas
2669 Vistas
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
Descartar
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
Mejor respuesta

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
Descartar
Dominik Gerbrand
Autor

Hi Fadi,

Contract details are mangaged with the subscription app - Odoo 17

Avatar
Dominik Gerbrand
Autor Mejor respuesta

Thank you, sir

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Automate sending sign request thru email not working
email automated signature
Avatar
0
feb 25
2170
Link to Documents
signature documents sign
Avatar
Avatar
1
jun 23
4104
How can I link signed documents to the Contact record that signed them? Resuelto
contacts signature link documents
Avatar
Avatar
Avatar
2
dic 24
5411
How to add a document to a serial number of a product
action automated serial_number documents
Avatar
Avatar
1
nov 23
3899
Can Odoo automatically remind Customers to sign documents if they don't sign quickly? Resuelto
email automated signature followup
Avatar
Avatar
1
feb 22
5427
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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