Odoo Help


How to add scheduled actions in OpenERP ?

Raminder Pal Singh
on 6/6/13, 5:20 AM 3,411 views

I want to allocate 1.5 paid leaves to every employee at the start of every month. How do i create scheduled action for that. what do i fill in technical data?


ClueLogics Technologies Pvt. Ltd.

--ClueLogics Technologies Pvt. Ltd.--
| 6 5 8
Delhi NCR, India
--ClueLogics Technologies Pvt. Ltd.--

 ClueLogics Technologies Pvt Ltd is a Software product and services provider. We are positioned to deliver robust, rapid and reliable Information Technology solutions that work. What we succeed upon is Technology and Technical Expertise. The industry review of ClueLogics has been commendable for the past years as most of its business comes from repeat orders by highly satisfied clients.

ClueLogics Technologies Pvt. Ltd.
On 6/6/13, 9:31 AM

you can create a function in your related model

suppose your model is "my.model"

   def my_schedule(self,cr,uid,context):
       // either give the code for your calculation for paid here or 
       // call to your calculation function from here 

       return True

then add this function in your schedule action with model my.model

give specific time etc

you will run according your given time



thanks sandeep

Raminder Pal Singh
on 6/6/13, 10:43 AM

Hi, what do you mean with "then add this function in your schedule action with model" ?

Versão Integral, Anabela Damas
on 6/24/13, 9:00 AM

I also created a function and created a scheduled action for it, but it doesn't work. What is the reason, am I missing something?

on 7/8/13, 8:14 AM

Is there a way to set the schedule for this function by code? Perhaps as xml file?

René Schuster
on 1/8/14, 4:50 AM

Rene, you should use a new question, but yes: Contract expiration reminder 1 weeks -1

Pau Ubach
on 10/15/14, 2:19 AM

Sorry, can't copy xml here.

Pau Ubach
on 10/15/14, 2:19 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/6/13, 5:20 AM
Seen: 3411 times
Last updated: 3/16/15, 8:10 AM