nandeep
December 26, 2016, 12:26pm
1
Hi,
when Iam migrating the customised app from dev environment to production environment, some of the custom fields are missing. Iam unable to find the reason.Please Help me.
sagar
December 26, 2016, 1:04pm
2
hi @nandeep ,
try the export custom field from your dev environment and import it into the production environment.
or added in hooks & try
“bench export-fixtures”
Thanks
1 Like
nandeep
December 27, 2016, 4:07am
3
@sagar Do I need to mention the custom fields anywhere as such?
@nandeep ,
add Custom Field
in fixtures attribute in hooks.py then use command bench export-fixture
to export the fixtures.
please refer
setup_wizard_stages = "erpnext.setup.setup_wizard.setup_wizard.get_setup_stages"
setup_wizard_test = "erpnext.setup.setup_wizard.test_setup_wizard.run_setup_wizard_test"
before_install = "erpnext.setup.install.check_setup_wizard_not_completed"
after_install = "erpnext.setup.install.after_install"
boot_session = "erpnext.startup.boot.boot_session"
notification_config = "erpnext.startup.notifications.get_notification_config"
get_help_messages = "erpnext.utilities.activation.get_help_messages"
leaderboards = "erpnext.startup.leaderboard.get_leaderboards"
filters_config = "erpnext.startup.filters.get_filters_config"
additional_print_settings = "erpnext.controllers.print_settings.get_print_settings"
on_session_creation = [
"erpnext.portal.utils.create_customer_or_supplier",
"erpnext.e_commerce.shopping_cart.utils.set_cart_count",
]
on_logout = "erpnext.e_commerce.shopping_cart.utils.clear_cart_count"
treeviews = [
"Account",
Thanks, Makarand