Skip to content

Commit

Permalink
Merge pull request #4568 from ForgeFlow/13.0-fix-mrp-remove_tables_fks
Browse files Browse the repository at this point in the history
[13.0][OU-FIX] mrp: remove_tables_fks requires list
  • Loading branch information
pedrobaeza authored Sep 29, 2024
2 parents 2c37220 + 20f618b commit e71da52
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 e71da52

Please sign in to comment.