mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
added uom column in stock reports
This commit is contained in:
@@ -53,6 +53,7 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
|
|||||||
formatter: this.check_formatter},
|
formatter: this.check_formatter},
|
||||||
{id: "name", name: "Item", field: "name", width: 300,
|
{id: "name", name: "Item", field: "name", width: 300,
|
||||||
formatter: this.tree_formatter},
|
formatter: this.tree_formatter},
|
||||||
|
{id: "stock_uom", name: "UOM", field: "stock_uom", width: 100},
|
||||||
{id: "brand", name: "Brand", field: "brand", width: 100},
|
{id: "brand", name: "Brand", field: "brand", width: 100},
|
||||||
{id: "opening", name: "Opening", field: "opening", hidden: true,
|
{id: "opening", name: "Opening", field: "opening", hidden: true,
|
||||||
formatter: this.currency_formatter}
|
formatter: this.currency_formatter}
|
||||||
|
|||||||
@@ -48,13 +48,14 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
|
|||||||
open_btn: true,
|
open_btn: true,
|
||||||
doctype: '"Item"'
|
doctype: '"Item"'
|
||||||
}},
|
}},
|
||||||
{id: "brand", name: "Brand", field: "brand", width: 100},
|
|
||||||
{id: "average_age", name: "Average Age", field: "average_age",
|
{id: "average_age", name: "Average Age", field: "average_age",
|
||||||
formatter: this.currency_formatter},
|
formatter: this.currency_formatter},
|
||||||
{id: "earliest", name: "Earliest", field: "earliest",
|
{id: "earliest", name: "Earliest", field: "earliest",
|
||||||
formatter: this.currency_formatter},
|
formatter: this.currency_formatter},
|
||||||
{id: "latest", name: "Latest", field: "latest",
|
{id: "latest", name: "Latest", field: "latest",
|
||||||
formatter: this.currency_formatter},
|
formatter: this.currency_formatter},
|
||||||
|
{id: "stock_uom", name: "UOM", field: "stock_uom", width: 100},
|
||||||
|
{id: "brand", name: "Brand", field: "brand", width: 100},
|
||||||
{id: "item_name", name: "Item Name", field: "item_name",
|
{id: "item_name", name: "Item Name", field: "item_name",
|
||||||
width: 100, formatter: this.text_formatter},
|
width: 100, formatter: this.text_formatter},
|
||||||
{id: "description", name: "Description", field: "description",
|
{id: "description", name: "Description", field: "description",
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
|||||||
formatter: this.currency_formatter},
|
formatter: this.currency_formatter},
|
||||||
{id: "closing_value", name: "Closing Value", field: "closing_value", width: 100,
|
{id: "closing_value", name: "Closing Value", field: "closing_value", width: 100,
|
||||||
formatter: this.currency_formatter},
|
formatter: this.currency_formatter},
|
||||||
|
{id: "stock_uom", name: "UOM", field: "stock_uom", width: 100},
|
||||||
{id: "brand", name: "Brand", field: "brand", width: 100},
|
{id: "brand", name: "Brand", field: "brand", width: 100},
|
||||||
{id: "item_name", name: "Item Name", field: "item_name", width: 100},
|
{id: "item_name", name: "Item Name", field: "item_name", width: 100},
|
||||||
{id: "description", name: "Description", field: "description", width: 200,
|
{id: "description", name: "Description", field: "description", width: 200,
|
||||||
|
|||||||
Reference in New Issue
Block a user