When we export the custom field from devsetup to the production server through fixtures, the field doesn’t get displayed in the form. The field is present in the custom_field.json and yet it deosnt reflect in the UI., I have done bench reload-doc as well, and still no update.
I’m wondering what 's going on…why wouldnt it load from the json?
Try The “bench migrate” and “bench start” command
i hope it will help
@sagar It works. But then, I just realized that when i run bench run-tests it all goes away again.
Has someone experienced this with bench run-tests?
bench run-tests always fails since it cannot find the custom fields…I wonder if this is a system issue or something to do with my customizations?
bench run-tests delete all custom fields before execution.
so you have to sync fixtures first while executing test cases.
from frappe.utils import cint, cstr, flt
from frappe.utils.fixtures import sync_fixtures
from erpnext_shopify.sync_orders import create_order, valid_customer_and_product
from erpnext_shopify.sync_products import make_item
from erpnext_shopify.sync_customers import create_customer
shopify_settings = frappe.get_doc("Shopify Settings")
shopify_settings.taxes = 
@saurabh6790 That was it.