mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
7 lines
224 B
Python
7 lines
224 B
Python
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def execute():
|
|
frappe.reload_doc("accounts", "doctype", "payment_entry")
|
|
|
|
frappe.db.sql(""" UPDATE `tabPayment Entry` set status = 'Cancelled' WHERE docstatus = 2 """) |