commit | 5fe0b20be108ce55a9519af5c953f7aebeaca93b | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Wed Mar 20 14:10:08 2024 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Wed Mar 20 14:10:08 2024 +0530 |
tree | 8ac91526c7d4678f6d6e67849ae06fda76265cd1 | |
parent | 3cec62d4f872a66557e1b9e56a2207f194e5439f [diff] |
chore: rename entry point
diff --git a/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.js b/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.js index d543baa..9aa0278 100644 --- a/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.js +++ b/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.js
@@ -23,7 +23,7 @@ frm.add_custom_button(execute_btn, () => { // Entry point for chain of events frm.call({ - method: "process_tasks", + method: "start_deletion_tasks", doc: frm.doc, }); });
diff --git a/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.py b/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.py index 1959a7d..e8ffe55 100644 --- a/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.py +++ b/erpnext/setup/doctype/transaction_deletion_record/transaction_deletion_record.py
@@ -198,7 +198,7 @@ ) @frappe.whitelist() - def process_tasks(self): + def start_deletion_tasks(self): # This method is the entry point for the chain of events that follow self.db_set("status", "Running") self.enqueue_task(task="Delete Bins")