[enhancement] added reserved_qty_for_production in bin and updated item dashboard

This commit is contained in:
Rushabh Mehta
2016-04-18 19:27:36 +05:30
parent c46c1f0288
commit 0525387328
25 changed files with 635 additions and 125 deletions

View File

@@ -68,5 +68,20 @@ erpnext.financial_statements = {
"tree": true,
"name_field": "account",
"parent_field": "parent_account",
"initial_depth": 3
"initial_depth": 3,
onload: function(report) {
// dropdown for links to other financial statements
report.page.add_inner_button(__("Balance Sheet"), function() {
var filters = report.get_values();
frappe.set_route('query-report', 'Balance Sheet', {company: filters.company});
}, 'Financial Statements');
report.page.add_inner_button(__("Profit and Loss"), function() {
var filters = report.get_values();
frappe.set_route('query-report', 'Profit and Loss Statement', {company: filters.company});
}, 'Financial Statements');
report.page.add_inner_button(__("Cash Flow Statement"), function() {
var filters = report.get_values();
frappe.set_route('query-report', 'Cash Flow', {company: filters.company});
}, 'Financial Statements');
},
};