Removed unwanted debug
This commit is contained in:
parent
6b66c387ad
commit
01441ef37f
@ -390,7 +390,7 @@ class AccountsController(TransactionBase):
|
|||||||
already_billed = webnotes.conn.sql("""select sum(%s) from `tab%s`
|
already_billed = webnotes.conn.sql("""select sum(%s) from `tab%s`
|
||||||
where %s=%s and docstatus=1 and parent != %s""" %
|
where %s=%s and docstatus=1 and parent != %s""" %
|
||||||
(based_on, self.tname, item_ref_dn, '%s', '%s'),
|
(based_on, self.tname, item_ref_dn, '%s', '%s'),
|
||||||
(item.fields[item_ref_dn], self.doc.name), debug=1)[0][0]
|
(item.fields[item_ref_dn], self.doc.name))[0][0]
|
||||||
|
|
||||||
total_billed_amt = flt(flt(already_billed) + flt(item.fields[based_on]),
|
total_billed_amt = flt(flt(already_billed) + flt(item.fields[based_on]),
|
||||||
self.precision(based_on, item))
|
self.precision(based_on, item))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user