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

How to configure alerts for employee contract expiration.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
emailactionsalerts
4 Respostes
20132 Vistes
Avatar
Matthew Crowder

How do you configure the system to email you when an employees contract is going to expire? For example I need to get an email 40 days before. I have tried several things with Actions, Automated Actions, but no messages are sent. Created a test contract and set the expiration date to 2 days from now, then configured an automated action with a server action to run an email message 2 days before ( -2) and nothing. Any ideas?

2
Avatar
Descartar
Avatar
Med Said BARA
Best Answer

There are many ways to do that, but the easiest way is to use "super_calendar":

Install this module, go under "Super Calendar" menu, choose "configurator" under "Configuration", and then create a "calendar" as follows: choose "hr.contract" as model and "Contract reference" as description field, give a description (like Employee End of Contract), and last choose "End Date" as "date_start_field_id".
you can if you want fill the others fields.

You can find the module HERE.

Other solution is to use "hr_contract_state" modules from HERE.

Modified Answer: after your comment.

<<You say that you need to get an automatically generated email>>, in this case you should create an "Automated action" (go to settings ---> Technical ---> Automated Actions ).......... The solution you need is described HERE

0
Avatar
Descartar
Matthew Crowder
Autor

Thanks. That however does not provide the requirement of email. Let me be more specific. I don't need to see a report, or a calendar. I need to get an automatically generated email. I need to be able to configure the days before the expiration that the email is sent. Because I also want to impliment this for Fleet contracts as well. There are many people saying how easy it is to do this, yet I have seen ZERO instructions, and nothing seems to work.

Matthew Crowder
Autor

Thanks. That works.

Avatar
Matthew Crowder
Autor Best Answer

Just for posterity so other can see. Here are the steps to set automatic alerts on any contract.. i.e. HR Employee, or Fleet for example. I will use fleet as an example.

Step 1. As a user who has access rights to Technical Features, go to Settings --> Automated Actions. Create A new Automated Action. For the Related Document Model choose.. Contract information on a vehicle (you can also type in the actual model name.. fleet.vehicle.log.contract ) . Set the trigger date to ... Contract Expiration Date.

The Next Field (Delay After Trigger Date) is a bit ridiculous. Who wants to be reminded of a contract expiration AFTER the fact? The field should say Days Before Date to Fire Action and the number should be converted to a negative. IMHO. Any way... to get a workable solution you must enter in the number in the negative. So for instance like me if you want to be warned 35 days BEFORE the expiration... put in Delay After Trigger Date.. the number -35 But the sake of testing, right now just put in -1 for 1 day before. Save the Action.

Step 2. Go to Server Actions and create new Action. Call it Fleet Contract Expiration Warning. The Object will be the same as above .. Contract information on a vehicle. The Action Type is Email. For email address I just put my email. Under subject put in... [[object.name]]. This will tell you the name of the car. Message you can put any text message you like. Now save the Server Action.

Step 3. Now go back to the Automated Action you created and go to the Action tab next to the conditions tab. Click Add and add the server action you created . In this case Fleet Contract Expiration Warning. Then Save.

Step 4. To test, set a contract to expire tomorrow under one of your fleets vehicles. Then Save it.

Step 5. Go to Scheduled Actions.. Set interval number to 1. Interval Unit to Minutes. Then Set the Next Execution date to 2 minutes from now. If your SMTP is configured correctly you will start to get a mail every minute with the reminder.

Hope this helps someone!

3
Avatar
Descartar
sneha antony

i didnt understand step 5.Where is the menu Scheduled Actions?

sneha antony

Also my SMTP congiguration met with some error.Can you please describe how the incoming and outgoing mails are configured.

Avatar
Eva Pinter
Best Answer

Update: This does not work properly. In fact, when the automated action is defined, it will send a message every hour, as the condition will always be true until the contract is updated. So this is not a proper solution for the problem.

 

Hello Mathew,

Thank you for your explanation. It really helps and worked for "on creation" "on update" but did not work for time dependent condition. Further, it is not clear what scheduled action should be changed to one minute for testing.

Thanks for help

1
Avatar
Descartar
Avatar
Agung Sepruloh
Best Answer

You can use this module to notify the employee only https://apps.odoo.com/apps/modules/17.0/employee_contract_reminder/

If you want to notify both employee and hr manager, you can use this module https://apps.odoo.com/apps/modules/17.0/hr_contract_reminder/

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
How to send alert Email.
email alerts
Avatar
0
de març 15
5493
Server Action Email sent in plain text Solved
server email actions
Avatar
Avatar
1
de jul. 24
9201
Route Email into all users Odoo-Inbox
messaging email actions
Avatar
Avatar
2
d’ag. 18
7600
Incorrect Recipient Name in Reminder for Appointment
calendar email alerts appointments
Avatar
Avatar
2
d’oct. 24
1990
Alerts for Work Order or Routing or workcenter
email workorder working_center alerts
Avatar
Avatar
Avatar
2
de set. 23
6685
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