We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a910c9 commit 4d276e8Copy full SHA for 4d276e8
l10n_uy_edi/17.0.0.0/post-migration.py
@@ -147,5 +147,8 @@ def migrate(env, version):
147
148
149
# Los re-creamos
150
- env.ref('l10n_uy_edi.ir_cron_get_ucfe_notif').unlink()
151
- env.ref('l10n_uy_edi.ir_cron_get_vendor_bills_received').unlink()
+ cron_ucfe_notif = env.ref('l10n_uy_edi.ir_cron_get_ucfe_notif', raise_if_not_found=False)
+ cron_vendor_bills_received = env.ref('l10n_uy_edi.ir_cron_get_vendor_bills_received', raise_if_not_found=False)
152
+
153
+ cron_ucfe_notif.unlink() if cron_ucfe_notif else False
154
+ cron_vendor_bills_received.unlink() if cron_vendor_bills_received else False
0 commit comments