From 97971c43e012f093ff8cddbae7ed017ea94dc924 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 3 Oct 2012 17:46:24 +0530 Subject: [PATCH] bank reco fixes --- accounts/doctype/bank_reconciliation/bank_reconciliation.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/accounts/doctype/bank_reconciliation/bank_reconciliation.py b/accounts/doctype/bank_reconciliation/bank_reconciliation.py index 29cfa51a15..e06f9798a8 100644 --- a/accounts/doctype/bank_reconciliation/bank_reconciliation.py +++ b/accounts/doctype/bank_reconciliation/bank_reconciliation.py @@ -66,9 +66,6 @@ class DocType: if getdate(d.clearance_date) < getdate(d.cheque_date): msgprint("Clearance Date can not be before Cheque Date (Row #%s)" % d.idx, raise_exception=1) - if getdate(d.clearance_date) < getdate(d.posting_date): - msgprint("Clearance Date can not be before Posting Date (Row #%s)" % - d.idx, raise_exception=1) sql("update `tabJournal Voucher` set clearance_date = %s, modified = %s where name=%s", (d.clearance_date, nowdate(), d.voucher_id)) vouchers.append(d.voucher_id)