Traceback (innermost last):
File "../lib/webnotes/widgets/form/save.py", line 36, in savedocs
getattr(wrapper, action.lower())()
File "../lib/webnotes/model/bean.py", line 298, in submit
self.run_method('on_submit')
File "../lib/webnotes/model/bean.py", line 218, in run_method
getattr(self.obj, method)()
File "../app/accounts/doctype/purchase_invoice/purchase_invoice.py", line 411, in on_submit
self.make_gl_entries()
File "../app/accounts/doctype/purchase_invoice/purchase_invoice.py", line 521, in make_gl_entries
make_gl_entries(gl_entries, cancel=(self.doc.docstatus == 2))
File "../app/accounts/general_ledger.py", line 31, in make_gl_entries
save_entries(gl_map, cancel, adv_adj, update_outstanding)
File "../app/accounts/general_ledger.py", line 103, in save_entries
validate_total_debit_credit(total_debit, total_credit)
File "../app/accounts/general_ledger.py", line 109, in validate_total_debit_credit
(total_debit - total_credit), raise_exception=1)
File "../lib/webnotes/__init__.py", line 135, in msgprint
raise ValidationError, msg
ValidationError: Debit and Credit not equal for
this voucher: Diff (Debit) is -0.010000000002