Production plan cleanup and fixes

This commit is contained in:
Nabin Hait
2012-11-29 19:26:49 +05:30
parent 375ba8ef0a
commit 6aa80071e5
6 changed files with 517 additions and 720 deletions

View File

@@ -192,7 +192,7 @@ class DocType:
# check total debit / credit
# Due to old wrong entries (total debit != total credit) some voucher could be cancelled
if abs(self.td - self.tc) > 0.01 and not cancel:
if abs(self.td - self.tc) > 0.004 and not cancel:
msgprint("Debit and Credit not equal for this voucher: Diff (Debit) is %s" % (self.td-self.tc))
raise Exception