in_words fld added in form 16a
This commit is contained in:
parent
c43ece79a8
commit
75e67cfcdb
@ -98,3 +98,4 @@ class DocType:
|
||||
tot=flt(tot)+flt(d.total_tax_deposited)
|
||||
|
||||
self.doc.total_amount = flt(tot)
|
||||
self.doc.in_words = get_obj('Sales Common').get_total_in_words(get_defaults()['currency'], self.doc.total_amount)
|
||||
|
File diff suppressed because one or more lines are too long
@ -1122,3 +1122,5 @@ def execute(patch_no):
|
||||
rec = sql("select name, status from `tab%s` where modified >= '2011-06-15 01:00:00'" % dt)
|
||||
for r in rec:
|
||||
sql("update `tab%s` set docstatus = %s where name = '%s'" % (dt, (r[1] in ['Submitted', 'Closed'] and 1 or r[1]=='Cancelled' and 2 or 0), r[0]))
|
||||
elif patch_no == 280:
|
||||
reload_doc('accounts', 'doctype', 'form_16a')
|
||||
|
Loading…
x
Reference in New Issue
Block a user