text: Odoo Help
  This community 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.
  How to add scheduled actions in OpenERP ?
  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?
  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
  thanks sandeep
  Hi, what do you mean with "then add this function in your schedule action with model" ?
  Thanks
  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?
  Is there a way to set the schedule for this function by code? Perhaps as xml file?
  Rene, you should use a new question, but yes: Contract expiration reminder 1 weeks !