[FIX] runbot: create ir.cron record in noupdate mode

Should let us restart an instance with -u runbot
even when another runbot worker is executing the
cron job (locking it in the database).
This commit is contained in:
Olivier Dony 2015-02-09 10:08:14 +01:00 committed by Odoo Online
parent a0f8d18586
commit 578c379779

View File

@ -646,7 +646,9 @@ http {
</g>
</svg>
</template>
</data>
<data noupdate="1">
<!-- Cron -->
<record model="ir.cron" id="repo_cron">
<field name='name'>Runbot Cron</field>
@ -658,6 +660,6 @@ http {
<field name="function">cron</field>
<field name="args">()</field>
</record>
</data>
</openerp>