[accounts] [perpetual] get account and stock balance difference

This commit is contained in:
Nabin Hait
2013-08-02 11:44:29 +05:30
parent 1e2f20a3da
commit cac622e097
3 changed files with 41 additions and 4 deletions

View File

@@ -394,7 +394,6 @@ class AccountsController(TransactionBase):
total_billed_amt = flt(flt(already_billed) + flt(item.fields[based_on]),
self.precision(based_on, item))
webnotes.errprint([max_allowed_amt, total_billed_amt])
if max_allowed_amt and total_billed_amt - max_allowed_amt > 0.02:
webnotes.msgprint(_("Row ")+ cstr(item.idx) + ": " + cstr(item.item_code) +