Fix translate purchase_trends_filters.js
This commit is contained in:
parent
79c43988b4
commit
2dcfbd1642
@ -5,35 +5,35 @@ var get_filters = function(){
|
||||
return [
|
||||
{
|
||||
"fieldname":"period",
|
||||
"label": "Period",
|
||||
"label": wn._("Period"),
|
||||
"fieldtype": "Select",
|
||||
"options": ["Monthly", "Quarterly", "Half-Yearly", "Yearly"].join("\n"),
|
||||
"default": "Monthly"
|
||||
},
|
||||
{
|
||||
"fieldname":"based_on",
|
||||
"label": "Based On",
|
||||
"label": wn._("Based On"),
|
||||
"fieldtype": "Select",
|
||||
"options": ["Item", "Item Group", "Supplier", "Supplier Type", "Project"].join("\n"),
|
||||
"default": "Item"
|
||||
},
|
||||
{
|
||||
"fieldname":"group_by",
|
||||
"label": "Group By",
|
||||
"label": wn._("Group By"),
|
||||
"fieldtype": "Select",
|
||||
"options": ["Item", "Supplier"].join("\n"),
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"fieldname":"fiscal_year",
|
||||
"label": "Fiscal Year",
|
||||
"label": wn._("Fiscal Year"),
|
||||
"fieldtype": "Link",
|
||||
"options":'Fiscal Year',
|
||||
"default": sys_defaults.fiscal_year
|
||||
},
|
||||
{
|
||||
"fieldname":"company",
|
||||
"label": "Company",
|
||||
"label": wn._("Company"),
|
||||
"fieldtype": "Link",
|
||||
"options": "Company",
|
||||
"default": wn.defaults.get_default("company")
|
||||
|
Loading…
x
Reference in New Issue
Block a user