[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

[post_model_sync]
# Patches added in this section will be executed after doctypes are migrated
invoice_az.patches.v1_0.rename_agricultural_to_purchase_type
# TEMPORARY: cleanup_agricultural_fields is now executed via hooks.py after_migrate()
# invoice_az.patches.cleanup_agricultural_fields