mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +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);
|
var item = frappe.get_doc(cdt, cdn);
|
||||||
frappe.call({
|
frappe.call({
|
||||||
doc: doc,
|
doc: doc,
|
||||||
method: "item_code_trigger",
|
method: "process_item_selection",
|
||||||
args: {
|
args: {
|
||||||
item: item
|
item: item
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ class TransactionBase(StatusUpdater):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@frappe.whitelist()
|
@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
|
# 'item' - child table row from UI. Possibly has user-set values
|
||||||
# Convert it to Frappe doc for better attribute access
|
# Convert it to Frappe doc for better attribute access
|
||||||
item = frappe.get_doc(item)
|
item = frappe.get_doc(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user