VM603:387 Uncaught (in promise) TypeError: Cannot read property 'extend' of undefined
at eval (eval at setup (success_action.js:88), <anonymous>:387:67)
at init.setup (success_action.js:88)
at _f.Frm.setup (success_action.js:88)
at _f.Frm.refresh (success_action.js:88)
at FormFactory.load (success_action.js:88)
at success_action.js:88
at social_factory.js:17
at new Promise (<anonymous>)
at Object.with_doc (social_factory.js:17)
at FormFactory.show_doc (success_action.js:88)
frappe.provide(“erpnext.selling”);
erpnext.selling.SellingController = erpnext.TransactionController.extend({
setup: function() {
this._super();
this.frm.add_fetch(“sales_partner”, “commission_rate”, “commission_rate”);
this.frm.add_fetch(“sales_person”, “commission_rate”, “commission_rate”);
},
})
This is undefined erpnext.TransactionController