diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.json b/erpnext/accounts/doctype/journal_entry/journal_entry.json index c652ae4991..8f6e94faa8 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.json +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.json @@ -10,6 +10,8 @@ "fields": [ { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "entry_type_and_date", "fieldtype": "Section Break", "hidden": 0, @@ -28,8 +30,33 @@ "set_only_once": 0, "unique": 0 }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "default": "", + "fieldname": "title", + "fieldtype": "Data", + "hidden": 1, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Title", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "Journal Entry", "fieldname": "voucher_type", "fieldtype": "Select", @@ -37,7 +64,7 @@ "ignore_user_permissions": 0, "in_filter": 1, "in_list_view": 0, - "label": "Voucher Type", + "label": "Entry Type", "no_copy": 0, "oldfieldname": "voucher_type", "oldfieldtype": "Select", @@ -53,6 +80,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -75,6 +104,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -95,6 +126,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "posting_date", "fieldtype": "Date", "hidden": 0, @@ -116,26 +149,8 @@ }, { "allow_on_submit": 0, - "fieldname": "exchange_rate", - "fieldtype": "Float", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Exchange Rate", - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "2_add_edit_gl_entries", "fieldtype": "Section Break", "hidden": 0, @@ -157,6 +172,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "fieldname": "accounts", "fieldtype": "Table", "hidden": 0, @@ -179,6 +196,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break99", "fieldtype": "Section Break", "hidden": 0, @@ -197,6 +216,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:inList([\"Credit Note\", \"Debit Note\"], doc.voucher_type)", "fieldname": "stock_entry", "fieldtype": "Link", @@ -219,6 +240,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_debit", "fieldtype": "Currency", "hidden": 0, @@ -241,6 +264,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_credit", "fieldtype": "Currency", "hidden": 0, @@ -263,6 +288,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "difference", "fieldtype": "Currency", "hidden": 0, @@ -285,6 +312,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "get_balance", "fieldtype": "Button", "hidden": 0, @@ -305,6 +334,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break99", "fieldtype": "Column Break", "hidden": 0, @@ -323,7 +354,9 @@ }, { "allow_on_submit": 0, - "description": "eg. Cheque Number", + "bold": 0, + "collapsible": 0, + "description": "", "fieldname": "cheque_no", "fieldtype": "Data", "hidden": 0, @@ -345,6 +378,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "cheque_date", "fieldtype": "Date", "hidden": 0, @@ -366,6 +401,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "user_remark", "fieldtype": "Small Text", "hidden": 0, @@ -387,25 +424,8 @@ }, { "allow_on_submit": 0, - "fieldname": "view_details", - "fieldtype": "Fold", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "View Details", - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "fieldname": "reference", "fieldtype": "Section Break", "hidden": 0, @@ -426,6 +446,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "clearance_date", "fieldtype": "Date", "hidden": 0, @@ -447,7 +469,9 @@ }, { "allow_on_submit": 0, - "description": "User Remark will be added to Auto Remark", + "bold": 0, + "collapsible": 0, + "description": "", "fieldname": "remark", "fieldtype": "Small Text", "hidden": 0, @@ -469,6 +493,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break98", "fieldtype": "Column Break", "hidden": 0, @@ -487,6 +513,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "bill_no", "fieldtype": "Data", "hidden": 0, @@ -508,6 +536,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "bill_date", "fieldtype": "Date", "hidden": 0, @@ -529,6 +559,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "due_date", "fieldtype": "Date", "hidden": 0, @@ -550,13 +582,83 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "fieldname": "printing_settings", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Printing Settings", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "fieldname": "letter_head", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Letter Head", + "no_copy": 0, + "options": "Letter Head", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "fieldname": "select_print_heading", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Print Heading", + "no_copy": 1, + "oldfieldname": "select_print_heading", + "oldfieldtype": "Link", + "options": "Print Heading", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 1, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "fieldname": "addtional_info", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "More Details", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-file-text", @@ -571,26 +673,8 @@ }, { "allow_on_submit": 0, - "fieldname": "column_break2", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "oldfieldtype": "Column Break", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0, - "width": "50%" - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "No", "description": "", "fieldname": "is_opening", @@ -615,6 +699,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "Accounts Receivable", "depends_on": "eval:doc.voucher_type == 'Write Off Entry'", "fieldname": "write_off_based_on", @@ -637,6 +723,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.voucher_type == 'Write Off Entry'", "fieldname": "write_off_amount", "fieldtype": "Currency", @@ -658,6 +746,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.voucher_type == 'Write Off Entry'", "fieldname": "get_outstanding_invoices", "fieldtype": "Button", @@ -677,50 +767,10 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_on_submit": 1, - "fieldname": "letter_head", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Letter Head", - "no_copy": 0, - "options": "Letter Head", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 1, - "fieldname": "select_print_heading", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Print Heading", - "no_copy": 1, - "oldfieldname": "select_print_heading", - "oldfieldtype": "Link", - "options": "Print Heading", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 1, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "amended_from", "fieldtype": "Link", "hidden": 0, @@ -743,6 +793,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break3", "fieldtype": "Column Break", "hidden": 0, @@ -763,6 +815,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "pay_to_recd_from", "fieldtype": "Data", "hidden": 0, @@ -782,6 +836,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_amount", "fieldtype": "Currency", "hidden": 1, @@ -802,6 +858,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_amount_in_words", "fieldtype": "Data", "hidden": 1, @@ -821,6 +879,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "company", "fieldtype": "Link", "hidden": 0, @@ -843,6 +903,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "fiscal_year", "fieldtype": "Link", "hidden": 0, @@ -862,26 +924,6 @@ "search_index": 1, "set_only_once": 0, "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Title", - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 } ], "hide_heading": 0, @@ -893,7 +935,7 @@ "is_submittable": 1, "issingle": 0, "istable": 0, - "modified": "2015-08-18 14:26:37.496638", + "modified": "2015-08-26 12:47:53.107439", "modified_by": "Administrator", "module": "Accounts", "name": "Journal Entry", diff --git a/erpnext/accounts/doctype/party_account/party_account.json b/erpnext/accounts/doctype/party_account/party_account.json index 9c6db01889..27d0349ad3 100644 --- a/erpnext/accounts/doctype/party_account/party_account.json +++ b/erpnext/accounts/doctype/party_account/party_account.json @@ -10,6 +10,8 @@ "fields": [ { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "company", "fieldtype": "Link", "hidden": 0, @@ -30,6 +32,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "col_break1", "fieldtype": "Column Break", "hidden": 0, @@ -50,6 +54,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "account", "fieldtype": "Link", "hidden": 0, @@ -76,7 +82,7 @@ "is_submittable": 0, "issingle": 0, "istable": 1, - "modified": "2015-08-13 16:40:02.413005", + "modified": "2015-08-26 11:23:22.917738", "modified_by": "Administrator", "module": "Accounts", "name": "Party Account", diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json index 3a14cf650e..0f31a2f845 100755 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json @@ -8,8 +8,33 @@ "docstatus": 0, "doctype": "DocType", "fields": [ + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "default": "{supplier_name}", + "fieldname": "title", + "fieldtype": "Data", + "hidden": 1, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Title", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -32,6 +57,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "supplier", "fieldtype": "Link", "hidden": 0, @@ -54,6 +81,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "supplier", "fieldname": "supplier_name", "fieldtype": "Data", @@ -76,6 +105,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "address_display", "fieldtype": "Small Text", "hidden": 1, @@ -95,6 +126,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_display", "fieldtype": "Small Text", "hidden": 1, @@ -114,6 +147,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_mobile", "fieldtype": "Small Text", "hidden": 1, @@ -133,6 +168,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_email", "fieldtype": "Small Text", "hidden": 1, @@ -152,6 +189,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -172,6 +211,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "Today", "fieldname": "posting_date", "fieldtype": "Date", @@ -194,6 +235,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "", "fieldname": "bill_no", "fieldtype": "Data", @@ -216,6 +259,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "bill_date", "fieldtype": "Date", "hidden": 0, @@ -237,6 +282,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "amended_from", "fieldtype": "Link", "hidden": 0, @@ -259,6 +306,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "company", "fieldtype": "Link", "hidden": 0, @@ -281,6 +330,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "is_return", "fieldtype": "Check", "hidden": 0, @@ -301,6 +352,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "is_return", "fieldname": "return_against", "fieldtype": "Link", @@ -323,13 +376,15 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "fieldname": "currency_and_price_list", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Currency and Price List", "no_copy": 0, "options": "icon-tag", "permlevel": 0, @@ -343,6 +398,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "currency", "fieldtype": "Link", "hidden": 0, @@ -365,7 +422,9 @@ }, { "allow_on_submit": 0, - "description": "The rate at which Bill Currency is converted into company's base currency", + "bold": 0, + "collapsible": 0, + "description": "", "fieldname": "conversion_rate", "fieldtype": "Float", "hidden": 0, @@ -388,6 +447,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break2", "fieldtype": "Column Break", "hidden": 0, @@ -406,6 +467,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "buying_price_list", "fieldtype": "Link", "hidden": 0, @@ -426,6 +489,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "price_list_currency", "fieldtype": "Link", "hidden": 0, @@ -446,6 +511,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "plc_conversion_rate", "fieldtype": "Float", "hidden": 0, @@ -466,6 +533,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "ignore_pricing_rule", "fieldtype": "Check", "hidden": 0, @@ -485,6 +554,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "items_section", "fieldtype": "Section Break", "hidden": 0, @@ -506,6 +577,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "fieldname": "items", "fieldtype": "Table", "hidden": 0, @@ -528,6 +601,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break_26", "fieldtype": "Section Break", "hidden": 0, @@ -546,6 +621,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_total", "fieldtype": "Currency", "hidden": 0, @@ -567,7 +644,9 @@ }, { "allow_on_submit": 0, - "description": "Will be calculated automatically when you enter the details", + "bold": 0, + "collapsible": 0, + "description": "", "fieldname": "base_net_total", "fieldtype": "Currency", "hidden": 0, @@ -590,6 +669,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_28", "fieldtype": "Column Break", "hidden": 0, @@ -608,6 +689,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total", "fieldtype": "Currency", "hidden": 0, @@ -629,6 +712,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "net_total", "fieldtype": "Currency", "hidden": 0, @@ -651,6 +736,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_section", "fieldtype": "Section Break", "hidden": 0, @@ -672,6 +759,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_and_charges", "fieldtype": "Link", "hidden": 0, @@ -694,6 +783,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes", "fieldtype": "Table", "hidden": 0, @@ -716,6 +807,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "other_charges_calculation", "fieldtype": "HTML", "hidden": 0, @@ -736,6 +829,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "totals", "fieldtype": "Section Break", "hidden": 0, @@ -757,6 +852,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_taxes_and_charges_added", "fieldtype": "Currency", "hidden": 0, @@ -779,6 +876,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_taxes_and_charges_deducted", "fieldtype": "Currency", "hidden": 0, @@ -801,6 +900,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_total_taxes_and_charges", "fieldtype": "Currency", "hidden": 0, @@ -823,6 +924,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_40", "fieldtype": "Column Break", "hidden": 0, @@ -842,6 +945,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_and_charges_added", "fieldtype": "Currency", "hidden": 0, @@ -864,6 +969,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_and_charges_deducted", "fieldtype": "Currency", "hidden": 0, @@ -886,6 +993,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_taxes_and_charges", "fieldtype": "Currency", "hidden": 0, @@ -907,12 +1016,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "discount_amount", "fieldname": "section_break_44", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, + "label": "Additional Discount", "no_copy": 0, "permlevel": 0, "precision": "", @@ -926,6 +1039,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "Grand Total", "fieldname": "apply_discount_on", "fieldtype": "Select", @@ -948,6 +1063,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_46", "fieldtype": "Column Break", "hidden": 0, @@ -967,6 +1084,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "discount_amount", "fieldtype": "Currency", "hidden": 0, @@ -988,6 +1107,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_discount_amount", "fieldtype": "Currency", "hidden": 0, @@ -1009,6 +1130,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break_49", "fieldtype": "Section Break", "hidden": 0, @@ -1028,6 +1151,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_grand_total", "fieldtype": "Currency", "hidden": 0, @@ -1050,7 +1175,9 @@ }, { "allow_on_submit": 0, - "description": "In Words will be visible once you save the Purchase Invoice.", + "bold": 0, + "collapsible": 0, + "description": "", "fieldname": "base_in_words", "fieldtype": "Data", "hidden": 0, @@ -1072,6 +1199,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break8", "fieldtype": "Column Break", "hidden": 0, @@ -1092,6 +1221,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "grand_total", "fieldtype": "Currency", "hidden": 0, @@ -1114,6 +1245,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "in_words", "fieldtype": "Data", "hidden": 0, @@ -1135,6 +1268,32 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "total_amount_to_pay", + "fieldtype": "Currency", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Total Amount To Pay", + "no_copy": 1, + "oldfieldname": "total_amount_to_pay", + "oldfieldtype": "Currency", + "options": "Company:company:default_currency", + "permlevel": 0, + "print_hide": 1, + "read_only": 1, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_advance", "fieldtype": "Currency", "hidden": 0, @@ -1145,7 +1304,7 @@ "no_copy": 1, "oldfieldname": "total_advance", "oldfieldtype": "Currency", - "options": "party_account_currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 1, @@ -1157,6 +1316,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "outstanding_amount", "fieldtype": "Currency", "hidden": 0, @@ -1167,7 +1328,7 @@ "no_copy": 1, "oldfieldname": "outstanding_amount", "oldfieldtype": "Currency", - "options": "party_account_currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 1, @@ -1179,6 +1340,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "write_off_amount", "fieldtype": "Currency", "hidden": 0, @@ -1187,7 +1350,7 @@ "in_list_view": 0, "label": "Write Off Amount", "no_copy": 1, - "options": "currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 0, @@ -1199,27 +1362,8 @@ }, { "allow_on_submit": 0, - "fieldname": "base_write_off_amount", - "fieldtype": "Currency", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Write Off Amount (Company Currency)", - "no_copy": 1, - "options": "Company:company:default_currency", - "permlevel": 0, - "precision": "", - "print_hide": 1, - "read_only": 1, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:flt(doc.write_off_amount)!=0", "fieldname": "write_off_account", "fieldtype": "Link", @@ -1241,6 +1385,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:flt(doc.write_off_amount)!=0", "fieldname": "write_off_cost_center", "fieldtype": "Link", @@ -1262,6 +1408,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "against_expense_account", "fieldtype": "Small Text", "hidden": 1, @@ -1283,31 +1431,16 @@ }, { "allow_on_submit": 0, - "fieldname": "fold", - "fieldtype": "Fold", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "advances", "fieldname": "advances_section", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Advance Payments", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-money", @@ -1322,6 +1455,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "get_advances_paid", "fieldtype": "Button", "hidden": 0, @@ -1343,6 +1478,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "advances", "fieldtype": "Table", "hidden": 0, @@ -1365,13 +1502,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "terms", "fieldname": "terms_section_break", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Terms and Conditions", "no_copy": 0, "options": "icon-legal", "permlevel": 0, @@ -1385,6 +1525,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "tc_name", "fieldtype": "Link", "hidden": 0, @@ -1405,6 +1547,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "terms", "fieldtype": "Text Editor", "hidden": 0, @@ -1424,6 +1568,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "depends_on": "supplier", "fieldname": "contact_section", "fieldtype": "Section Break", @@ -1431,7 +1577,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Contact Details", "no_copy": 0, "options": "icon-bullhorn", "permlevel": 0, @@ -1445,6 +1591,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "supplier_address", "fieldtype": "Link", "hidden": 0, @@ -1465,6 +1613,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "col_break23", "fieldtype": "Column Break", "hidden": 0, @@ -1484,6 +1634,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_person", "fieldtype": "Link", "hidden": 0, @@ -1504,86 +1656,19 @@ }, { "allow_on_submit": 0, - "fieldname": "more_info", + "bold": 0, + "collapsible": 1, + "fieldname": "printing_settings", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Printing Settings", "no_copy": 0, - "oldfieldtype": "Section Break", - "options": "icon-file-text", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "description": "Supplier (Payable) Account", - "fieldname": "credit_to", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Credit To", - "no_copy": 0, - "oldfieldname": "credit_to", - "oldfieldtype": "Link", - "options": "Account", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 1, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "party_account_currency", - "fieldtype": "Currency", - "hidden": 1, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Party Account Currency", - "no_copy": 1, - "options": "Currency", "permlevel": 0, "precision": "", - "print_hide": 1, - "read_only": 1, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "default": "No", - "description": "Considered as Opening Balance", - "fieldname": "is_opening", - "fieldtype": "Select", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Is Opening", - "no_copy": 0, - "oldfieldname": "is_opening", - "oldfieldtype": "Select", - "options": "No\nYes", - "permlevel": 0, - "print_hide": 1, + "print_hide": 0, "read_only": 0, "report_hide": 0, "reqd": 0, @@ -1593,6 +1678,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "fieldname": "select_print_heading", "fieldtype": "Link", "hidden": 0, @@ -1615,6 +1702,82 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "fieldname": "more_info", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "More Details", + "no_copy": 0, + "oldfieldtype": "Section Break", + "options": "icon-file-text", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "description": "", + "fieldname": "credit_to", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "Credit To", + "no_copy": 0, + "oldfieldname": "credit_to", + "oldfieldtype": "Link", + "options": "Account", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 1, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "default": "No", + "description": "", + "fieldname": "is_opening", + "fieldtype": "Select", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "Is Opening", + "no_copy": 0, + "oldfieldname": "is_opening", + "oldfieldtype": "Select", + "options": "No\nYes", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "due_date", "fieldtype": "Date", "hidden": 0, @@ -1636,6 +1799,28 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "column_break_63", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "mode_of_payment", "fieldtype": "Link", "hidden": 0, @@ -1658,24 +1843,8 @@ }, { "allow_on_submit": 0, - "fieldname": "column_break_63", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "fiscal_year", "fieldtype": "Link", "hidden": 0, @@ -1698,6 +1867,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "remarks", "fieldtype": "Small Text", "hidden": 0, @@ -1719,6 +1890,9 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "is_recurring", "depends_on": "eval:doc.docstatus<2", "fieldname": "recurring_invoice", "fieldtype": "Section Break", @@ -1738,29 +1912,12 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_on_submit": 0, - "fieldname": "column_break_77", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0, - "width": "50%" - }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.docstatus<2", - "description": "Check if recurring invoice, uncheck to stop recurring or put proper End Date", + "description": "", "fieldname": "is_recurring", "fieldtype": "Check", "hidden": 0, @@ -1780,6 +1937,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Select the period when the invoice will be generated automatically", "fieldname": "recurring_type", @@ -1802,6 +1961,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Start date of current invoice's period", "fieldname": "from_date", @@ -1823,6 +1984,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "End date of current invoice's period", "fieldname": "to_date", @@ -1844,6 +2007,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The day of the month on which auto invoice will be generated e.g. 05, 28 etc", "fieldname": "repeat_on_day_of_month", @@ -1865,6 +2030,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The date on which recurring invoice will be stop", "fieldname": "end_date", @@ -1886,6 +2053,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_82", "fieldtype": "Column Break", "hidden": 0, @@ -1905,6 +2074,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The date on which next invoice will be generated. It is generated on submit.", "fieldname": "next_date", @@ -1926,6 +2097,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The unique id for tracking all recurring invoices. It is generated on submit.", "fieldname": "recurring_id", @@ -1947,6 +2120,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Enter email id separated by commas, invoice will be mailed automatically on particular date", "fieldname": "notification_email_address", @@ -1968,6 +2143,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "fieldname": "recurring_print_format", "fieldtype": "Link", @@ -1998,7 +2175,7 @@ "is_submittable": 1, "issingle": 0, "istable": 0, - "modified": "2015-08-26 16:42:54.655847", + "modified": "2015-08-26 12:33:12.303959", "modified_by": "Administrator", "module": "Accounts", "name": "Purchase Invoice", @@ -2130,5 +2307,5 @@ "search_fields": "posting_date, supplier, fiscal_year, bill_no, base_grand_total, outstanding_amount", "sort_field": "modified", "sort_order": "DESC", - "title_field": "supplier_name" + "title_field": "title" } \ No newline at end of file diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index c89a46bc50..e253f8dc20 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -8,10 +8,12 @@ "default_print_format": "Standard", "docstatus": 0, "doctype": "DocType", - "document_type": "Document", + "document_type": "", "fields": [ { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "customer_section", "fieldtype": "Section Break", "hidden": 0, @@ -30,8 +32,33 @@ "set_only_once": 0, "unique": 0 }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "default": "{customer_name}", + "fieldname": "title", + "fieldtype": "Data", + "hidden": 1, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Title", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, { "allow_on_submit": 0, + "bold": 1, + "collapsible": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -54,6 +81,8 @@ }, { "allow_on_submit": 0, + "bold": 1, + "collapsible": 0, "fieldname": "customer", "fieldtype": "Link", "hidden": 0, @@ -76,6 +105,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "customer", "fieldname": "customer_name", "fieldtype": "Data", @@ -98,6 +129,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "address_display", "fieldtype": "Small Text", "hidden": 1, @@ -117,6 +150,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_display", "fieldtype": "Small Text", "hidden": 1, @@ -136,6 +171,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_mobile", "fieldtype": "Small Text", "hidden": 1, @@ -155,6 +192,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_email", "fieldtype": "Small Text", "hidden": 1, @@ -174,19 +213,20 @@ }, { "allow_on_submit": 0, - "fieldname": "mode_of_payment", - "fieldtype": "Link", + "bold": 0, + "collapsible": 0, + "fieldname": "is_pos", + "fieldtype": "Check", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Mode of Payment", + "label": "Is POS", "no_copy": 0, - "oldfieldname": "mode_of_payment", - "oldfieldtype": "Select", - "options": "Mode of Payment", + "oldfieldname": "is_pos", + "oldfieldtype": "Check", "permlevel": 0, - "print_hide": 0, + "print_hide": 1, "read_only": 0, "report_hide": 0, "reqd": 0, @@ -196,6 +236,31 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "depends_on": "is_return", + "fieldname": "is_return", + "fieldtype": "Check", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Is Return", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 1, + "read_only": 1, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -215,50 +280,8 @@ }, { "allow_on_submit": 0, - "fieldname": "company", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Company", - "no_copy": 0, - "oldfieldname": "company", - "oldfieldtype": "Link", - "options": "Company", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "amended_from", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Amended From", - "no_copy": 1, - "oldfieldname": "amended_from", - "oldfieldtype": "Link", - "options": "Sales Invoice", - "permlevel": 0, - "print_hide": 1, - "read_only": 1, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 1, + "collapsible": 0, "default": "Today", "fieldname": "posting_date", "fieldtype": "Date", @@ -281,6 +304,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "due_date", "fieldtype": "Date", "hidden": 0, @@ -302,37 +327,44 @@ }, { "allow_on_submit": 0, - "fieldname": "is_pos", - "fieldtype": "Check", + "bold": 0, + "collapsible": 0, + "fieldname": "company", + "fieldtype": "Link", "hidden": 0, "ignore_user_permissions": 0, - "in_filter": 0, + "in_filter": 1, "in_list_view": 0, - "label": "Is POS", + "label": "Company", "no_copy": 0, - "oldfieldname": "is_pos", - "oldfieldtype": "Check", + "oldfieldname": "company", + "oldfieldtype": "Link", + "options": "Company", "permlevel": 0, "print_hide": 1, "read_only": 0, "report_hide": 0, - "reqd": 0, + "reqd": 1, "search_index": 0, "set_only_once": 0, "unique": 0 }, { "allow_on_submit": 0, - "fieldname": "is_return", - "fieldtype": "Check", + "bold": 0, + "collapsible": 0, + "fieldname": "amended_from", + "fieldtype": "Link", "hidden": 0, - "ignore_user_permissions": 0, + "ignore_user_permissions": 1, "in_filter": 0, "in_list_view": 0, - "label": "Is Return", - "no_copy": 0, + "label": "Amended From", + "no_copy": 1, + "oldfieldname": "amended_from", + "oldfieldtype": "Link", + "options": "Sales Invoice", "permlevel": 0, - "precision": "", "print_hide": 1, "read_only": 1, "report_hide": 0, @@ -343,6 +375,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "is_return", "fieldname": "return_against", "fieldtype": "Link", @@ -365,6 +399,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "shipping_address_name", "fieldtype": "Link", "hidden": 1, @@ -386,6 +422,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "shipping_address", "fieldtype": "Small Text", "hidden": 1, @@ -406,15 +444,17 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "fieldname": "currency_and_price_list", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Currency and Price List", "no_copy": 0, - "options": "icon-tag", + "options": "", "permlevel": 0, "print_hide": 0, "read_only": 0, @@ -426,6 +466,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "currency", "fieldtype": "Link", "hidden": 0, @@ -448,6 +490,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "Rate at which Customer Currency is converted to customer's base currency", "fieldname": "conversion_rate", "fieldtype": "Float", @@ -471,6 +515,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break2", "fieldtype": "Column Break", "hidden": 0, @@ -490,6 +536,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "selling_price_list", "fieldtype": "Link", "hidden": 0, @@ -512,6 +560,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "price_list_currency", "fieldtype": "Link", "hidden": 0, @@ -532,6 +582,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "Rate at which Price list currency is converted to customer's base currency", "fieldname": "plc_conversion_rate", "fieldtype": "Float", @@ -553,6 +605,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "ignore_pricing_rule", "fieldtype": "Check", "hidden": 0, @@ -572,6 +626,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "items_section", "fieldtype": "Section Break", "hidden": 0, @@ -593,6 +649,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "update_stock", "fieldtype": "Check", "hidden": 0, @@ -614,6 +672,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "fieldname": "items", "fieldtype": "Table", "hidden": 0, @@ -636,6 +696,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "packing_list", "fieldtype": "Section Break", "hidden": 0, @@ -656,6 +718,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "packed_items", "fieldtype": "Table", "hidden": 0, @@ -676,6 +740,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "product_bundle_help", "fieldtype": "HTML", "hidden": 0, @@ -695,6 +761,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break_30", "fieldtype": "Section Break", "hidden": 0, @@ -713,6 +781,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_total", "fieldtype": "Currency", "hidden": 0, @@ -734,6 +804,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_net_total", "fieldtype": "Currency", "hidden": 0, @@ -756,6 +828,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_32", "fieldtype": "Column Break", "hidden": 0, @@ -774,6 +848,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total", "fieldtype": "Currency", "hidden": 0, @@ -795,6 +871,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "net_total", "fieldtype": "Currency", "hidden": 0, @@ -815,13 +893,15 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_section", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Taxes and Charges", + "label": "", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-money", @@ -836,6 +916,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "taxes_and_charges", "fieldtype": "Link", "hidden": 0, @@ -858,6 +940,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_38", "fieldtype": "Column Break", "hidden": 0, @@ -876,6 +960,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "shipping_rule", "fieldtype": "Link", "hidden": 0, @@ -897,6 +983,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break_40", "fieldtype": "Section Break", "hidden": 0, @@ -915,6 +1003,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "fieldname": "taxes", "fieldtype": "Table", "hidden": 0, @@ -937,6 +1027,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "other_charges_calculation", "fieldtype": "HTML", "hidden": 0, @@ -957,6 +1049,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "section_break_43", "fieldtype": "Section Break", "hidden": 0, @@ -975,6 +1069,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_total_taxes_and_charges", "fieldtype": "Currency", "hidden": 0, @@ -997,6 +1093,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_47", "fieldtype": "Column Break", "hidden": 0, @@ -1016,6 +1114,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_taxes_and_charges", "fieldtype": "Currency", "hidden": 0, @@ -1036,12 +1136,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "discount_amount", "fieldname": "section_break_49", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, + "label": "Discount", "no_copy": 0, "permlevel": 0, "precision": "", @@ -1055,6 +1159,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "Grand Total", "fieldname": "apply_discount_on", "fieldtype": "Select", @@ -1077,6 +1183,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break_51", "fieldtype": "Column Break", "hidden": 0, @@ -1095,6 +1203,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "discount_amount", "fieldtype": "Currency", "hidden": 0, @@ -1115,6 +1225,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_discount_amount", "fieldtype": "Currency", "hidden": 0, @@ -1136,6 +1248,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "totals", "fieldtype": "Section Break", "hidden": 0, @@ -1157,6 +1271,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_grand_total", "fieldtype": "Currency", "hidden": 0, @@ -1179,6 +1295,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "base_rounded_total", "fieldtype": "Currency", "hidden": 0, @@ -1201,6 +1319,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "In Words will be visible once you save the Sales Invoice.", "fieldname": "base_in_words", "fieldtype": "Data", @@ -1223,6 +1343,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break5", "fieldtype": "Column Break", "hidden": 0, @@ -1243,6 +1365,8 @@ }, { "allow_on_submit": 0, + "bold": 1, + "collapsible": 0, "fieldname": "grand_total", "fieldtype": "Currency", "hidden": 0, @@ -1265,6 +1389,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "rounded_total", "fieldtype": "Currency", "hidden": 0, @@ -1287,6 +1413,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "in_words", "fieldtype": "Data", "hidden": 0, @@ -1308,6 +1436,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_advance", "fieldtype": "Currency", "hidden": 0, @@ -1318,7 +1448,7 @@ "no_copy": 0, "oldfieldname": "total_advance", "oldfieldtype": "Currency", - "options": "party_account_currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 1, @@ -1330,6 +1460,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "outstanding_amount", "fieldtype": "Currency", "hidden": 0, @@ -1340,7 +1472,7 @@ "no_copy": 1, "oldfieldname": "outstanding_amount", "oldfieldtype": "Currency", - "options": "party_account_currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 1, @@ -1352,13 +1484,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "advances", "fieldname": "advances_section", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Advances", + "label": "Advance Payments", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-money", @@ -1373,6 +1508,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "get_advances_received", "fieldtype": "Button", "hidden": 0, @@ -1394,6 +1531,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "advances", "fieldtype": "Table", "hidden": 0, @@ -1416,6 +1555,9 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "paid_amount", "depends_on": "eval:doc.is_pos===1||(doc.advances && doc.advances.length>0)", "fieldname": "payments_section", "fieldtype": "Section Break", @@ -1437,58 +1579,19 @@ }, { "allow_on_submit": 0, - "depends_on": "is_pos", - "fieldname": "paid_amount", - "fieldtype": "Currency", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Paid Amount", - "no_copy": 1, - "oldfieldname": "paid_amount", - "oldfieldtype": "Currency", - "options": "currency", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "base_paid_amount", - "fieldtype": "Currency", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Paid Amount (Company Currency)", - "no_copy": 1, - "options": "Company:company:default_currency", - "permlevel": 0, - "precision": "", - "print_hide": 1, - "read_only": 1, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "depends_on": "is_pos", - "fieldname": "column_break3", - "fieldtype": "Column Break", + "bold": 0, + "collapsible": 0, + "fieldname": "mode_of_payment", + "fieldtype": "Link", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, + "label": "Mode of Payment", "no_copy": 0, + "oldfieldname": "mode_of_payment", + "oldfieldtype": "Select", + "options": "Mode of Payment", "permlevel": 0, "print_hide": 0, "read_only": 0, @@ -1496,11 +1599,12 @@ "reqd": 0, "search_index": 0, "set_only_once": 0, - "unique": 0, - "width": "50%" + "unique": 0 }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "is_pos", "fieldname": "cash_bank_account", "fieldtype": "Link", @@ -1524,14 +1628,15 @@ }, { "allow_on_submit": 0, - "depends_on": "grand_total", - "fieldname": "column_break4", - "fieldtype": "Section Break", + "bold": 0, + "collapsible": 0, + "depends_on": "is_pos", + "fieldname": "column_break3", + "fieldtype": "Column Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", "no_copy": 0, "permlevel": 0, "print_hide": 0, @@ -1545,16 +1650,20 @@ }, { "allow_on_submit": 0, - "depends_on": "", - "fieldname": "write_off_amount", + "bold": 0, + "collapsible": 0, + "depends_on": "is_pos", + "fieldname": "paid_amount", "fieldtype": "Currency", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Write Off Amount", + "label": "Paid Amount", "no_copy": 1, - "options": "currency", + "oldfieldname": "paid_amount", + "oldfieldtype": "Currency", + "options": "Company:company:default_currency", "permlevel": 0, "print_hide": 1, "read_only": 0, @@ -1566,19 +1675,45 @@ }, { "allow_on_submit": 0, - "fieldname": "base_write_off_amount", + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "write_off_amount", + "depends_on": "grand_total", + "fieldname": "column_break4", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Write Off", + "no_copy": 0, + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0, + "width": "50%" + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "depends_on": "", + "fieldname": "write_off_amount", "fieldtype": "Currency", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Write Off Amount (Company Currency)", + "label": "Write Off Amount", "no_copy": 1, "options": "Company:company:default_currency", "permlevel": 0, - "precision": "", "print_hide": 1, - "read_only": 1, + "read_only": 0, "report_hide": 0, "reqd": 0, "search_index": 0, @@ -1587,7 +1722,9 @@ }, { "allow_on_submit": 0, - "depends_on": "eval:doc.is_pos===1||(doc.advances && doc.advances.length>0)", + "bold": 0, + "collapsible": 0, + "depends_on": "is_pos", "fieldname": "write_off_outstanding_amount_automatically", "fieldtype": "Check", "hidden": 0, @@ -1607,6 +1744,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "", "fieldname": "column_break_74", "fieldtype": "Column Break", @@ -1627,6 +1766,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "", "fieldname": "write_off_account", "fieldtype": "Link", @@ -1648,6 +1789,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "", "fieldname": "write_off_cost_center", "fieldtype": "Link", @@ -1669,34 +1812,19 @@ }, { "allow_on_submit": 0, - "fieldname": "fold", - "fieldtype": "Fold", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "terms", "fieldname": "terms_section_break", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Terms", "no_copy": 0, "oldfieldtype": "Section Break", - "options": "icon-legal", + "options": "", "permlevel": 0, "print_hide": 0, "read_only": 0, @@ -1708,6 +1836,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "tc_name", "fieldtype": "Link", "hidden": 0, @@ -1730,6 +1860,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "terms", "fieldtype": "Text Editor", "hidden": 0, @@ -1751,6 +1883,99 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "fieldname": "edit_printing_settings", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Printing Settings", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "fieldname": "letter_head", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Letter Head", + "no_copy": 0, + "oldfieldname": "letter_head", + "oldfieldtype": "Select", + "options": "Letter Head", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "column_break_84", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, + "fieldname": "select_print_heading", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Print Heading", + "no_copy": 1, + "oldfieldname": "select_print_heading", + "oldfieldtype": "Link", + "options": "Print Heading", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 1, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, "depends_on": "customer", "fieldname": "contact_section", "fieldtype": "Section Break", @@ -1758,7 +1983,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Properties", "no_copy": 0, "options": "icon-bullhorn", "permlevel": 0, @@ -1772,172 +1997,8 @@ }, { "allow_on_submit": 0, - "description": "", - "fieldname": "territory", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Territory", - "no_copy": 0, - "options": "Territory", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "description": "", - "fieldname": "customer_group", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Customer Group", - "no_copy": 0, - "options": "Customer Group", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "col_break23", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0, - "width": "50%" - }, - { - "allow_on_submit": 0, - "fieldname": "customer_address", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Customer Address", - "no_copy": 0, - "options": "Address", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "contact_person", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Contact Person", - "no_copy": 0, - "options": "Contact", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "more_info", - "fieldtype": "Section Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "", - "no_copy": 0, - "oldfieldtype": "Section Break", - "options": "icon-file-text", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "description": "Customer (Receivable) Account", - "fieldname": "debit_to", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "Debit To", - "no_copy": 0, - "oldfieldname": "debit_to", - "oldfieldtype": "Link", - "options": "Account", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 1, - "search_index": 1, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "party_account_currency", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Party Account Currency", - "no_copy": 0, - "options": "Currency", - "permlevel": 0, - "precision": "", - "print_hide": 1, - "read_only": 1, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "project_name", "fieldtype": "Link", "hidden": 0, @@ -1960,6 +2021,119 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "description": "", + "fieldname": "territory", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "Territory", + "no_copy": 0, + "options": "Territory", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "description": "", + "fieldname": "customer_group", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "Customer Group", + "no_copy": 0, + "options": "Customer Group", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "col_break23", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0, + "width": "50%" + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "customer_address", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Customer Address", + "no_copy": 0, + "options": "Address", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "contact_person", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Contact Person", + "no_copy": 0, + "options": "Contact", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.source == 'Campaign'", "fieldname": "campaign", "fieldtype": "Link", @@ -1983,6 +2157,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "source", "fieldtype": "Select", "hidden": 0, @@ -2005,8 +2181,58 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "fieldname": "more_info", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Accounting Details", + "no_copy": 0, + "oldfieldtype": "Section Break", + "options": "icon-file-text", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "description": "", + "fieldname": "debit_to", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "Debit To", + "no_copy": 0, + "oldfieldname": "debit_to", + "oldfieldtype": "Link", + "options": "Account", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 0, + "reqd": 1, + "search_index": 1, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "default": "No", - "description": "Considered as an Opening Balance", + "description": "", "fieldname": "is_opening", "fieldtype": "Select", "hidden": 0, @@ -2029,6 +2255,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "c_form_applicable", "fieldtype": "Select", "hidden": 0, @@ -2049,6 +2277,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "c_form_no", "fieldtype": "Link", "hidden": 0, @@ -2069,6 +2299,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break8", "fieldtype": "Column Break", "hidden": 0, @@ -2086,52 +2318,10 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_on_submit": 1, - "fieldname": "letter_head", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Letter Head", - "no_copy": 0, - "oldfieldname": "letter_head", - "oldfieldtype": "Select", - "options": "Letter Head", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 1, - "fieldname": "select_print_heading", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Print Heading", - "no_copy": 1, - "oldfieldname": "select_print_heading", - "oldfieldtype": "Link", - "options": "Print Heading", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 1, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "posting_time", "fieldtype": "Time", "hidden": 0, @@ -2153,6 +2343,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "fiscal_year", "fieldtype": "Link", "hidden": 0, @@ -2175,6 +2367,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "remarks", "fieldtype": "Small Text", "hidden": 0, @@ -2196,13 +2390,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "sales_partner", "fieldname": "sales_team_section_break", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Commission", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-group", @@ -2217,26 +2414,8 @@ }, { "allow_on_submit": 0, - "fieldname": "column_break9", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "oldfieldtype": "Column Break", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0, - "width": "50%" - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "sales_partner", "fieldtype": "Link", "hidden": 0, @@ -2259,6 +2438,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break10", "fieldtype": "Column Break", "hidden": 0, @@ -2279,6 +2460,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "commission_rate", "fieldtype": "Float", "hidden": 0, @@ -2300,6 +2483,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "total_commission", "fieldtype": "Currency", "hidden": 0, @@ -2322,12 +2507,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "sales_team", "fieldname": "section_break2", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, + "label": "Sales Team", "no_copy": 0, "permlevel": 0, "print_hide": 1, @@ -2340,6 +2529,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "sales_team", "fieldtype": "Table", "hidden": 0, @@ -2362,6 +2553,9 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "is_recurring", "depends_on": "eval:doc.docstatus<2", "fieldname": "recurring_invoice", "fieldtype": "Section Break", @@ -2369,7 +2563,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Recurring Invoice", + "label": "Recurring", "no_copy": 0, "options": "icon-time", "permlevel": 0, @@ -2383,6 +2577,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break11", "fieldtype": "Column Break", "hidden": 0, @@ -2402,6 +2598,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.docstatus<2", "description": "Check if recurring invoice, uncheck to stop recurring or put proper End Date", "fieldname": "is_recurring", @@ -2423,6 +2621,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Select the period when the invoice will be generated automatically", "fieldname": "recurring_type", @@ -2445,6 +2645,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Start date of current invoice's period", "fieldname": "from_date", @@ -2466,6 +2668,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "End date of current invoice's period", "fieldname": "to_date", @@ -2487,6 +2691,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The day of the month on which auto invoice will be generated e.g. 05, 28 etc ", "fieldname": "repeat_on_day_of_month", @@ -2508,6 +2714,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The date on which recurring invoice will be stop", "fieldname": "end_date", @@ -2529,6 +2737,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break12", "fieldtype": "Column Break", "hidden": 0, @@ -2548,6 +2758,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The date on which next invoice will be generated. It is generated on submit.\n", "fieldname": "next_date", @@ -2569,6 +2781,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "The unique id for tracking all recurring invoices.\u00a0It is generated on submit.", "fieldname": "recurring_id", @@ -2590,6 +2804,8 @@ }, { "allow_on_submit": 1, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "description": "Enter email id separated by commas, invoice will be mailed automatically on particular date", "fieldname": "notification_email_address", @@ -2611,6 +2827,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.is_recurring==1", "fieldname": "recurring_print_format", "fieldtype": "Link", @@ -2633,6 +2851,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "against_income_account", "fieldtype": "Small Text", "hidden": 1, @@ -2662,8 +2882,8 @@ "is_submittable": 1, "issingle": 0, "istable": 0, - "modified": "2015-08-25 18:07:27.927856", - "modified_by": "nabin@erpnext.com", + "modified": "2015-08-27 01:33:40.206780", + "modified_by": "Administrator", "module": "Accounts", "name": "Sales Invoice", "owner": "Administrator", @@ -2754,5 +2974,5 @@ "search_fields": "posting_date, due_date, customer, fiscal_year, base_grand_total, outstanding_amount", "sort_field": "modified", "sort_order": "DESC", - "title_field": "customer_name" + "title_field": "title" } \ No newline at end of file diff --git a/erpnext/buying/doctype/supplier/supplier.json b/erpnext/buying/doctype/supplier/supplier.json index 4501a30306..7f3bf89a8d 100644 --- a/erpnext/buying/doctype/supplier/supplier.json +++ b/erpnext/buying/doctype/supplier/supplier.json @@ -12,6 +12,8 @@ "fields": [ { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "basic_info", "fieldtype": "Section Break", "hidden": 0, @@ -33,6 +35,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -55,6 +59,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "supplier_name", "fieldtype": "Data", "hidden": 0, @@ -76,6 +82,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break0", "fieldtype": "Column Break", "hidden": 0, @@ -95,6 +103,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "supplier_type", "fieldtype": "Link", "hidden": 0, @@ -117,6 +127,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "is_frozen", "fieldtype": "Check", "hidden": 0, @@ -137,6 +149,137 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "section_break_7", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_currency", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Default Currency", + "no_copy": 1, + "options": "Currency", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_price_list", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Price List", + "no_copy": 0, + "options": "Price List", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "column_break_10", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_taxes_and_charges", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Taxes and Charges", + "no_copy": 0, + "options": "Purchase Taxes and Charges Template", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "credit_days", + "fieldtype": "Int", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Credit Days", + "no_copy": 0, + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:!doc.__islocal", "fieldname": "address_contacts", "fieldtype": "Section Break", @@ -144,7 +287,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "Address & Contacts", + "label": "Address and Contacts", "no_copy": 0, "oldfieldtype": "Column Break", "options": "icon-map-marker", @@ -159,6 +302,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "address_html", "fieldtype": "HTML", "hidden": 0, @@ -178,6 +323,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -197,6 +344,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_html", "fieldtype": "HTML", "hidden": 0, @@ -216,6 +365,9 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "accounts", "fieldname": "default_payable_accounts", "fieldtype": "Section Break", "hidden": 0, @@ -235,7 +387,9 @@ }, { "allow_on_submit": 0, - "depends_on": "", + "bold": 0, + "collapsible": 0, + "depends_on": "eval:!doc.__islocal", "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", @@ -257,112 +411,16 @@ }, { "allow_on_submit": 0, - "fieldname": "more_info", + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "supplier_details", + "fieldname": "column_break2", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "More Info", - "no_copy": 0, - "oldfieldtype": "Section Break", - "options": "icon-file-text", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "default_currency", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Default Currency", - "no_copy": 1, - "options": "Currency", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "default_price_list", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Price List", - "no_copy": 0, - "options": "Price List", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "default_taxes_and_charges", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Taxes and Charges", - "no_copy": 0, - "options": "Purchase Taxes and Charges Template", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "credit_days", - "fieldtype": "Int", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Credit Days", - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "column_break2", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, + "label": "Supplier Details", "no_copy": 0, "permlevel": 0, "print_hide": 0, @@ -376,6 +434,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "website", "fieldtype": "Data", "hidden": 0, @@ -397,6 +457,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "Statutory info and other general information about your Supplier", "fieldname": "supplier_details", "fieldtype": "Text", @@ -419,6 +481,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "communications", "fieldtype": "Table", "hidden": 1, @@ -447,7 +511,7 @@ "is_submittable": 0, "issingle": 0, "istable": 0, - "modified": "2015-08-19 16:50:48.078108", + "modified": "2015-08-25 07:14:56.245716", "modified_by": "Administrator", "module": "Buying", "name": "Supplier", diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index a1bbeeb551..3167a83579 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -8,10 +8,12 @@ "description": "Buyer of Goods and Services.", "docstatus": 0, "doctype": "DocType", - "document_type": "", + "document_type": "Setup", "fields": [ { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "basic_info", "fieldtype": "Section Break", "hidden": 0, @@ -33,6 +35,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -53,6 +57,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "customer_name", "fieldtype": "Data", "hidden": 0, @@ -74,6 +80,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "customer_type", "fieldtype": "Select", "hidden": 0, @@ -96,6 +104,32 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "lead_name", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 1, + "in_list_view": 0, + "label": "From Lead", + "no_copy": 1, + "oldfieldname": "lead_name", + "oldfieldtype": "Link", + "options": "Lead", + "permlevel": 0, + "print_hide": 1, + "read_only": 0, + "report_hide": 1, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break0", "fieldtype": "Column Break", "hidden": 0, @@ -115,26 +149,8 @@ }, { "allow_on_submit": 0, - "fieldname": "default_currency", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Currency", - "no_copy": 1, - "options": "Currency", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "", "fieldname": "customer_group", "fieldtype": "Link", @@ -158,6 +174,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "description": "", "fieldname": "territory", "fieldtype": "Link", @@ -181,6 +199,30 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "tax_id", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Tax ID", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "is_frozen", "fieldtype": "Check", "hidden": 0, @@ -201,6 +243,117 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "currency_and_price_list", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "", + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_currency", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Currency", + "no_copy": 1, + "options": "Currency", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_price_list", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Default Price List", + "no_copy": 0, + "options": "Price List", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "column_break_14", + "fieldtype": "Column Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "no_copy": 0, + "permlevel": 0, + "precision": "", + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "default_taxes_and_charges", + "fieldtype": "Link", + "hidden": 0, + "ignore_user_permissions": 1, + "in_filter": 0, + "in_list_view": 0, + "label": "Default Taxes and Charges", + "no_copy": 0, + "options": "Sales Taxes and Charges Template", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:!doc.__islocal", "fieldname": "address_contacts", "fieldtype": "Section Break", @@ -208,7 +361,7 @@ "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Address and Contact", "no_copy": 0, "options": "icon-map-marker", "permlevel": 0, @@ -222,6 +375,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "address_html", "fieldtype": "HTML", "hidden": 0, @@ -241,6 +396,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -260,6 +417,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "contact_html", "fieldtype": "HTML", "hidden": 0, @@ -280,13 +439,16 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "accounts", "fieldname": "default_receivable_accounts", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Default Receivable Accounts", "no_copy": 0, "permlevel": 0, "print_hide": 0, @@ -299,7 +461,9 @@ }, { "allow_on_submit": 0, - "depends_on": "", + "bold": 0, + "collapsible": 0, + "depends_on": "eval:!doc.__islocal", "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", @@ -321,116 +485,16 @@ }, { "allow_on_submit": 0, - "fieldname": "more_info", + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "eval:doc.credit_days || doc.credit_limit", + "fieldname": "column_break2", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", - "no_copy": 0, - "oldfieldtype": "Section Break", - "options": "icon-file-text", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "description": "", - "fieldname": "customer_details", - "fieldtype": "Text", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Customer Details", - "no_copy": 0, - "oldfieldname": "customer_details", - "oldfieldtype": "Code", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "website", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Website", - "no_copy": 0, - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "tax_id", - "fieldtype": "Data", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "label": "Tax ID", - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "lead_name", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 1, - "in_list_view": 0, - "label": "From Lead", - "no_copy": 1, - "oldfieldname": "lead_name", - "oldfieldtype": "Link", - "options": "Lead", - "permlevel": 0, - "print_hide": 1, - "read_only": 0, - "report_hide": 1, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "column_break3", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, + "label": "Credit Limit", "no_copy": 0, "permlevel": 0, "print_hide": 0, @@ -444,65 +508,8 @@ }, { "allow_on_submit": 0, - "fieldname": "default_price_list", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Price List", - "no_copy": 0, - "options": "Price List", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "default_taxes_and_charges", - "fieldtype": "Link", - "hidden": 0, - "ignore_user_permissions": 1, - "in_filter": 0, - "in_list_view": 0, - "label": "Taxes and Charges", - "no_copy": 0, - "options": "Sales Taxes and Charges Template", - "permlevel": 0, - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, - "fieldname": "section_break_24", - "fieldtype": "Section Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "credit_days_based_on", "fieldtype": "Select", "hidden": 0, @@ -524,6 +531,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "depends_on": "eval:doc.credit_days_based_on=='Fixed Days'", "fieldname": "credit_days", "fieldtype": "Int", @@ -546,25 +555,8 @@ }, { "allow_on_submit": 0, - "fieldname": "column_break_27", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "credit_limit", "fieldtype": "Currency", "hidden": 0, @@ -587,13 +579,85 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "customer_details", + "fieldname": "more_info", + "fieldtype": "Section Break", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Customer Details", + "no_copy": 0, + "oldfieldtype": "Section Break", + "options": "icon-file-text", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "description": "Additional information regarding the customer.", + "fieldname": "customer_details", + "fieldtype": "Text", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Customer Details", + "no_copy": 0, + "oldfieldname": "customer_details", + "oldfieldtype": "Code", + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, + "fieldname": "website", + "fieldtype": "Data", + "hidden": 0, + "ignore_user_permissions": 0, + "in_filter": 0, + "in_list_view": 0, + "label": "Website", + "no_copy": 0, + "permlevel": 0, + "print_hide": 0, + "read_only": 0, + "report_hide": 0, + "reqd": 0, + "search_index": 0, + "set_only_once": 0, + "unique": 0 + }, + { + "allow_on_submit": 0, + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "default_sales_partner", "fieldname": "sales_team_section_break", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, - "label": "", + "label": "Sales Partner and Commission", "no_copy": 0, "oldfieldtype": "Section Break", "options": "icon-group", @@ -608,6 +672,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "default_sales_partner", "fieldtype": "Link", "hidden": 0, @@ -630,25 +696,8 @@ }, { "allow_on_submit": 0, - "fieldname": "column_break_32", - "fieldtype": "Column Break", - "hidden": 0, - "ignore_user_permissions": 0, - "in_filter": 0, - "in_list_view": 0, - "no_copy": 0, - "permlevel": 0, - "precision": "", - "print_hide": 0, - "read_only": 0, - "report_hide": 0, - "reqd": 0, - "search_index": 0, - "set_only_once": 0, - "unique": 0 - }, - { - "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "default_commission_rate", "fieldtype": "Float", "hidden": 0, @@ -670,12 +719,16 @@ }, { "allow_on_submit": 0, - "fieldname": "section_break_34", + "bold": 0, + "collapsible": 1, + "collapsible_depends_on": "sales_team", + "fieldname": "sales_team_section", "fieldtype": "Section Break", "hidden": 0, "ignore_user_permissions": 0, "in_filter": 0, "in_list_view": 0, + "label": "Sales Team", "no_copy": 0, "permlevel": 0, "precision": "", @@ -689,6 +742,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "sales_team", "fieldtype": "Table", "hidden": 0, @@ -711,6 +766,8 @@ }, { "allow_on_submit": 0, + "bold": 0, + "collapsible": 0, "fieldname": "communications", "fieldtype": "Table", "hidden": 1, @@ -739,7 +796,7 @@ "is_submittable": 0, "issingle": 0, "istable": 0, - "modified": "2015-08-19 16:01:33.347348", + "modified": "2015-08-25 07:09:26.411627", "modified_by": "Administrator", "module": "Selling", "name": "Customer", @@ -907,7 +964,7 @@ }, { "amend": 0, - "apply_user_permissions": 0, + "apply_user_permissions": 1, "cancel": 0, "create": 0, "delete": 0,