[fix] print hide additional discount, reload doctypes in sales return patch

This commit is contained in:
Anand Doshi 2015-08-27 16:03:29 +05:30
parent 002049eb85
commit 3ea7ce84ed
3 changed files with 7 additions and 4 deletions

View File

@ -1027,7 +1027,7 @@
"options": "\nGrand Total\nNet Total",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide": 1,
"read_only": 0,
"report_hide": 0,
"reqd": 0,
@ -2032,7 +2032,7 @@
"is_submittable": 1,
"issingle": 0,
"istable": 0,
"modified": "2015-08-27 03:22:25.403272",
"modified": "2015-08-27 06:26:20.233037",
"modified_by": "Administrator",
"module": "Buying",
"name": "Purchase Order",

View File

@ -5,6 +5,9 @@ from __future__ import unicode_literals
import frappe
def execute():
frappe.reload_doctype("Delivery Note")
frappe.reload_doctype("Sales Invoice")
frappe.reload_doctype("Purchase Receipt")
frappe.reload_doctype("Sales Order Item")
frappe.reload_doctype("Purchase Order Item")

View File

@ -1134,7 +1134,7 @@
"options": "Company:company:default_currency",
"permlevel": 0,
"precision": "",
"print_hide": 0,
"print_hide": 1,
"read_only": 1,
"report_hide": 0,
"reqd": 0,
@ -2076,7 +2076,7 @@
"is_submittable": 1,
"issingle": 0,
"istable": 0,
"modified": "2015-08-27 03:23:10.261818",
"modified": "2015-08-27 06:27:48.950655",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt",