Merge branch 'master' into develop

This commit is contained in:
Saurabh
2017-07-25 16:42:28 +05:30
71 changed files with 17449 additions and 16879 deletions

View File

@@ -317,7 +317,7 @@ def update_company_current_month_sales(company):
results = frappe.db.sql(('''
select
sum(grand_total) as total, date_format(posting_date, '%m-%Y') as month_year
sum(base_grand_total) as total, date_format(posting_date, '%m-%Y') as month_year
from
`tabSales Invoice`
where

View File

@@ -14,7 +14,7 @@ def get_data():
'goal_history_field': 'sales_monthly_history',
'goal_doctype': 'Sales Invoice',
'goal_doctype_link': 'company',
'goal_field': 'grand_total',
'goal_field': 'base_grand_total',
'date_field': 'posting_date',
'filter_str': 'status != "Draft"',
'aggregation': 'sum'