Skip to content

Commit

Permalink
[IMP] Migración desde la 8.0 con nubea_account_asset_utilities instal…
Browse files Browse the repository at this point in the history
…ado.
  • Loading branch information
zamberjo committed Jan 17, 2025
1 parent d6afdcf commit 87d1652
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ def migrate(env, version):
openupgrade.rename_tables(cr, _table_renames)
openupgrade.copy_columns(cr, _column_copies)
openupgrade.rename_columns(cr, _column_renames)
# nubaea_account_asset_utilities añade estos campos
if openupgrade.column_exists(cr, 'account_asset', 'date_start'):
openupgrade.rename_fields(
env, [
('account.asset', 'account_asset', 'date_start'),
],
)
openupgrade.rename_fields(env, _field_renames)
openupgrade.rename_xmlids(cr, _xml_ids_renames)
handle_account_asset_disposal_migration(env)
Expand Down

0 comments on commit 87d1652

Please sign in to comment.