From c81e7fbc428f014b10808b2a050811b73224f8c6 Mon Sep 17 00:00:00 2001 From: Rohan Date: Thu, 3 Mar 2022 15:59:49 +0530 Subject: [PATCH] fix: change integration datatype to Dynamic Link (#30) --- shopify_integration/setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shopify_integration/setup.py b/shopify_integration/setup.py index 0c43dd2..838a1b2 100644 --- a/shopify_integration/setup.py +++ b/shopify_integration/setup.py @@ -61,8 +61,9 @@ def setup_custom_fields(args=None): dict(fieldname="integration_doctype", label="Integration DocType", fieldtype="Link", options="DocType", insert_after="sb_integration", hidden=1, print_hide=1), - dict(fieldname="integration_doc", label="Integration Doc", fieldtype="Data", - insert_after="integration_doctype", read_only=1, print_hide=1) + dict(fieldname="integration_doc", label="Integration Doc", fieldtype="Dynamic Link", + insert_after="integration_doctype", options="integration_doctype", read_only=1, + print_hide=1), ], "Sales Order": [ dict(fieldname="sb_shopify", label="Shopify", fieldtype="Section Break",