fixes in grid reports
This commit is contained in:
parent
d7972e361b
commit
a49475dc72
@ -42,7 +42,10 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
|
||||
setup_columns: function() {
|
||||
this.columns = [
|
||||
{id: "name", name: "Item", field: "name", width: 300,
|
||||
formatter: this.link_formatter},
|
||||
link_formatter: {
|
||||
open_btn: true,
|
||||
doctype: '"Item"'
|
||||
}},
|
||||
{id: "average_age", name: "Average Age", field: "average_age",
|
||||
formatter: this.currency_formatter},
|
||||
{id: "earliest", name: "Earliest", field: "earliest",
|
||||
|
@ -47,6 +47,7 @@ erpnext.StockLedger = erpnext.StockGridReport.extend({
|
||||
link_formatter: {
|
||||
filter_input: "item_code",
|
||||
open_btn: true,
|
||||
doctype: '"Item"',
|
||||
}},
|
||||
{id: "warehouse", name: "Warehouse", field: "warehouse", width: 100,
|
||||
link_formatter: {filter_input: "warehouse"}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user