mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 13:08:27 +00:00
[fix] [mapper] from delivery note to sales invoice, only map unbilled items
This commit is contained in:
@@ -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) +
|
||||
|
||||
Reference in New Issue
Block a user