mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 22:19:18 +00:00
[minor] make gl entry through bean and testcases
This commit is contained in:
@@ -2,6 +2,9 @@ import webnotes
|
||||
from webnotes.utils import cint
|
||||
|
||||
def execute():
|
||||
import patches.september_2012.repost_stock
|
||||
patches.september_2012.repost_stock.execute()
|
||||
|
||||
import patches.march_2013.p08_create_aii_accounts
|
||||
patches.march_2013.p08_create_aii_accounts.execute()
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@ def execute():
|
||||
webnotes.conn.sql("""delete from `tabStock Ledger Entry`
|
||||
where ifnull(is_cancelled, 'No') = 'Yes'""")
|
||||
|
||||
webnotes.reload_doc("stock", "doctype", "gl_entry")
|
||||
webnotes.reload_doc("accounts", "doctype", "gl_entry")
|
||||
webnotes.conn.sql("""delete from `tabGL Entry` where ifnull(is_cancelled, 'No') = 'Yes'""")
|
||||
Reference in New Issue
Block a user