Odoo Help

Welcome!

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.

1

Scheduler not working in openerp.

By
Aneesh
on 6/7/13, 2:26 AM 2,109 views

I want create a scenario ,when stock will become below a minimum level an automatic purchase order need to be placed.For that I have Created a minimum stock rule(reordering rule).So when product qty become less than minimum quantity a purchase order will be placed using the option 'warehouse->scheduler->run scheduler' It is working fine. But I need to place the purchase order automatically in monthly or weekly base, without using the option 'warehouse->scheduler->run scheduler'.So for that I have tried to use the scheduling option I have write the code like this.

 <record forcecreate="True" id="ir_cron_purchase_fine_action" model="ir.cron">
      <field name="name">Run Purchase Fine Scheduler</field>
      <field eval="True" name="active" />
      <field name="user_id" ref="base.user_root" />
      <field name="interval_number">1</field>
      <field name="interval_type">days</field>
      <field name="numbercall">1</field>
      <field eval="'purchase.order'" name="model" />
      <field eval="'run_scheduler'" name="function" />
      <field eval="'(False,)'" name="args" />
    </record>

But scheduling is not working , I have also tried to create schedule from the option 'administartion->schedule->scheduled action' . But Still the scheduling is not working and no purchase order is placed in it. I am doing this on my local machine,not on server is that the issue.?

bazaar.launchpad.net/~openerp/openobject-server/7.0/revision/5034

Metrolux Gmbh, Andreas Marpmann
on 8/8/13, 6:03 PM
1

You can try :

        <field name="numbercall">-1</field>
0

Vasiliy Birukov

--Vasiliy Birukov--
3446
| 6 6 8
Russian Federation
--Vasiliy Birukov--

Help develop and implement any project on base Odoo.

Vasiliy Birukov
On 6/7/13, 2:53 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/7/13, 2:26 AM
Seen: 2109 times
Last updated: 3/16/15, 8:10 AM