brotherton-erpnext/erpnext/selling/report/quotation_trends/quotation_trends.py
2014-02-14 15:47:51 +05:30

14 lines
437 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from erpnext.controllers.trends import get_columns, get_data
def execute(filters=None):
if not filters: filters ={}
data = []
conditions = get_columns(filters, "Quotation")
data = get_data(filters, conditions)
return conditions["columns"], data