commit | 642f19d704471b9ad0370c3f5304eb69e9cab11d | [log] [tgz] |
---|---|---|
author | marination <maricadsouza221197@gmail.com> | Mon Apr 06 16:01:50 2020 +0530 |
committer | marination <maricadsouza221197@gmail.com> | Mon Apr 06 16:01:50 2020 +0530 |
tree | 88dec8ffabd0e7b52d81eec21f21218c01ad4a11 | |
parent | 686a09620db6874729fcc59dbfea749398d290e6 [diff] |
fix: Patch fix
diff --git a/erpnext/patches/v12_0/set_updated_purpose_in_pick_list.py b/erpnext/patches/v12_0/set_updated_purpose_in_pick_list.py index 4249188..03a74cf 100644 --- a/erpnext/patches/v12_0/set_updated_purpose_in_pick_list.py +++ b/erpnext/patches/v12_0/set_updated_purpose_in_pick_list.py
@@ -6,5 +6,6 @@ import frappe def execute(): + frappe.reload_doctype("Pick List") frappe.db.sql("""UPDATE `tabPick List` set purpose = 'Delivery' WHERE docstatus = 1 and purpose = 'Delivery against Sales Order' """) \ No newline at end of file