chore: Added Quick Stock Balance to Stock Module (#19726)

- Also 'Stock Balance Report' button no longer primary button
This commit is contained in:
Marica 2019-11-28 16:44:46 +05:30 committed by Nabin Hait
parent 1511154aa8
commit f51ccbf5d4
2 changed files with 5 additions and 1 deletions

View File

@ -241,6 +241,10 @@ def get_data():
"type": "doctype",
"name": "Quality Inspection Template",
},
{
"type": "doctype",
"name": "Quick Stock Balance",
},
]
},
{

View File

@ -16,7 +16,7 @@ frappe.ui.form.on('Quick Stock Balance', {
frm.add_custom_button(__('Stock Balance Report'), () => {
frappe.set_route('query-report', 'Stock Balance',
{ 'item_code': frm.doc.item, 'warehouse': frm.doc.warehouse });
}).addClass("btn-primary");
});
}
},