From 3b867f73776b9342944e81284d3d19ee81028abb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 11 Jun 2013 17:21:11 +0530 Subject: [PATCH] [cleanup] [fix] removed amendment_date --- selling/doctype/installation_note/installation_note.py | 1 - selling/doctype/quotation/quotation.py | 1 - stock/doctype/delivery_note/delivery_note.py | 1 - 3 files changed, 3 deletions(-) diff --git a/selling/doctype/installation_note/installation_note.py b/selling/doctype/installation_note/installation_note.py index ed49aefdf9..63e1bae3fa 100644 --- a/selling/doctype/installation_note/installation_note.py +++ b/selling/doctype/installation_note/installation_note.py @@ -52,7 +52,6 @@ class DocType(TransactionBase): sales_com_obj = get_obj(dt = 'Sales Common') sales_com_obj.check_active_sales_items(self) sales_com_obj.get_prevdoc_date(self) - self.validate_mandatory() self.validate_reference_value() def pull_delivery_note_details(self): diff --git a/selling/doctype/quotation/quotation.py b/selling/doctype/quotation/quotation.py index efc5412af8..c474d998c2 100644 --- a/selling/doctype/quotation/quotation.py +++ b/selling/doctype/quotation/quotation.py @@ -158,7 +158,6 @@ class DocType(SellingController): "Order Confirmed", "Order Lost", "Cancelled"]) self.validate_fiscal_year() - self.validate_mandatory() self.set_last_contact_date() self.validate_order_type() self.validate_for_items() diff --git a/stock/doctype/delivery_note/delivery_note.py b/stock/doctype/delivery_note/delivery_note.py index d9b1bd2401..fd74976ce6 100644 --- a/stock/doctype/delivery_note/delivery_note.py +++ b/stock/doctype/delivery_note/delivery_note.py @@ -124,7 +124,6 @@ class DocType(SellingController): sales_com_obj.check_stop_sales_order(self) sales_com_obj.check_active_sales_items(self) sales_com_obj.get_prevdoc_date(self) - self.validate_mandatory() self.validate_reference_value() self.validate_for_items() self.validate_warehouse()