Skip to content

Commit

Permalink
[FIX] account_edi: avoid accidental deactivation of the EDI cron on u…
Browse files Browse the repository at this point in the history
…pdate

The problem is that when we update the account_edi, e.g. by updating the
base module, the cron gets deactivated because initially the ir.cron
record is set to active False and we activate it when we have an
edi format that requires web services.

By setting the record to noupdate, it will not execute setting it to
False again when updating the module.  (It will however not update
the record to noupdate)

closes odoo#89787

X-original-commit: 69ba48e
Signed-off-by: William André (wan) <wan@odoo.com>
  • Loading branch information
jco-odoo committed Apr 27, 2022
1 parent c228ff0 commit 7d25bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account_edi/data/cron.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<odoo>
<odoo noupdate="1">
<record id="ir_cron_edi_network" model="ir.cron">
<field name="name">EDI : Perform web services operations</field>
<field name="model_id" ref="model_account_edi_document"/>
Expand Down

0 comments on commit 7d25bba

Please sign in to comment.