mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
[fix] [minor] stock related reports fixed for serialized item
This commit is contained in:
@@ -25,7 +25,7 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
|
||||
page: wrapper,
|
||||
parent: $(wrapper).find('.layout-main'),
|
||||
appframe: wrapper.appframe,
|
||||
doctypes: ["Item", "Warehouse", "Stock Ledger Entry", "Item Group", "Brand"],
|
||||
doctypes: ["Item", "Warehouse", "Stock Ledger Entry", "Item Group", "Brand", "Serial No"],
|
||||
})
|
||||
},
|
||||
setup_columns: function() {
|
||||
@@ -175,7 +175,7 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
|
||||
grid: { hoverable: true, clickable: true },
|
||||
xaxis: {
|
||||
ticks: $.map(me.data, function(item, idx) { return [[idx+1, item.name]] }),
|
||||
max: 20
|
||||
max: 15
|
||||
},
|
||||
series: { downsample: { threshold: 1000 } }
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ erpnext.StockLedger = erpnext.StockGridReport.extend({
|
||||
page: wrapper,
|
||||
parent: $(wrapper).find('.layout-main'),
|
||||
appframe: wrapper.appframe,
|
||||
doctypes: ["Item", "Item Group", "Warehouse", "Stock Ledger Entry", "Brand"],
|
||||
doctypes: ["Item", "Item Group", "Warehouse", "Stock Ledger Entry", "Brand", "Serial No"],
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ erpnext.StockLevel = erpnext.StockGridReport.extend({
|
||||
parent: $(wrapper).find('.layout-main'),
|
||||
appframe: wrapper.appframe,
|
||||
doctypes: ["Item", "Warehouse", "Stock Ledger Entry", "Production Order",
|
||||
"Material Request Item", "Purchase Order Item", "Sales Order Item", "Brand"],
|
||||
"Material Request Item", "Purchase Order Item", "Sales Order Item", "Brand", "Serial No"],
|
||||
});
|
||||
|
||||
this.wrapper.bind("make", function() {
|
||||
|
||||
Reference in New Issue
Block a user