mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 23:38:01 +00:00
Merge pull request #21606 from frappe/sahil28297-patch-1
fix(patch): reload Expense Claim doctype
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
|
||||
frappe.reload_doc("hr", "doctype", "expense_claim")
|
||||
|
||||
frappe.db.sql("""
|
||||
update `tabExpense Claim`
|
||||
set status = 'Paid'
|
||||
where total_advance_amount + total_amount_reimbursed = total_sanctioned_amount + total_taxes_and_charges
|
||||
""")
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user