Bug due Translation support in Support Analytics

I think no one that don't speak english use this!
But today talking about this report, I discovered that it dont work!

For my surprise, it don't work have 2 years, if you aren't a english speaker!
This commit is contained in:
Maxwell Morais 2016-11-24 20:36:40 -06:00 committed by GitHub
parent 3247db4827
commit 2f948530cb

View File

@ -27,11 +27,11 @@ erpnext.SupportAnalytics = frappe.views.GridReportWithPlot.extend({
},
filters: [
{fieldtype:"Select", label: __("Fiscal Year"), link:"Fiscal Year",
{fieldname: "fiscal_year", fieldtype:"Select", label: __("Fiscal Year"), link:"Fiscal Year",
default_value: __("Select Fiscal Year") + "..."},
{fieldtype:"Date", label: __("From Date")},
{fieldtype:"Date", label: __("To Date")},
{fieldtype:"Select", label: __("Range"),
{fieldname: "from_date", fieldtype:"Date", label: __("From Date")},
{fieldname: "to_date", fieldtype:"Date", label: __("To Date")},
{fieldname: "range", fieldtype:"Select", label: __("Range"),
options:["Daily", "Weekly", "Monthly", "Quarterly", "Yearly"], default_value: "Monthly"}
],