mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
fix: code cleanup and convert public method to private for subcontracting class
This commit is contained in:
@@ -743,6 +743,10 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
||||
var me = this;
|
||||
var item = frappe.get_doc(cdt, cdn);
|
||||
|
||||
if (item && item.doctype === 'Purchase Receipt Item Supplied') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (item && item.serial_no) {
|
||||
if (!item.item_code) {
|
||||
this.frm.trigger("item_code", cdt, cdn);
|
||||
|
||||
Reference in New Issue
Block a user