Skip to content

Commit

Permalink
fix: standardize integration field names [CU-20jy4n6] (#28)
Browse files Browse the repository at this point in the history
Co-authored-by: Rohan <[email protected]>
  • Loading branch information
Alchez and Rohan authored Feb 9, 2022
1 parent f95968c commit b43f853
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/setup.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/bash

bench init \
--frappe-branch version-12 \
--frappe-branch version-13 \
--skip-redis-config-generation \
--ignore-exist \
--skip-assets \
shopify-bench

cd shopify-bench

bench get-app http://github.com/frappe/erpnext --branch version-12 --skip-assets
bench get-app http://github.com/frappe/erpnext --branch version-13 --skip-assets
bench get-app shopify_integration /tmp/shopify_integration --skip-assets

bench set-mariadb-host 127.0.0.1
Expand Down
10 changes: 4 additions & 6 deletions shopify_integration/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,13 @@ def setup_custom_fields(args=None):
print_hide=1, translatable=0),

# Integration section
dict(fieldname="integration_details", label="Shopify", fieldtype="Section Break",
insert_after="description"),
dict(fieldname="sb_integration", label="Integration Details",
fieldtype="Section Break", insert_after="description", collapsible=1),
dict(fieldname="integration_doctype", label="Integration DocType",
fieldtype="Link", options="DocType", insert_after="integration_details",
fieldtype="Link", options="DocType", insert_after="sb_integration",
hidden=1, print_hide=1),
dict(fieldname="cb_shopify", fieldtype="Column Break",
insert_after="integration_doctype"),
dict(fieldname="integration_doc", label="Integration Doc", fieldtype="Data",
insert_after="cb_shopify", hidden=1, print_hide=1)
insert_after="integration_doctype", read_only=1, print_hide=1)
],
"Sales Order": [
dict(fieldname="sb_shopify", label="Shopify", fieldtype="Section Break",
Expand Down

0 comments on commit b43f853

Please sign in to comment.