[cleanup] deprecated search criteria, amendment_date, cancel_reason

This commit is contained in:
Anand Doshi
2013-06-11 16:23:18 +05:30
parent 618edee8b7
commit 27e6f13b5d
46 changed files with 21 additions and 595 deletions

View File

@@ -140,12 +140,6 @@ class DocType(SellingController):
if not self.doc.installation_status: self.doc.installation_status = 'Not Installed'
def validate_mandatory(self):
if self.doc.amended_from and not self.doc.amendment_date:
msgprint("Please Enter Amendment Date")
raise Exception, "Validation Error. "
def validate_proj_cust(self):
"""check for does customer belong to same project as entered.."""
if self.doc.project_name and self.doc.customer:

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 14:48:38",
"docstatus": 0,
"modified": "2013-06-05 14:46:10",
"modified": "2013-06-11 16:16:36",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -268,19 +268,6 @@
"read_only": 1,
"width": "150px"
},
{
"description": "The date at which current entry is corrected in the system.",
"doctype": "DocField",
"fieldname": "amendment_date",
"fieldtype": "Date",
"label": "Amendment Date",
"no_copy": 1,
"oldfieldname": "amendment_date",
"oldfieldtype": "Date",
"print_hide": 1,
"print_width": "100px",
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "remark",

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-04-11 15:32:24",
"docstatus": 0,
"modified": "2013-04-16 17:33:38",
"modified": "2013-06-11 16:16:37",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -210,17 +210,6 @@
"print_hide": 1,
"read_only": 1
},
{
"depends_on": "eval:doc.amended_from",
"description": "The date at which current entry is corrected in the system.",
"doctype": "DocField",
"fieldname": "amendment_date",
"fieldtype": "Date",
"label": "Amendment Date",
"no_copy": 1,
"print_hide": 1,
"read_only": 0
},
{
"doctype": "DocPerm",
"role": "Material User"

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-05-21 16:16:39",
"docstatus": 0,
"modified": "2013-06-05 14:45:10",
"modified": "2013-06-11 16:16:40",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -784,19 +784,6 @@
"print_width": "50px",
"width": "50px"
},
{
"depends_on": "eval:!doc.__islocal",
"doctype": "DocField",
"fieldname": "cancel_reason",
"fieldtype": "Data",
"hidden": 0,
"label": "Cancel Reason",
"no_copy": 1,
"oldfieldname": "cancel_reason",
"oldfieldtype": "Data",
"print_hide": 1,
"read_only": 1
},
{
"doctype": "DocField",
"fieldname": "instructions",