Merge pull request #3943 from nabinhait/fix4

[fix] Print Delivery Note without amount
This commit is contained in:
Anand Doshi 2015-08-26 12:29:24 +05:30
commit 80a784fdc5
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -79,7 +79,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"]
}