fix: move QI logic to stock module

This commit is contained in:
Rohan Bansal
2021-04-14 14:12:03 +05:30
parent a93b514b2f
commit 7f8b95efe8
3 changed files with 45 additions and 41 deletions

View File

@@ -1989,7 +1989,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
primary_action: function () {
const data = dialog.get_values();
frappe.call({
method: "erpnext.controllers.accounts_controller.make_quality_inspections",
method: "erpnext.controllers.stock_controller.make_quality_inspections",
args: {
doctype: me.frm.doc.doctype,
docname: me.frm.doc.name,