Fix translate stock/page/stock_ageing/stock_ageing.js

This commit is contained in:
Bárbara Perretti 2013-10-15 18:32:38 -03:00
parent b7a6b850cf
commit f007dd4e5f

View File

@ -30,21 +30,21 @@ erpnext.StockAgeing = erpnext.StockGridReport.extend({
}, },
setup_columns: function() { setup_columns: function() {
this.columns = [ this.columns = [
{id: "name", name: "Item", field: "name", width: 300, {id: "name", name: wn._("Item"), field: "name", width: 300,
link_formatter: { link_formatter: {
open_btn: true, open_btn: true,
doctype: '"Item"' doctype: '"Item"'
}}, }},
{id: "item_name", name: "Item Name", field: "item_name", {id: "item_name", name: wn._("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: wn._("Description"), field: "description",
width: 200, formatter: this.text_formatter}, width: 200, formatter: this.text_formatter},
{id: "brand", name: "Brand", field: "brand", width: 100}, {id: "brand", name: wn._("Brand"), field: "brand", width: 100},
{id: "average_age", name: "Average Age", field: "average_age", {id: "average_age", name: wn._("Average Age"), field: "average_age",
formatter: this.currency_formatter}, formatter: this.currency_formatter},
{id: "earliest", name: "Earliest", field: "earliest", {id: "earliest", name: wn._("Earliest"), field: "earliest",
formatter: this.currency_formatter}, formatter: this.currency_formatter},
{id: "latest", name: "Latest", field: "latest", {id: "latest", name: wn._("Latest"), field: "latest",
formatter: this.currency_formatter}, formatter: this.currency_formatter},
{id: "stock_uom", name: "UOM", field: "stock_uom", width: 100}, {id: "stock_uom", name: "UOM", field: "stock_uom", width: 100},
]; ];