[FIX] ir_cron: use the same search criteria as when listing job to excecyte when...
authorLaurent Mignon <laurent.mignon@acsone.eu>
Thu, 5 Jun 2014 16:59:03 +0000 (18:59 +0200)
committerMartin Trigaux <mat@openerp.com>
Thu, 5 Jun 2014 16:59:03 +0000 (18:59 +0200)
commit6788edcdd0d515da0e562bd37215c0a05723ba90
tree4248acab11ca9616382231f89ae03fbc9979228a
parent81ae6cdeebae9d45063c1f32bd410f46087fa1e7
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job

Backport of fix made in trunk
openerp/addons/base/ir/ir_cron.py