Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def migrate(cr, version):
# because the function was moved to another model
openupgrade.load_data(
cr, 'adhoc_modules', 'data/cron_data.xml')