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
    • Intelligence artificielle
    • 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
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & 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
    Parcourir toutes les 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
    • Devenir partenaire
    • Services pour partenaires
    • 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
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

Military states module -- help :D

S'inscrire

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

Cette question a été signalée
developmentmodulespythonormodoo
1 Répondre
6054 Vues
Avatar
Mostafa Mohamed Abdel Monaem

Hi there hope you are fine
I need some help please,i have table called students that hold all students in the system and it have all students data .I create a module called military states that when a student in the system gets 19 years old he should be added automatically to  a table called (students military cards requests) and when the student get the card and enter it's number to the system it should be deleted from that table automatically. and change his states in the  (students) table to 'delayed'

I need help to figure out how can the system search students birthdate evey day and check if a student gets 19 years old and add him to another table :D

1
Avatar
Ignorer
Stephen Mack

And what help are you looking for?

Stephen Mack

Thanks for quick replay Mr. Stephen Mack [1] :) . I go for the link you provided but i still confused.Are there any documentation that could be more clarification ? [1] https://www.odoo.com/forum/help-1/user/298649

Stephen Mack

well development documentation is pretty light. I always search in github.com/odoo/odoo for development examples. When I get some more time I will see what I can find.

Mostafa Mohamed Abdel Monaem
Auteur

i will search too :) thanks for help :D

Stephen Mack

Updated my answer with odoo module examples for Daily, Hourly or Minute cron jobs.

Mostafa Mohamed Abdel Monaem
Auteur

thanks for help Mr. Stephen Mack i appreciate that :) i understand cron funct but could you help me here :D https://www.odoo.com/forum/help-1/question/automated-action-birthday-19-75996 i will be thankful :D

Avatar
Stephen Mack
Meilleure réponse

Odoo has a built in CRON function that you can use to run a command/function every xx minutes or hours or days or weeks or months or years.... I think you get the idea.

Here is a forum post to get you started.

Also you can look at cron examples in Odoo modules such as: Gamification (1 per Day), Survey (1 per Hour), or Calendar (1 per 30 Minutes).

And you can peruse the Cron Job source code to see how it works.  For example, defined in the source code are the valid intervals.  They include: minutes, hours, days, work_days, weeks and months.  I was wrong that there was an idea of years. 

It also lists the column names that you can use in your .xml file when creating the cron job.

1
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é
I can't identify which class have this errors
development modules python orm odoo
Avatar
Avatar
Avatar
2
sept. 16
8600
How to refresh form view automatic Résolu
development python orm odoo odooV8
Avatar
Avatar
Avatar
3
avr. 15
12020
Get the new status.
development python cron orm odoo
Avatar
0
mars 15
5662
How to add field in 2 tables same time?
python orm odoo
Avatar
0
avr. 15
5030
Can't see opportunity that created by others even i have see all leads permission?
development python domain odoo
Avatar
0
avr. 22
5086
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
  • Devenir 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 Svenska ภาษาไทย 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