From a7c013c0301751fb7a81463ddd148ba2de8a4ec4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 24 Aug 2015 18:43:09 +0530 Subject: [PATCH] [fix] Print Delivery Note without amount --- erpnext/stock/doctype/delivery_note/delivery_note.json | 6 +++--- erpnext/stock/doctype/delivery_note/delivery_note.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json index 7afac6de96..15d5c3e27e 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.json +++ b/erpnext/stock/doctype/delivery_note/delivery_note.json @@ -7,7 +7,7 @@ "custom": 0, "docstatus": 0, "doctype": "DocType", - "document_type": "Transaction", + "document_type": "Document", "fields": [ { "allow_on_submit": 0, @@ -1080,7 +1080,7 @@ "options": "\nGrand Total\nNet Total", "permlevel": 0, "precision": "", - "print_hide": 0, + "print_hide": 1, "read_only": 0, "report_hide": 0, "reqd": 0, @@ -2179,7 +2179,7 @@ "is_submittable": 1, "issingle": 0, "istable": 0, - "modified": "2015-08-04 11:56:59.782517", + "modified": "2015-08-24 09:09:59.298127", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note", diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.py b/erpnext/stock/doctype/delivery_note/delivery_note.py index 5e11962ea5..6435834518 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.py +++ b/erpnext/stock/doctype/delivery_note/delivery_note.py @@ -66,7 +66,7 @@ class DeliveryNote(SellingController): item_meta = frappe.get_meta("Delivery Note Item") print_hide_fields = { - "parent": ["grand_total", "rounded_total", "in_words", "currency", "net_total"], + "parent": ["grand_total", "rounded_total", "in_words", "currency", "total", "taxes"], "items": ["rate", "amount", "price_list_rate", "discount_percentage"] }