Odoo Help

0
1
Avatar

Aktiv software

--Aktiv software--
3206
| 5 2 7
Ahmedabad, India
--Aktiv software--

 Aktiv software

  • Skype : shah.jainesh

  • email : Sales@Aktivsoftware.com

Aktiv software
On 8/25/17, 3:07 AM

Hi Edi,

If you are using odoo cron then next cron will execute only after previous one's completion. If you want to run parallel job then you can use connector job functionality of Odoo Connector module. You can download it from

https://apps.odoo.com/apps/modules/8.0/connector/

This module allows you to create job which start as a thread in the Odoo main process.You can also assign priority and execution time to specific job.

Example:

@job def export_one_thing(self, one_thing):

 # work
    # export one_thing

delayable = env['a.model'].with_delay(priority=30, eta=60*60*5)
delayable.export_one_thing(the_thing_to_export)
# the job will be executed with a low priority and not before a delay of 5 hours from now

Hope this will help you!

Thanks.

About This Community

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

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

2 follower(s)

Stats

Asked: 8/24/17, 3:34 AM
Seen: 584 times
Last updated: 8/25/17, 3:07 AM