mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 19:49:18 +00:00
execute on_doctype_update
This commit is contained in:
@@ -140,3 +140,4 @@ erpnext.patches.v5_0.update_opportunity
|
|||||||
erpnext.patches.v5_0.opportunity_not_submittable
|
erpnext.patches.v5_0.opportunity_not_submittable
|
||||||
execute:frappe.permissions.reset_perms("Purchase Taxes and Charges Master") #2014-06-09
|
execute:frappe.permissions.reset_perms("Purchase Taxes and Charges Master") #2014-06-09
|
||||||
execute:frappe.permissions.reset_perms("Expense Claim Type") #2014-06-19
|
execute:frappe.permissions.reset_perms("Expense Claim Type") #2014-06-19
|
||||||
|
erpnext.patches.v5_0.execute_on_doctype_update
|
||||||
8
erpnext/patches/v5_0/execute_on_doctype_update.py
Normal file
8
erpnext/patches/v5_0/execute_on_doctype_update.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
|
# License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
for dt in ("Stock Ledger Entry", "Communication", "Comment", "DefaultValue", "DocShare", "File Data", "ToDo", "Feed"):
|
||||||
|
frappe.get_doc("DocType", dt).run_module_method("on_doctype_update")
|
||||||
Reference in New Issue
Block a user