mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-22 08:08:29 +00:00
chore: rename method
This commit is contained in:
@@ -500,7 +500,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
||||
var item = frappe.get_doc(cdt, cdn);
|
||||
frappe.call({
|
||||
doc: doc,
|
||||
method: "item_code_trigger",
|
||||
method: "process_item_selection",
|
||||
args: {
|
||||
item: item
|
||||
},
|
||||
|
||||
@@ -288,7 +288,7 @@ class TransactionBase(StatusUpdater):
|
||||
)
|
||||
|
||||
@frappe.whitelist()
|
||||
def item_code_trigger(self, item):
|
||||
def process_item_selection(self, item):
|
||||
# 'item' - child table row from UI. Possibly has user-set values
|
||||
# Convert it to Frappe doc for better attribute access
|
||||
item = frappe.get_doc(item)
|
||||
|
||||
Reference in New Issue
Block a user