Skip to content

Commit

Permalink
[OU-FIX] mrp: remove_tables_fks requires list
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Sep 29, 2024
1 parent 2c37220 commit 20f618b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/mrp/migrations/13.0.2.0/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20f618b

Please sign in to comment.