From 462e18ad2ef86a92c08f07a86ac34d4196acdf08 Mon Sep 17 00:00:00 2001 From: Shreya Date: Fri, 20 Apr 2018 14:01:30 +0530 Subject: [PATCH] Allowed To Transact With child table in Customer & Supplier --- .../allowed_to_transact_with/__init__.py | 0 .../allowed_to_transact_with.json | 74 +++++++++++++++++++ .../allowed_to_transact_with.py | 10 +++ 3 files changed, 84 insertions(+) create mode 100644 erpnext/accounts/doctype/allowed_to_transact_with/__init__.py create mode 100644 erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.json create mode 100644 erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py diff --git a/erpnext/accounts/doctype/allowed_to_transact_with/__init__.py b/erpnext/accounts/doctype/allowed_to_transact_with/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.json b/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.json new file mode 100644 index 0000000000..f85bc52713 --- /dev/null +++ b/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.json @@ -0,0 +1,74 @@ +{ + "allow_copy": 0, + "allow_guest_to_view": 0, + "allow_import": 0, + "allow_rename": 0, + "beta": 0, + "creation": "2018-04-16 21:50:05.860195", + "custom": 0, + "docstatus": 0, + "doctype": "DocType", + "document_type": "", + "editable_grid": 1, + "engine": "InnoDB", + "fields": [ + { + "allow_bulk_edit": 0, + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "columns": 0, + "default": "", + "fieldname": "company", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "ignore_xss_filter": 0, + "in_filter": 0, + "in_global_search": 0, + "in_list_view": 1, + "in_standard_filter": 0, + "label": "Company", + "length": 0, + "no_copy": 0, + "options": "Company", + "permlevel": 0, + "precision": "", + "print_hide": 0, + "print_hide_if_no_value": 0, + "read_only": 0, + "remember_last_selected_value": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "translatable": 0, + "unique": 0 + } + ], + "has_web_view": 0, + "hide_heading": 0, + "hide_toolbar": 0, + "idx": 0, + "image_view": 0, + "in_create": 0, + "is_submittable": 0, + "issingle": 0, + "istable": 1, + "max_attachments": 0, + "modified": "2018-04-20 14:00:46.014502", + "modified_by": "Administrator", + "module": "Accounts", + "name": "Allowed To Transact With", + "name_case": "", + "owner": "Administrator", + "permissions": [], + "quick_entry": 1, + "read_only": 0, + "read_only_onload": 0, + "show_name_in_global_search": 0, + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1, + "track_seen": 0 +} \ No newline at end of file diff --git a/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py b/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py new file mode 100644 index 0000000000..c4ab3b0961 --- /dev/null +++ b/erpnext/accounts/doctype/allowed_to_transact_with/allowed_to_transact_with.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors +# For license information, please see license.txt + +from __future__ import unicode_literals +import frappe +from frappe.model.document import Document + +class AllowedToTransactWith(Document): + pass