[hotfix] [patch] cleanup journal entry
This commit is contained in:
parent
698ee434c0
commit
dc278a7427
@ -190,5 +190,5 @@ erpnext.patches.v5_4.fix_invoice_outstanding
|
||||
execute:frappe.db.sql("update `tabStock Ledger Entry` set stock_queue = '[]' where voucher_type = 'Stock Reconciliation' and ifnull(qty_after_transaction, 0) = 0")
|
||||
erpnext.patches.v5_4.fix_missing_item_images
|
||||
erpnext.patches.v5_4.stock_entry_additional_costs
|
||||
erpnext.patches.v5_4.cleanup_journal_entry
|
||||
erpnext.patches.v5_4.cleanup_journal_entry #2015-08-14
|
||||
execute:frappe.db.sql("update `tabProduction Order` pro set description = (select description from tabItem where name=pro.production_item) where ifnull(description, '') = ''")
|
||||
|
@ -11,5 +11,5 @@ def execute():
|
||||
("Expense Claim", "against_expense_claim"),
|
||||
):
|
||||
frappe.db.sql("""update `tabJournal Entry Account`
|
||||
set reference_type=%s and reference_name={0} where ifnull({0}, '') != ''
|
||||
set reference_type=%s, reference_name={0} where ifnull({0}, '') != ''
|
||||
""".format(fieldname), doctype)
|
||||
|
Loading…
x
Reference in New Issue
Block a user