[FIX] payment: impossible to archive cron

Install payment
Archive the cron
Upgrade system

--> Issue the cron is now active

Note: on testing server we archive cron (we make a an SQL query before upgrade the system)

@qdp-odoo
@nim-odoo
@sla-subteno-it

closes odoo/odoo#53658

X-original-commit: a47f0249d35da805436e33d06800988ca4c3b6a9
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
Florent de Labarre
2020-06-25 11:51:06 +00:00
committed by GitHub
parent 257792adbc
commit 0426152da0
-1
View File
@@ -5,7 +5,6 @@
<field name="model_id" ref="payment.model_payment_transaction"/>
<field name="state">code</field>
<field name="code">model._cron_post_process_after_done()</field>
<field name="active" eval="True"/>
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">10</field> <!-- To decide clearly -->
<field name="interval_type">minutes</field>