In standard print format, item name will now honour 'Print Hide' property

This commit is contained in:
Nabin Hait
2015-05-29 16:26:07 +05:30
parent 065badc54b
commit 8908543a9c
5 changed files with 5 additions and 8 deletions

View File

@@ -101,7 +101,6 @@ def round_off_debit_credit(gl_map):
debit_credit_diff += entry.debit - entry.credit
debit_credit_diff = flt(debit_credit_diff, precision)
print debit_credit_diff, 1.0 / (10**precision)
if abs(debit_credit_diff) >= (2.0 / (10**precision)):
frappe.throw(_("Debit and Credit not equal for {0} #{1}. Difference is {2}.")
.format(gl_map[0].voucher_type, gl_map[0].voucher_no, debit_credit_diff))