[demo] [minor] simulate quotation

This commit is contained in:
Rushabh Mehta
2013-08-07 15:08:11 +05:30
parent 0983cb75d5
commit 7c2a2e24a2
6 changed files with 146 additions and 9 deletions

View File

@@ -388,7 +388,7 @@ class AccountsController(TransactionBase):
total_billed_amt = flt(flt(already_billed) + flt(item.fields[based_on]),
self.precision(based_on, item))
if max_allowed_amt and total_billed_amt - max_allowed_amt > 0.02:
webnotes.msgprint(_("Row ")+ cstr(item.idx) + ": " + cstr(item.item_code) +
_(" will be over-billed against mentioned ") + cstr(ref_dt) +