[fixes][jv] set clearance date as null on saving document

This commit is contained in:
Nabin Hait 2013-05-07 16:48:55 +05:30
parent 04f888fa52
commit f7bdf8e05a

View File

@ -43,6 +43,8 @@ class DocType(AccountsController):
if not self.doc.is_opening:
self.doc.is_opening='No'
self.doc.clearance_date = None
self.validate_debit_credit()
self.validate_cheque_info()
self.validate_entries_for_advance()