From 9bcb959f8147719777fada286da7053a144ba09d Mon Sep 17 00:00:00 2001 From: Shreya Date: Fri, 6 Jul 2018 18:17:02 +0530 Subject: [PATCH] Print hide loyalty program related fields --- .../doctype/sales_invoice/sales_invoice.json | 47 ++++++++++--------- .../doctype/sales_order/sales_order.json | 12 +++-- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index 7dd7fb64f2..55921c3ada 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -2510,7 +2510,7 @@ "no_copy": 0, "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 0, "remember_last_selected_value": 0, @@ -2542,7 +2542,7 @@ "no_copy": 0, "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 1, "remember_last_selected_value": 0, @@ -2606,7 +2606,7 @@ "options": "Loyalty Program", "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 1, "remember_last_selected_value": 0, @@ -5363,25 +5363,25 @@ "translatable": 0, "unique": 0 } - ], - "has_web_view": 0, - "hide_heading": 0, - "hide_toolbar": 0, - "icon": "fa fa-file-text", - "idx": 181, - "image_view": 0, - "in_create": 0, - "is_submittable": 1, - "issingle": 0, - "istable": 0, - "max_attachments": 0, - "menu_index": 0, - "modified": "2018-07-06 12:09:02.039783", - "modified_by": "Administrator", - "module": "Accounts", - "name": "Sales Invoice", - "name_case": "Title Case", - "owner": "Administrator", + ], + "has_web_view": 0, + "hide_heading": 0, + "hide_toolbar": 0, + "icon": "fa fa-file-text", + "idx": 181, + "image_view": 0, + "in_create": 0, + "is_submittable": 1, + "issingle": 0, + "istable": 0, + "max_attachments": 0, + "menu_index": 0, + "modified": "2018-07-06 18:15:09.600814", + "modified_by": "Administrator", + "module": "Accounts", + "name": "Sales Invoice", + "name_case": "Title Case", + "owner": "Administrator", "permissions": [ { "amend": 1, @@ -5470,5 +5470,6 @@ "timeline_field": "customer", "title_field": "title", "track_changes": 1, - "track_seen": 1 + "track_seen": 1, + "track_views": 0 } \ No newline at end of file diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index c0969d0564..2669dd9f21 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -1912,6 +1912,7 @@ }, { "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, "allow_on_submit": 0, "bold": 0, "collapsible": 0, @@ -1930,7 +1931,7 @@ "no_copy": 0, "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 0, "remember_last_selected_value": 0, @@ -1943,6 +1944,7 @@ }, { "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, "allow_on_submit": 0, "bold": 0, "collapsible": 0, @@ -1974,6 +1976,7 @@ }, { "allow_bulk_edit": 0, + "allow_in_quick_entry": 0, "allow_on_submit": 0, "bold": 0, "collapsible": 0, @@ -1992,7 +1995,7 @@ "no_copy": 0, "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "print_hide_if_no_value": 0, "read_only": 1, "remember_last_selected_value": 0, @@ -3914,7 +3917,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-07-06 15:56:12.483019", + "modified": "2018-07-06 18:16:01.516600", "modified_by": "Administrator", "module": "Selling", "name": "Sales Order", @@ -4045,5 +4048,6 @@ "timeline_field": "customer", "title_field": "title", "track_changes": 1, - "track_seen": 1 + "track_seen": 1, + "track_views": 0 } \ No newline at end of file