From 3a3c01194e4d21f0e718e339f5402d3ec4dbf6f3 Mon Sep 17 00:00:00 2001 From: Westech Admin Date: Sat, 16 May 2026 23:35:51 +0000 Subject: [PATCH] Initial commit: fixtures, hooks, doctype events, API, and JS --- README.md | 3 + requirements.txt | 1 + setup.py | 16 + westech_r2.egg-info/PKG-INFO | 10 + westech_r2.egg-info/SOURCES.txt | 12 + westech_r2.egg-info/dependency_links.txt | 1 + westech_r2.egg-info/not-zip-safe | 1 + westech_r2.egg-info/requires.txt | 1 + westech_r2.egg-info/top_level.txt | 1 + westech_r2/__init__.py | 1 + .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 188 bytes westech_r2/__pycache__/hooks.cpython-312.pyc | Bin 0 -> 894 bytes westech_r2/api/__init__.py | 0 westech_r2/api/install_ssh.py | 6 + westech_r2/api/optimize_routes.py | 109 + westech_r2/config/__init__.py | 0 westech_r2/config/desktop.py | 4 + westech_r2/doctype/__init__.py | 0 westech_r2/doctype/load/__init__.py | 0 westech_r2/doctype/load/load.py | 25 + westech_r2/doctype/pallet/__init__.py | 0 westech_r2/doctype/pallet/pallet.py | 7 + .../doctype/scheduled_pickup/__init__.py | 0 .../scheduled_pickup/scheduled_pickup.py | 8 + westech_r2/fixtures/custom_doctype.json | 13188 ++++++++++++++++ westech_r2/fixtures/custom_field.json | 3082 ++++ westech_r2/fixtures/workspace.json | 308 + westech_r2/hooks.py | 36 + westech_r2/modules.txt | 1 + westech_r2/public/__init__.py | 0 westech_r2/public/js/load.js | 7 + westech_r2/public/js/pallet.js | 15 + westech_r2/public/js/scheduled_pickup.js | 67 + westech_r2/westech_r2/__init__.py | 0 .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 173 bytes 35 files changed, 16910 insertions(+) create mode 100644 README.md create mode 100644 requirements.txt create mode 100644 setup.py create mode 100644 westech_r2.egg-info/PKG-INFO create mode 100644 westech_r2.egg-info/SOURCES.txt create mode 100644 westech_r2.egg-info/dependency_links.txt create mode 100644 westech_r2.egg-info/not-zip-safe create mode 100644 westech_r2.egg-info/requires.txt create mode 100644 westech_r2.egg-info/top_level.txt create mode 100644 westech_r2/__init__.py create mode 100644 westech_r2/__pycache__/__init__.cpython-312.pyc create mode 100644 westech_r2/__pycache__/hooks.cpython-312.pyc create mode 100644 westech_r2/api/__init__.py create mode 100644 westech_r2/api/install_ssh.py create mode 100644 westech_r2/api/optimize_routes.py create mode 100644 westech_r2/config/__init__.py create mode 100644 westech_r2/config/desktop.py create mode 100644 westech_r2/doctype/__init__.py create mode 100644 westech_r2/doctype/load/__init__.py create mode 100644 westech_r2/doctype/load/load.py create mode 100644 westech_r2/doctype/pallet/__init__.py create mode 100644 westech_r2/doctype/pallet/pallet.py create mode 100644 westech_r2/doctype/scheduled_pickup/__init__.py create mode 100644 westech_r2/doctype/scheduled_pickup/scheduled_pickup.py create mode 100644 westech_r2/fixtures/custom_doctype.json create mode 100644 westech_r2/fixtures/custom_field.json create mode 100644 westech_r2/fixtures/workspace.json create mode 100644 westech_r2/hooks.py create mode 100644 westech_r2/modules.txt create mode 100644 westech_r2/public/__init__.py create mode 100644 westech_r2/public/js/load.js create mode 100644 westech_r2/public/js/pallet.js create mode 100644 westech_r2/public/js/scheduled_pickup.js create mode 100644 westech_r2/westech_r2/__init__.py create mode 100644 westech_r2/westech_r2/__pycache__/__init__.cpython-312.pyc diff --git a/README.md b/README.md new file mode 100644 index 0000000..39602fc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Westech R2 + +R2 Tracking integration for Westech Recyclers ERPNext instance. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f47ffaf --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +frappe diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..381d4f6 --- /dev/null +++ b/setup.py @@ -0,0 +1,16 @@ +from setuptools import setup, find_packages + +with open("requirements.txt") as f: + install_requires = f.read().strip().split("\n") + +setup( + name="westech_r2", + version="0.0.1", + description="R2 Tracking for Westech Recyclers", + author="Westech", + author_email="", + packages=find_packages(), + zip_safe=False, + include_package_data=True, + install_requires=install_requires, +) diff --git a/westech_r2.egg-info/PKG-INFO b/westech_r2.egg-info/PKG-INFO new file mode 100644 index 0000000..a149ef1 --- /dev/null +++ b/westech_r2.egg-info/PKG-INFO @@ -0,0 +1,10 @@ +Metadata-Version: 2.4 +Name: westech_r2 +Version: 0.0.1 +Summary: R2 Tracking for Westech Recyclers +Author: Westech +Author-email: +Requires-Dist: frappe +Dynamic: author +Dynamic: requires-dist +Dynamic: summary diff --git a/westech_r2.egg-info/SOURCES.txt b/westech_r2.egg-info/SOURCES.txt new file mode 100644 index 0000000..92808c7 --- /dev/null +++ b/westech_r2.egg-info/SOURCES.txt @@ -0,0 +1,12 @@ +README.md +setup.py +westech_r2/__init__.py +westech_r2/hooks.py +westech_r2.egg-info/PKG-INFO +westech_r2.egg-info/SOURCES.txt +westech_r2.egg-info/dependency_links.txt +westech_r2.egg-info/not-zip-safe +westech_r2.egg-info/requires.txt +westech_r2.egg-info/top_level.txt +westech_r2/config/__init__.py +westech_r2/config/desktop.py \ No newline at end of file diff --git a/westech_r2.egg-info/dependency_links.txt b/westech_r2.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/westech_r2.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/westech_r2.egg-info/not-zip-safe b/westech_r2.egg-info/not-zip-safe new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/westech_r2.egg-info/not-zip-safe @@ -0,0 +1 @@ + diff --git a/westech_r2.egg-info/requires.txt b/westech_r2.egg-info/requires.txt new file mode 100644 index 0000000..f47ffaf --- /dev/null +++ b/westech_r2.egg-info/requires.txt @@ -0,0 +1 @@ +frappe diff --git a/westech_r2.egg-info/top_level.txt b/westech_r2.egg-info/top_level.txt new file mode 100644 index 0000000..7d57e71 --- /dev/null +++ b/westech_r2.egg-info/top_level.txt @@ -0,0 +1 @@ +westech_r2 diff --git a/westech_r2/__init__.py b/westech_r2/__init__.py new file mode 100644 index 0000000..f102a9c --- /dev/null +++ b/westech_r2/__init__.py @@ -0,0 +1 @@ +__version__ = "0.0.1" diff --git a/westech_r2/__pycache__/__init__.cpython-312.pyc b/westech_r2/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0b2fbe3d184f24793d3a5fa0ea62ab65216276c5 GIT binary patch literal 188 zcmX@j%ge<81UtWSWQhUk#~=<2FhUuhIe?7m3@Hpz43&(UOjWD~dIoxiewvK8xZ~r? zQj3Z+^Yh~4S2BDCssH7upOK%Ns-ISrSWu9vpITIqms(Mxo0OWDoS_dCD%LMgEiOq- z&WJBELT1LtXXa&=#K-FuRQ}?y$<0qG%}KQ@Vgs58az-)8l^>WH85wWzi8gWiRM DaO0a9G;s6O44T-+En;fxRJN^c=c^UiTIFh0 zYwGp8%J~RF0*XUE%$=ia+&dVm<^tzW4~D%%9-%QwPJ1Ve_x_6jO%Vkyl%cG5uMYcG z-g%J;$tJyB0u-y}ONI`oDX7*F<71IV2viezn!veK?PJi%AQaIVh$9)lt6wep#irUsX}{w>nN=zwbvvfE4~sYJVjBJ57v4{&=;ts;%8mR=XE7 z8Hv5VqwFY6!z7yM`Ie}7`W<|6oWvVq>`}YS_+ehP}MGdlpsh1DEow* z%Z!6iE{6{p;d+MJFO;MA5yBZHQYf#CAPJ%whHxal8<*v8d9~xmYy$oX*KY6^3*J74 z1jT-tj!<<@rimQH8tN5tC9Ez>k-?ajiTbsiM0+4@%D&NiME z-C4)e)Vo)-FBD0Data unknownD1Contains dataND1Non-data deviceND2Evaluated as not containing dataND3Sanitized using physical destructionND4Grade A (80-100%), Sanitized with softwareND5Grade B (60-75%), Sanitized with software", + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 0, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + }, + { + "name": "c12sbu6bq3", + "fieldname": "pallets", + "label": "Pallets", + "oldfieldname": null, + "fieldtype": "Table", + "oldfieldtype": null, + "options": "Load Pallet", + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 0, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + }, + { + "name": "c126g1482k", + "fieldname": "total_devices", + "label": "Total Devices", + "oldfieldname": null, + "fieldtype": "Int", + "oldfieldtype": null, + "options": null, + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 1, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + }, + { + "name": "c12sem4ia5", + "fieldname": "total_weight", + "label": "Total Weight (lbs)", + "oldfieldname": null, + "fieldtype": "Float", + "oldfieldtype": null, + "options": null, + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 1, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + }, + { + "name": "c12mk1fvdi", + "fieldname": "total_hdd_wiped", + "label": "Total HDDs Wiped", + "oldfieldname": null, + "fieldtype": "Int", + "oldfieldtype": null, + "options": null, + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 1, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + }, + { + "name": "c12mlreu2u", + "fieldname": "total_hdd_degaussed", + "label": "Total HDDs Degaussed/Shredded", + "oldfieldname": null, + "fieldtype": "Int", + "oldfieldtype": null, + "options": null, + "search_index": 0, + "show_dashboard": 0, + "hidden": 0, + "set_only_once": 0, + "allow_in_quick_entry": 0, + "print_hide": 0, + "report_hide": 0, + "reqd": 0, + "bold": 0, + "in_global_search": 0, + "collapsible": 0, + "unique": 0, + "no_copy": 0, + "allow_on_submit": 0, + "show_preview_popup": 0, + "trigger": null, + "collapsible_depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "depends_on": null, + "permlevel": 0, + "ignore_user_permissions": 0, + "width": null, + "print_width": null, + "columns": 0, + "default": null, + "description": null, + "in_list_view": 0, + "fetch_if_empty": 0, + "in_filter": 0, + "remember_last_selected_value": 0, + "ignore_xss_filter": 0, + "print_hide_if_no_value": 0, + "allow_bulk_edit": 0, + "in_standard_filter": 0, + "in_preview": 0, + "read_only": 1, + "precision": "", + "max_height": null, + "length": 0, + "translatable": 0, + "hide_border": 0, + "hide_days": 0, + "hide_seconds": 0, + "non_negative": 0, + "is_virtual": 0, + "sort_options": 0, + "link_filters": null, + "fetch_from": null, + "show_on_timeline": 0, + "make_attachment_public": 0, + "documentation_url": null, + "placeholder": null, + "doctype": "DocField" + } + ], + "states": [], + "actions": [], + "links": [], + "permissions": [] + } +] \ No newline at end of file diff --git a/westech_r2/fixtures/custom_field.json b/westech_r2/fixtures/custom_field.json new file mode 100644 index 0000000..e12d90c --- /dev/null +++ b/westech_r2/fixtures/custom_field.json @@ -0,0 +1,3082 @@ +[ + { + "name": "Scheduled Pickup-total_gaylord_weight", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Total Gaylord Weight (lbs)", + "placeholder": null, + "fieldname": "total_gaylord_weight", + "insert_after": "slots_needed", + "length": 0, + "link_filters": null, + "fieldtype": "Float", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-slots_needed", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Slots Needed", + "placeholder": null, + "fieldname": "slots_needed", + "insert_after": "gaylord_sizes", + "length": 0, + "link_filters": null, + "fieldtype": "Int", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-gaylord_sizes", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Gaylord Sizes", + "placeholder": null, + "fieldname": "gaylord_sizes", + "insert_after": "gaylord_count", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-gaylord_count", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Gaylord Count", + "placeholder": null, + "fieldname": "gaylord_count", + "insert_after": "gaylord_section", + "length": 0, + "link_filters": null, + "fieldtype": "Int", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-gaylord_section", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Gaylord Details", + "placeholder": null, + "fieldname": "gaylord_section", + "insert_after": "carrier_name", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-carrier_name", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Carrier Name", + "placeholder": null, + "fieldname": "carrier_name", + "insert_after": "truck_profile", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-truck_profile", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Truck Profile", + "placeholder": null, + "fieldname": "truck_profile", + "insert_after": "shipment_type", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Truck Profile", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Scheduled Pickup-shipment_type", + "is_system_generated": 0, + "dt": "Scheduled Pickup", + "module": "Westech R2", + "label": "Shipment Type", + "placeholder": null, + "fieldname": "shipment_type", + "insert_after": "status", + "length": 0, + "link_filters": null, + "fieldtype": "Select", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Truck\nFreight Carrier", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load Pallet-commodity_only", + "is_system_generated": 0, + "dt": "Load Pallet", + "module": "Westech R2", + "label": "Commodity Only", + "placeholder": null, + "fieldname": "commodity_only", + "insert_after": "gaylord_size", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load Pallet-gaylord_size", + "is_system_generated": 0, + "dt": "Load Pallet", + "module": "Westech R2", + "label": "Gaylord Size", + "placeholder": null, + "fieldname": "gaylord_size", + "insert_after": "commodity_weight", + "length": 0, + "link_filters": null, + "fieldtype": "Select", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "\nSmall\nMedium\nLarge", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load Pallet-commodity_weight", + "is_system_generated": 0, + "dt": "Load Pallet", + "module": "Westech R2", + "label": "Commodity Weight (lbs)", + "placeholder": null, + "fieldname": "commodity_weight", + "insert_after": "intake_weight", + "length": 0, + "link_filters": null, + "fieldtype": "Float", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load Pallet-intake_weight", + "is_system_generated": 0, + "dt": "Load Pallet", + "module": "Westech R2", + "label": "Intake Weight (lbs)", + "placeholder": null, + "fieldname": "intake_weight", + "insert_after": "intake_designation", + "length": 0, + "link_filters": null, + "fieldtype": "Float", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load Pallet-intake_designation", + "is_system_generated": 0, + "dt": "Load Pallet", + "module": "Westech R2", + "label": "Intake Designation", + "placeholder": null, + "fieldname": "intake_designation", + "insert_after": "total_items", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-green_sheet_instructions", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Green Sheet Instructions", + "placeholder": null, + "fieldname": "green_sheet_instructions", + "insert_after": "green_sheet", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-green_sheet", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Green Sheet", + "placeholder": null, + "fieldname": "green_sheet", + "insert_after": "total_hdds", + "length": 0, + "link_filters": null, + "fieldtype": "Attach", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-sanitization_description", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Sanitization Description", + "placeholder": null, + "fieldname": "sanitization_description", + "insert_after": "sanitization_section", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-sanitization_section", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Data Sanitization", + "placeholder": null, + "fieldname": "sanitization_section", + "insert_after": "r2_description", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-r2_description", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "R2 Downstream Description", + "placeholder": null, + "fieldname": "r2_description", + "insert_after": "r2_section", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-r2_section", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "R2 Downstream", + "placeholder": null, + "fieldname": "r2_section", + "insert_after": "testing_description", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-testing_description", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Testing Description", + "placeholder": null, + "fieldname": "testing_description", + "insert_after": "testing_section", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-testing_section", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Testing", + "placeholder": null, + "fieldname": "testing_section", + "insert_after": "disassembly_description", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-disassembly_description", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Disassembly Description", + "placeholder": null, + "fieldname": "disassembly_description", + "insert_after": "disassembly_section", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-disassembly_section", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Disassembly (Data Removal)", + "placeholder": null, + "fieldname": "disassembly_section", + "insert_after": "sort_description", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-sort_description", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Sort Description", + "placeholder": null, + "fieldname": "sort_description", + "insert_after": "sort_section", + "length": 0, + "link_filters": null, + "fieldtype": "Small Text", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Load-sort_section", + "is_system_generated": 0, + "dt": "Load", + "module": "Westech R2", + "label": "Sort", + "placeholder": null, + "fieldname": "sort_section", + "insert_after": "notes", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 1, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Supplier-geocoded", + "is_system_generated": 0, + "dt": "Supplier", + "module": "Westech R2", + "label": "Geocoded", + "placeholder": null, + "fieldname": "geocoded", + "insert_after": "longitude", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Supplier-longitude", + "is_system_generated": 0, + "dt": "Supplier", + "module": "Westech R2", + "label": "Longitude", + "placeholder": null, + "fieldname": "longitude", + "insert_after": "latitude", + "length": 0, + "link_filters": null, + "fieldtype": "Float", + "precision": "6", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Supplier-latitude", + "is_system_generated": 0, + "dt": "Supplier", + "module": "Westech R2", + "label": "Latitude", + "placeholder": null, + "fieldname": "latitude", + "insert_after": "supplier_primary_address", + "length": 0, + "link_filters": null, + "fieldtype": "Float", + "precision": "6", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Pallet-customer_number", + "is_system_generated": 0, + "dt": "Pallet", + "module": "Westech R2", + "label": "Customer Number", + "placeholder": null, + "fieldname": "customer_number", + "insert_after": "supplier", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 1, + "doctype": "Custom Field" + }, + { + "name": "Serial No-mdm", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "MDM/Autopilot", + "placeholder": null, + "fieldname": "mdm", + "insert_after": "computrace", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-computrace", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Computrace", + "placeholder": null, + "fieldname": "computrace", + "insert_after": "erasure_status", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-cosmetic_grade", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Cosmetic Grade", + "placeholder": null, + "fieldname": "cosmetic_grade", + "insert_after": "functional_grade", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-functional_grade", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Functional Grade", + "placeholder": null, + "fieldname": "functional_grade", + "insert_after": "os_version", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-os_version", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "OS", + "placeholder": null, + "fieldname": "os_version", + "insert_after": "display", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-display", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Display", + "placeholder": null, + "fieldname": "display", + "insert_after": "storage", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-storage", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Storage", + "placeholder": null, + "fieldname": "storage", + "insert_after": "col_break_1", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-col_break_1", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": null, + "placeholder": null, + "fieldname": "col_break_1", + "insert_after": "processor", + "length": 0, + "link_filters": null, + "fieldtype": "Column Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-processor", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Processor", + "placeholder": null, + "fieldname": "processor", + "insert_after": "ram", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-ram", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "RAM", + "placeholder": null, + "fieldname": "ram", + "insert_after": "chassis_type", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 1, + "doctype": "Custom Field" + }, + { + "name": "Serial No-chassis_type", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Chassis Type", + "placeholder": null, + "fieldname": "chassis_type", + "insert_after": "eim_section", + "length": 0, + "link_filters": null, + "fieldtype": "Data", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 1, + "doctype": "Custom Field" + }, + { + "name": "Serial No-eim_section", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Device Details (from EIM)", + "placeholder": null, + "fieldname": "eim_section", + "insert_after": "tech", + "length": 0, + "link_filters": null, + "fieldtype": "Section Break", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-tech", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Tech / Tester", + "placeholder": null, + "fieldname": "tech", + "insert_after": "pallet", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Employee", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 1, + "in_standard_filter": 1, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Serial No-pallet", + "is_system_generated": 0, + "dt": "Serial No", + "module": "Westech R2", + "label": "Pallet", + "placeholder": null, + "fieldname": "pallet", + "insert_after": "item_code", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Pallet", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 1, + "in_standard_filter": 1, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Communication-company", + "is_system_generated": 1, + "dt": "Communication", + "module": "Westech R2", + "label": "Company", + "placeholder": null, + "fieldname": "company", + "insert_after": "email_account", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Company", + "sort_options": 0, + "fetch_from": "email_account.company", + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 1, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Email Account-company", + "is_system_generated": 1, + "dt": "Email Account", + "module": "Westech R2", + "label": "Company", + "placeholder": null, + "fieldname": "company", + "insert_after": "email_id", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Company", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Print Settings-print_taxes_with_zero_amount", + "is_system_generated": 1, + "dt": "Print Settings", + "module": "Westech R2", + "label": "Print taxes with zero amount", + "placeholder": null, + "fieldname": "print_taxes_with_zero_amount", + "insert_after": "allow_print_for_cancelled", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": "0", + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Print Settings-print_uom_after_quantity", + "is_system_generated": 1, + "dt": "Print Settings", + "module": "Westech R2", + "label": "Print UOM after Quantity", + "placeholder": null, + "fieldname": "print_uom_after_quantity", + "insert_after": "compact_item_print", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": "0", + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Print Settings-compact_item_print", + "is_system_generated": 1, + "dt": "Print Settings", + "module": "Westech R2", + "label": "Compact Item Print", + "placeholder": null, + "fieldname": "compact_item_print", + "insert_after": "with_letterhead", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": "1", + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Quotation-exempt_from_sales_tax", + "is_system_generated": 1, + "dt": "Quotation", + "module": "Westech R2", + "label": "Is customer exempted from sales tax?", + "placeholder": null, + "fieldname": "exempt_from_sales_tax", + "insert_after": "taxes_and_charges", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Customer-exempt_from_sales_tax", + "is_system_generated": 1, + "dt": "Customer", + "module": "Westech R2", + "label": "Is customer exempted from sales tax?", + "placeholder": null, + "fieldname": "exempt_from_sales_tax", + "insert_after": "dn_required", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Sales Invoice-exempt_from_sales_tax", + "is_system_generated": 1, + "dt": "Sales Invoice", + "module": "Westech R2", + "label": "Is customer exempted from sales tax?", + "placeholder": null, + "fieldname": "exempt_from_sales_tax", + "insert_after": "taxes_section", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Sales Order-exempt_from_sales_tax", + "is_system_generated": 1, + "dt": "Sales Order", + "module": "Westech R2", + "label": "Is customer exempted from sales tax?", + "placeholder": null, + "fieldname": "exempt_from_sales_tax", + "insert_after": "taxes_and_charges", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Supplier-irs_1099", + "is_system_generated": 1, + "dt": "Supplier", + "module": "Westech R2", + "label": "Is IRS 1099 reporting required for supplier?", + "placeholder": null, + "fieldname": "irs_1099", + "insert_after": "tax_id", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Address-is_your_company_address", + "is_system_generated": 0, + "dt": "Address", + "module": "Westech R2", + "label": "Is Your Company Address", + "placeholder": null, + "fieldname": "is_your_company_address", + "insert_after": "linked_with", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": "0", + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Contact-is_billing_contact", + "is_system_generated": 0, + "dt": "Contact", + "module": "Westech R2", + "label": "Is Billing Contact", + "placeholder": null, + "fieldname": "is_billing_contact", + "insert_after": "is_primary_contact", + "length": 0, + "link_filters": null, + "fieldtype": "Check", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": null, + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + }, + { + "name": "Address-tax_category", + "is_system_generated": 0, + "dt": "Address", + "module": "Westech R2", + "label": "Tax Category", + "placeholder": null, + "fieldname": "tax_category", + "insert_after": "fax", + "length": 0, + "link_filters": null, + "fieldtype": "Link", + "precision": "", + "hide_seconds": 0, + "hide_days": 0, + "options": "Tax Category", + "sort_options": 0, + "fetch_from": null, + "fetch_if_empty": 0, + "collapsible": 0, + "collapsible_depends_on": null, + "default": null, + "depends_on": null, + "mandatory_depends_on": null, + "read_only_depends_on": null, + "non_negative": 0, + "reqd": 0, + "unique": 0, + "is_virtual": 0, + "read_only": 0, + "ignore_user_permissions": 0, + "hidden": 0, + "print_hide": 0, + "print_hide_if_no_value": 0, + "print_width": null, + "no_copy": 0, + "allow_on_submit": 0, + "in_list_view": 0, + "in_standard_filter": 0, + "in_global_search": 0, + "in_preview": 0, + "bold": 0, + "report_hide": 0, + "search_index": 0, + "allow_in_quick_entry": 0, + "ignore_xss_filter": 0, + "translatable": 0, + "hide_border": 0, + "show_dashboard": 0, + "description": null, + "permlevel": 0, + "width": null, + "columns": 0, + "doctype": "Custom Field" + } +] \ No newline at end of file diff --git a/westech_r2/fixtures/workspace.json b/westech_r2/fixtures/workspace.json new file mode 100644 index 0000000..6b28a0e --- /dev/null +++ b/westech_r2/fixtures/workspace.json @@ -0,0 +1,308 @@ +[ + { + "name": "Westech", + "label": "Westech", + "title": "Westech", + "sequence_id": 0.0, + "for_user": null, + "parent_page": null, + "module": "Westech R2", + "icon": "stock", + "indicator_color": "green", + "restrict_to_domain": null, + "hide_custom": 0, + "public": 1, + "is_hidden": 0, + "content": "[{\"type\": \"header\", \"data\": {\"text\": \"Westech Recyclers\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"New Intake\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Pallets\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Pallet List\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Scheduled Pickups\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Route Planner\"}}, {\"type\": \"spacer\", \"data\": {}}, {\"type\": \"header\", \"data\": {\"text\": \"Tools\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"EIM Device Portal\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"R2 Data Tracking\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Wes AI Assistant\"}}, {\"type\": \"spacer\", \"data\": {}}, {\"type\": \"header\", \"data\": {\"text\": \"Records\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Customers\"}}, {\"type\": \"shortcut\", \"data\": {\"shortcut_name\": \"Suppliers\"}}]", + "doctype": "Workspace", + "number_cards": [], + "roles": [], + "charts": [], + "custom_blocks": [], + "shortcuts": [ + { + "name": "udas5ds8ot", + "type": "Page", + "link_to": "intake", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "New Intake", + "icon": "add", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "udait4ne28", + "type": "Page", + "link_to": "eim-portal", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "EIM Device Portal", + "icon": "scan", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "uda22lpk4d", + "type": "Page", + "link_to": "r2-tracking", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "R2 Data Tracking", + "icon": "table", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "uda1ujmmbm", + "type": "DocType", + "link_to": "Pallet", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "Pallets", + "icon": "stock", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "udacp7r9mm", + "type": "DocType", + "link_to": "Customer", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "Customers", + "icon": "customer", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "udata7hnp2", + "type": "DocType", + "link_to": "Supplier", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "Suppliers", + "icon": "users", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "32sa54pcd0", + "type": "Page", + "link_to": "pallet-list", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "Pallet List", + "icon": "list", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "dur8jjfd70", + "type": "Page", + "link_to": "route-planner", + "url": null, + "doc_view": "", + "kanban_board": null, + "label": "Route Planner", + "icon": "map", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + }, + { + "name": "durrgfv1f7", + "type": "DocType", + "link_to": "Scheduled Pickup", + "url": null, + "doc_view": "List", + "kanban_board": null, + "label": "Scheduled Pickups", + "icon": "calendar", + "restrict_to_domain": null, + "report_ref_doctype": null, + "stats_filter": null, + "color": null, + "format": null, + "doctype": "Workspace Shortcut" + } + ], + "quick_lists": [], + "links": [ + { + "name": "a3kfn55i4u", + "type": "Card Break", + "label": "Stock", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "", + "report_ref_doctype": null, + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "a3khtlprab", + "type": "Link", + "label": "Warehouses", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "Warehouse", + "report_ref_doctype": null, + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "a3kfh5qu2i", + "type": "Link", + "label": "Serial Nos", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "Serial No", + "report_ref_doctype": null, + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "a3kd2bjk00", + "type": "Link", + "label": "Stock Entry", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "Stock Entry", + "report_ref_doctype": null, + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "a3k18ofk9m", + "type": "Link", + "label": "Pallets", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "Pallet", + "report_ref_doctype": null, + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "a3knidvhdq", + "type": "Link", + "label": "Stock Balance", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "Report", + "link_to": "Stock Balance", + "report_ref_doctype": "Stock Ledger Entry", + "dependencies": "", + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "q8h2lf3bto", + "type": "Card Break", + "label": "R2 Tracking", + "icon": "octicon octicon-shield-check", + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": null, + "report_ref_doctype": null, + "dependencies": null, + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + }, + { + "name": "q8hvn93ud9", + "type": "Link", + "label": "Loads", + "icon": null, + "description": null, + "hidden": 0, + "link_type": "DocType", + "link_to": "Load", + "report_ref_doctype": null, + "dependencies": null, + "only_for": null, + "onboard": 0, + "is_query_report": 0, + "link_count": 0, + "doctype": "Workspace Link" + } + ] + } +] \ No newline at end of file diff --git a/westech_r2/hooks.py b/westech_r2/hooks.py new file mode 100644 index 0000000..526b917 --- /dev/null +++ b/westech_r2/hooks.py @@ -0,0 +1,36 @@ +app_name = "westech_r2" +app_title = "Westech R2" +app_publisher = "Westech" +app_description = "R2 Tracking for Westech Recyclers" +app_email = "" +app_license = "MIT" + +# Fixtures - these will be exported/imported +fixtures = [ + "Custom Field", + "DocType", + "Workspace", +] + +# Required apps +required_apps = ["erpnext"] + +# DocType event hooks +doc_events = { + "Pallet": { + "before_save": "westech_r2.doctype.pallet.pallet.update_serial_nos", + }, + "Scheduled Pickup": { + "before_save": "westech_r2.doctype.scheduled_pickup.scheduled_pickup.set_title", + }, + "Load": { + "before_save": "westech_r2.doctype.load.load.calculate_totals", + }, +} + +# Include JS in forms +app_include_js = [ + "/assets/westech_r2/js/scheduled_pickup.js", + "/assets/westech_r2/js/load.js", + "/assets/westech_r2/js/pallet.js", +] diff --git a/westech_r2/modules.txt b/westech_r2/modules.txt new file mode 100644 index 0000000..0883200 --- /dev/null +++ b/westech_r2/modules.txt @@ -0,0 +1 @@ +Westech R2 diff --git a/westech_r2/public/__init__.py b/westech_r2/public/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/westech_r2/public/js/load.js b/westech_r2/public/js/load.js new file mode 100644 index 0000000..008e6ac --- /dev/null +++ b/westech_r2/public/js/load.js @@ -0,0 +1,7 @@ +frappe.ui.form.on('Load', { + refresh: function(frm) { + frm.add_custom_button(__('View Pallets'), function() { + frappe.set_route('List', 'Pallet', {'load': frm.doc.name}); + }, __('Actions')); + } +}); diff --git a/westech_r2/public/js/pallet.js b/westech_r2/public/js/pallet.js new file mode 100644 index 0000000..46771c9 --- /dev/null +++ b/westech_r2/public/js/pallet.js @@ -0,0 +1,15 @@ +frappe.ui.form.on('Pallet', { + refresh: function(frm) { + frm.add_custom_button(__('View Serials'), function() { + frappe.set_route('List', 'Serial No', { + 'pallet': frm.doc.pallet_number || frm.doc.name + }); + }, __('View')); + + frm.add_custom_button(__('Serials Spreadsheet'), function() { + frappe.set_route('query-report', 'Serial Nos by Pallet', { + 'pallet': frm.doc.pallet_number || frm.doc.name + }); + }, __('View')); + } +}); diff --git a/westech_r2/public/js/scheduled_pickup.js b/westech_r2/public/js/scheduled_pickup.js new file mode 100644 index 0000000..a017ec3 --- /dev/null +++ b/westech_r2/public/js/scheduled_pickup.js @@ -0,0 +1,67 @@ +frappe.ui.form.on('Scheduled Pickup', { + customer_number: function(frm) { + var customer = frm.doc.customer_number; + if (!customer) { + clear_supplier_fields(frm); + return; + } + frappe.call({ + method: 'frappe.client.get', + args: {doctype: 'Supplier', name: customer}, + callback: function(r) { + if (!r.message) return; + var s = r.message; + if (!frm.doc.company_name && s.supplier_name) { + frm.set_value('company_name', s.supplier_name); + } + if (s.supplier_primary_contact) { + frappe.call({ + method: 'frappe.client.get', + args: {doctype: 'Contact', name: s.supplier_primary_contact}, + callback: function(cr) { + if (!cr.message) return; + var ct = cr.message; + var full_name = [ct.first_name, ct.last_name].filter(Boolean).join(' '); + if (!frm.doc.contact_name) frm.set_value('contact_name', full_name); + if (!frm.doc.contact_phone) frm.set_value('contact_phone', ct.phone || ''); + if (!frm.doc.contact_email) frm.set_value('contact_email', ct.email_id || ''); + } + }); + } + if (s.supplier_primary_address) { + frappe.call({ + method: 'frappe.client.get', + args: {doctype: 'Address', name: s.supplier_primary_address}, + callback: function(ar) { + if (!ar.message) return; + var a = ar.message; + if (!frm.doc.address_line) frm.set_value('address_line', a.address_line1 || ''); + if (!frm.doc.city) frm.set_value('city', a.city || ''); + if (!frm.doc.state) frm.set_value('state', a.state || ''); + if (!frm.doc.zip_code) frm.set_value('zip_code', a.pincode || ''); + } + }); + } + if (s.geocoded && s.latitude && s.longitude) { + frm.set_value('latitude', s.latitude); + frm.set_value('longitude', s.longitude); + frm.set_value('geocoded', 1); + } + } + }); + } +}); + +function clear_supplier_fields(frm) { + frm.set_value('company_name', ''); + frm.set_value('contact_name', ''); + frm.set_value('contact_phone', ''); + frm.set_value('contact_email', ''); + frm.set_value('address_line', ''); + frm.set_value('city', ''); + frm.set_value('state', ''); + frm.set_value('zip_code', ''); + frm.set_value('latitude', ''); + frm.set_value('longitude', ''); + frm.set_value('geocoded', 0); +} diff --git a/westech_r2/westech_r2/__init__.py b/westech_r2/westech_r2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/westech_r2/westech_r2/__pycache__/__init__.cpython-312.pyc b/westech_r2/westech_r2/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a909cf6695d0a1b869ee1bcaae5a15d31da5e51b GIT binary patch literal 173 zcmX@j%ge<81SbDEvOx4>5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!^3l)8&rQ`&D@rUV zNYzg*D#%N%DA7$y%}dVE2MQJIm!}q&q$X#?7a8GT#>Z#oWtPOp>lIY~;;_lhPbtkw YwJTx;8qNsB#URE