[pre_model_sync] # Patches added in this section will be executed before doctypes are migrated # Read docs to understand patches: https://frappeframework.com/docs/v14/user/en/database-migrations kapital_bank.patches.rename_purpose_mapping_to_transaction_mapping [post_model_sync] # Patches added in this section will be executed after doctypes are migrated kapital_bank.patches.migrate_counterparty_type