Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Umělá inteligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Military states module -- help :D

Odebírat

Get notified when there's activity on this post

This question has been flagged
developmentmodulespythonormodoo
1 Odpovědět
6053 Zobrazení
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
Zrušit
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
Autor

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
Autor

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
Nejlepší odpověď

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
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
I can't identify which class have this errors
development modules python orm odoo
Avatar
Avatar
Avatar
2
zář 16
8597
How to refresh form view automatic Vyřešeno
development python orm odoo odooV8
Avatar
Avatar
Avatar
3
dub 15
12020
Get the new status.
development python cron orm odoo
Avatar
0
bře 15
5661
How to add field in 2 tables same time?
python orm odoo
Avatar
0
dub 15
5030
Can't see opportunity that created by others even i have see all leads permission?
development python domain odoo
Avatar
0
dub 22
5085
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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