mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Update update_status_as_paid_for_completed_expense_claim.py
This commit is contained in:
@@ -8,6 +8,8 @@ def execute():
|
|||||||
""" set status as Paid in Expense Claim if total_sactioned_amount
|
""" set status as Paid in Expense Claim if total_sactioned_amount
|
||||||
and total_amount_reimbursed is equal """
|
and total_amount_reimbursed is equal """
|
||||||
|
|
||||||
|
frappe.reload_doctype('Expense Claim')
|
||||||
|
|
||||||
frappe.db.sql("""
|
frappe.db.sql("""
|
||||||
update
|
update
|
||||||
`tabExpense Claim`
|
`tabExpense Claim`
|
||||||
|
|||||||
Reference in New Issue
Block a user