diff --git a/addons/mrp/migrations/13.0.2.0/pre-migration.py b/addons/mrp/migrations/13.0.2.0/pre-migration.py index 7abb9f5c998e..ac622d5f5def 100644 --- a/addons/mrp/migrations/13.0.2.0/pre-migration.py +++ b/addons/mrp/migrations/13.0.2.0/pre-migration.py @@ -88,7 +88,7 @@ def mapped_reservation_state(env): @openupgrade.migrate() def migrate(env, version): - openupgrade.remove_tables_fks(env.cr, 'mrp_bom_line_product_attribute_value_rel') + openupgrade.remove_tables_fks(env.cr, ['mrp_bom_line_product_attribute_value_rel']) openupgrade.rename_models(env.cr, _model_renames) if openupgrade.table_exists(env.cr, 'mrp_subproduct'): openupgrade.rename_tables(env.cr, _mrp_subproduct_table_renames)