mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
repost_acc_bal patch andpur taxes and charges
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
u'creation': '2012-09-18 11:20:24',
|
u'creation': '2012-09-18 11:20:24',
|
||||||
u'docstatus': 0,
|
u'docstatus': 0,
|
||||||
u'modified': '2012-09-28 12:19:57',
|
u'modified': '2012-09-28 12:27:43',
|
||||||
u'modified_by': u'Administrator',
|
u'modified_by': u'Administrator',
|
||||||
u'owner': u'wasim@webnotestech.com'
|
u'owner': u'wasim@webnotestech.com'
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -30,10 +30,7 @@ def execute():
|
|||||||
fy_obj = get_obj('Fiscal Year', f[0])
|
fy_obj = get_obj('Fiscal Year', f[0])
|
||||||
fy_obj.doc.past_year = prev_fy
|
fy_obj.doc.past_year = prev_fy
|
||||||
fy_obj.doc.company = c[0]
|
fy_obj.doc.company = c[0]
|
||||||
fy_obj.doc.save()
|
|
||||||
|
|
||||||
fy_obj = get_obj('Fiscal Year', f[0])
|
|
||||||
fy_obj.repost()
|
fy_obj.repost()
|
||||||
prev_fy = f[0]
|
prev_fy = f[0]
|
||||||
sql("commit")
|
webnotes.conn.commit()
|
||||||
sql("start transaction")
|
webnotes.conn.begin()
|
||||||
Reference in New Issue
Block a user