new_contents: # Copyright 2022 ForgeFlow S.L.  <https://www.forgeflow.com>
  # License LGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  from openupgradelib import openupgrade
  
  _model_renames = [
      (
          "account.bank.statement.import",
          "account.statement.import",
      ),
  ]
  
  _table_renames = [
      (
          "account_bank_statement_import",
          "account_statement_import",
      ),
  ]
  
  
  @openupgrade.migrate()
  def migrate(env, version):
      openupgrade.rename_models(env.cr, _model_renames)
      openupgrade.rename_tables(env.cr, _table_renames)
  
subject: add model rename in migration