2013-11-20 12:59:58 +05:30
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 14:59:54 +05:30
|
|
|
// License: GNU General Public License v3. See license.txt
|
|
|
|
|
2013-02-25 18:17:51 +05:30
|
|
|
wn.query_reports["Gross Profit"] = {
|
|
|
|
"filters": [
|
|
|
|
{
|
|
|
|
"fieldname":"company",
|
2013-09-30 18:11:48 -03:00
|
|
|
"label": wn._("Company"),
|
2013-02-25 18:17:51 +05:30
|
|
|
"fieldtype": "Link",
|
|
|
|
"options": "Company",
|
|
|
|
"default": wn.defaults.get_user_default("company")
|
2013-03-21 20:24:10 +05:30
|
|
|
},
|
2013-03-22 13:16:10 +05:30
|
|
|
{
|
|
|
|
"fieldname":"from_date",
|
2013-09-30 18:11:48 -03:00
|
|
|
"label": wn._("From Date"),
|
2013-03-22 13:16:10 +05:30
|
|
|
"fieldtype": "Date",
|
|
|
|
"default": wn.defaults.get_user_default("year_start_date")
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname":"to_date",
|
2013-09-30 18:11:48 -03:00
|
|
|
"label": wn._("To Date"),
|
2013-03-22 13:16:10 +05:30
|
|
|
"fieldtype": "Date",
|
|
|
|
"default": wn.defaults.get_user_default("year_end_date")
|
|
|
|
},
|
2013-02-25 18:17:51 +05:30
|
|
|
]
|
|
|
|
}
|