fix: Remove unnecessary code
This commit is contained in:
parent
81d49e9c71
commit
3e6cc5037b
@ -450,11 +450,8 @@ erpnext.accounts.SalesInvoiceController = class SalesInvoiceController extends e
|
||||
}
|
||||
};
|
||||
|
||||
console.log('innn')
|
||||
// for backward compatibility: combine new and previous states
|
||||
let controller_instance = new erpnext.accounts.SalesInvoiceController({frm: cur_frm})
|
||||
extend_cscript(cur_frm.cscript, controller_instance);
|
||||
extend_cscript(cur_frm.cscript.__proto_, controller_instance.__proto__);
|
||||
extend_cscript(cur_frm.cscript, new erpnext.accounts.SalesInvoiceController({frm: cur_frm}));
|
||||
|
||||
cur_frm.cscript['Make Delivery Note'] = function() {
|
||||
frappe.model.open_mapped_doc({
|
||||
|
Loading…
x
Reference in New Issue
Block a user