Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def res_company_sheet_range_map_values(env):
openupgrade.map_values(
env.cr,
openupgrade.get_legacy_name("sheet_range"),
"sheet_range",
[(MONTHLY, "MONTHLY"), (WEEKLY, "WEEKLY"), (DAILY, "DAILY")],
table="res_company",
)