renamed report
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index f345cf8..f082dd1 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -591,4 +591,4 @@
erpnext.patches.v12_0.update_pricing_rule_fields
erpnext.patches.v11_1.make_job_card_time_logs
erpnext.patches.v12_0.rename_pricing_rule_child_doctypes
-erpnext.patches.v12_0.move_target_distribution_from_parent_to_child
+erpnext.patches.v12_0.move_target_distribution_from_parent_to_child #wmnfb
diff --git a/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py b/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py
index e8e0850..548c1a4 100644
--- a/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py
+++ b/erpnext/patches/v12_0/move_target_distribution_from_parent_to_child.py
@@ -15,4 +15,8 @@
WHERE
`tab{child_doc}`.parent = `tab{parent_doc}`.name
and `tab{parent_doc}`.distribution_id is not null and `tab{parent_doc}`.distribution_id != ''
- """.format(parent_doc = d, child_doc = "Target Detail"))
\ No newline at end of file
+ """.format(parent_doc = d, child_doc = "Target Detail"))
+
+ frappe.delete_doc("Report", "Sales Partner-wise Transaction Summary")
+ frappe.delete_doc("Report", "Sales Person Target Variance Item Group-Wise")
+ frappe.delete_doc("Report", "Territory Target Variance Item Group-Wise")
\ No newline at end of file
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/__init__.py b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/__init__.py
similarity index 100%
rename from erpnext/selling/report/sales_partner_target_variance_item_group_wise/__init__.py
rename to erpnext/selling/report/sales_partner_target_variance_based_on_item_group/__init__.py
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/item_group_wise_sales_target_variance.py b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/item_group_wise_sales_target_variance.py
similarity index 99%
rename from erpnext/selling/report/sales_partner_target_variance_item_group_wise/item_group_wise_sales_target_variance.py
rename to erpnext/selling/report/sales_partner_target_variance_based_on_item_group/item_group_wise_sales_target_variance.py
index 034dc79..d7ebafc 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/item_group_wise_sales_target_variance.py
+++ b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/item_group_wise_sales_target_variance.py
@@ -195,7 +195,7 @@
parent_doc = filters.get("doctype"),
child_doc = filters.get("doctype") + ' Item',
item_groups = ','.join(['%s'] * len(item_groups))
- ), tuple(sales_users_or_territory_data + item_groups + dates), as_dict=1, debug=1)
+ ), tuple(sales_users_or_territory_data + item_groups + dates), as_dict=1)
def get_parents_data(filters, partner_doctype):
filters_dict = {'parenttype': partner_doctype}
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.js
similarity index 92%
copy from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
copy to erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.js
index 9e0a984..f99f68c 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
+++ b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.js
@@ -2,7 +2,7 @@
// For license information, please see license.txt
/* eslint-disable */
-frappe.query_reports["Sales Partner Target Variance Item Group-Wise"] = {
+frappe.query_reports["Sales Partner Target Variance based on Item Group"] = {
"filters": [
{
fieldname:"company",
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.json
similarity index 71%
copy from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
copy to erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.json
index 45f79c7..1cc7e96 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
+++ b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.json
@@ -1,6 +1,6 @@
{
"add_total_row": 0,
- "creation": "2019-03-15 17:42:00.631020",
+ "creation": "2019-03-25 18:22:37.323995",
"disable_prepared_report": 0,
"disabled": 0,
"docstatus": 0,
@@ -8,14 +8,14 @@
"idx": 0,
"is_standard": "Yes",
"letter_head": "Gadgets International",
- "modified": "2019-03-15 17:42:00.631020",
+ "modified": "2019-03-25 18:22:37.323995",
"modified_by": "Administrator",
"module": "Selling",
- "name": "Sales Partner Target Variance Item Group-Wise",
+ "name": "Sales Partner Target Variance based on Item Group",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Sales Order",
- "report_name": "Sales Partner Target Variance Item Group-Wise",
+ "report_name": "Sales Partner Target Variance based on Item Group",
"report_type": "Script Report",
"roles": [
{
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.py b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.py
similarity index 65%
rename from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.py
rename to erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.py
index 70bb754..e41011f 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.py
+++ b/erpnext/selling/report/sales_partner_target_variance_based_on_item_group/sales_partner_target_variance_based_on_item_group.py
@@ -3,7 +3,7 @@
from __future__ import unicode_literals
import frappe
-from erpnext.selling.report.sales_partner_target_variance_item_group_wise.item_group_wise_sales_target_variance import get_data_column
+from erpnext.selling.report.sales_partner_target_variance_based_on_item_group.item_group_wise_sales_target_variance import get_data_column
def execute(filters=None):
data = []
diff --git a/erpnext/selling/report/sales_partner_wise_transaction_summary/__init__.py b/erpnext/selling/report/sales_partner_transaction_summary/__init__.py
similarity index 100%
rename from erpnext/selling/report/sales_partner_wise_transaction_summary/__init__.py
rename to erpnext/selling/report/sales_partner_transaction_summary/__init__.py
diff --git a/erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.js b/erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.js
similarity index 95%
rename from erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.js
rename to erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.js
index 7e99dd4..e404233 100644
--- a/erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.js
+++ b/erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.js
@@ -2,7 +2,7 @@
// For license information, please see license.txt
/* eslint-disable */
-frappe.query_reports["Sales Partner-wise Transaction Summary"] = {
+frappe.query_reports["Sales Partner Transaction Summary"] = {
"filters": [
{
fieldname: "sales_partner",
diff --git a/erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.json b/erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.json
similarity index 73%
rename from erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.json
rename to erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.json
index 9384bfb..b518b42 100644
--- a/erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.json
+++ b/erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.json
@@ -1,6 +1,6 @@
{
"add_total_row": 1,
- "creation": "2019-03-15 16:21:16.088831",
+ "creation": "2019-03-25 18:15:09.920739",
"disable_prepared_report": 0,
"disabled": 0,
"docstatus": 0,
@@ -8,14 +8,14 @@
"idx": 0,
"is_standard": "Yes",
"letter_head": "Gadgets International",
- "modified": "2019-03-15 16:21:16.088831",
+ "modified": "2019-03-25 18:15:09.920739",
"modified_by": "Administrator",
"module": "Selling",
- "name": "Sales Partner-wise Transaction Summary",
+ "name": "Sales Partner Transaction Summary",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Sales Order",
- "report_name": "Sales Partner-wise Transaction Summary",
+ "report_name": "Sales Partner Transaction Summary",
"report_type": "Script Report",
"roles": [
{
diff --git a/erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.py b/erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.py
similarity index 100%
rename from erpnext/selling/report/sales_partner_wise_transaction_summary/sales_partner_wise_transaction_summary.py
rename to erpnext/selling/report/sales_partner_transaction_summary/sales_partner_transaction_summary.py
diff --git a/erpnext/selling/report/sales_person_target_variance_item_group_wise/__init__.py b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/__init__.py
similarity index 100%
rename from erpnext/selling/report/sales_person_target_variance_item_group_wise/__init__.py
rename to erpnext/selling/report/sales_person_target_variance_based_on_item_group/__init__.py
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.js
similarity index 92%
copy from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
copy to erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.js
index 9e0a984..9f6bfc4 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
+++ b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.js
@@ -2,7 +2,7 @@
// For license information, please see license.txt
/* eslint-disable */
-frappe.query_reports["Sales Partner Target Variance Item Group-Wise"] = {
+frappe.query_reports["Sales Person Target Variance Based On Item Group"] = {
"filters": [
{
fieldname:"company",
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.json
similarity index 71%
copy from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
copy to erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.json
index 45f79c7..84cd27e 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
+++ b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.json
@@ -1,6 +1,6 @@
{
"add_total_row": 0,
- "creation": "2019-03-15 17:42:00.631020",
+ "creation": "2019-03-25 22:16:49.040998",
"disable_prepared_report": 0,
"disabled": 0,
"docstatus": 0,
@@ -8,14 +8,14 @@
"idx": 0,
"is_standard": "Yes",
"letter_head": "Gadgets International",
- "modified": "2019-03-15 17:42:00.631020",
+ "modified": "2019-03-25 22:16:49.040998",
"modified_by": "Administrator",
"module": "Selling",
- "name": "Sales Partner Target Variance Item Group-Wise",
+ "name": "Sales Person Target Variance Based On Item Group",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Sales Order",
- "report_name": "Sales Partner Target Variance Item Group-Wise",
+ "report_name": "Sales Person Target Variance Based On Item Group",
"report_type": "Script Report",
"roles": [
{
diff --git a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.py
similarity index 65%
rename from erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py
rename to erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.py
index 3c525b3..5166cc8 100644
--- a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.py
+++ b/erpnext/selling/report/sales_person_target_variance_based_on_item_group/sales_person_target_variance_based_on_item_group.py
@@ -3,10 +3,9 @@
from __future__ import unicode_literals
import frappe
-from erpnext.selling.report.sales_partner_target_variance_item_group_wise.item_group_wise_sales_target_variance import get_data_column
+from erpnext.selling.report.sales_partner_target_variance_based_on_item_group.item_group_wise_sales_target_variance import get_data_column
def execute(filters=None):
data = []
- return get_data_column(filters, "Sales Person")
-
+ return get_data_column(filters, "Sales Person")
\ No newline at end of file
diff --git a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js
deleted file mode 100644
index 13103df..0000000
--- a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.js
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
-// License: GNU General Public License v3. See license.txt
-
-frappe.query_reports["Sales Person Target Variance Item Group-Wise"] = {
- "filters": [
- {
- fieldname:"company",
- label: __("Company"),
- fieldtype: "Link",
- options: "Company",
- default: frappe.defaults.get_user_default("Company")
- },
- {
- fieldname: "fiscal_year",
- label: __("Fiscal Year"),
- fieldtype: "Link",
- options: "Fiscal Year",
- default: frappe.sys_defaults.fiscal_year
- },
- {
- fieldname: "doctype",
- label: __("Document Type"),
- fieldtype: "Select",
- options: "Sales Order\nDelivery Note\nSales Invoice",
- default: "Sales Order"
- },
- {
- fieldname: "period",
- label: __("Period"),
- fieldtype: "Select",
- options: [
- { "value": "Monthly", "label": __("Monthly") },
- { "value": "Quarterly", "label": __("Quarterly") },
- { "value": "Half-Yearly", "label": __("Half-Yearly") },
- { "value": "Yearly", "label": __("Yearly") }
- ],
- default: "Monthly"
- },
- {
- fieldname: "target_on",
- label: __("Target On"),
- fieldtype: "Select",
- options: "Quantity\nAmount",
- default: "Quantity"
- },
- ]
-}
diff --git a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.json b/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.json
deleted file mode 100644
index 452caf9..0000000
--- a/erpnext/selling/report/sales_person_target_variance_item_group_wise/sales_person_target_variance_item_group_wise.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "add_total_row": 0,
- "apply_user_permissions": 1,
- "creation": "2013-06-21 12:14:15",
- "disabled": 0,
- "docstatus": 0,
- "doctype": "Report",
- "idx": 3,
- "is_standard": "Yes",
- "modified": "2017-02-24 20:14:50.589149",
- "modified_by": "Administrator",
- "module": "Selling",
- "name": "Sales Person Target Variance Item Group-Wise",
- "owner": "Administrator",
- "ref_doctype": "Sales Order",
- "report_name": "Sales Person Target Variance Item Group-Wise",
- "report_type": "Script Report",
- "roles": [
- {
- "role": "Sales User"
- },
- {
- "role": "Sales Manager"
- },
- {
- "role": "Maintenance User"
- },
- {
- "role": "Accounts User"
- },
- {
- "role": "Stock User"
- }
- ]
-}
\ No newline at end of file
diff --git a/erpnext/selling/report/territory_target_variance_item_group_wise/__init__.py b/erpnext/selling/report/territory_target_variance_based_on_item_group/__init__.py
similarity index 100%
rename from erpnext/selling/report/territory_target_variance_item_group_wise/__init__.py
rename to erpnext/selling/report/territory_target_variance_based_on_item_group/__init__.py
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.js
similarity index 93%
rename from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
rename to erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.js
index 9e0a984..dd9607f 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.js
+++ b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.js
@@ -2,7 +2,7 @@
// For license information, please see license.txt
/* eslint-disable */
-frappe.query_reports["Sales Partner Target Variance Item Group-Wise"] = {
+frappe.query_reports["Territory Target Variance Based On Item Group"] = {
"filters": [
{
fieldname:"company",
diff --git a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.json
similarity index 72%
rename from erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
rename to erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.json
index 45f79c7..d3b05ba 100644
--- a/erpnext/selling/report/sales_partner_target_variance_item_group_wise/sales_partner_target_variance_item_group_wise.json
+++ b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.json
@@ -1,6 +1,6 @@
{
"add_total_row": 0,
- "creation": "2019-03-15 17:42:00.631020",
+ "creation": "2019-03-25 22:20:59.033199",
"disable_prepared_report": 0,
"disabled": 0,
"docstatus": 0,
@@ -8,14 +8,14 @@
"idx": 0,
"is_standard": "Yes",
"letter_head": "Gadgets International",
- "modified": "2019-03-15 17:42:00.631020",
+ "modified": "2019-03-25 22:20:59.033199",
"modified_by": "Administrator",
"module": "Selling",
- "name": "Sales Partner Target Variance Item Group-Wise",
+ "name": "Territory Target Variance Based On Item Group",
"owner": "Administrator",
"prepared_report": 0,
"ref_doctype": "Sales Order",
- "report_name": "Sales Partner Target Variance Item Group-Wise",
+ "report_name": "Territory Target Variance Based On Item Group",
"report_type": "Script Report",
"roles": [
{
diff --git a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.py
similarity index 65%
rename from erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py
rename to erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.py
index 0843d62..b1d89cc 100644
--- a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.py
+++ b/erpnext/selling/report/territory_target_variance_based_on_item_group/territory_target_variance_based_on_item_group.py
@@ -3,10 +3,9 @@
from __future__ import unicode_literals
import frappe
-from erpnext.selling.report.sales_partner_target_variance_item_group_wise.item_group_wise_sales_target_variance import get_data_column
+from erpnext.selling.report.sales_partner_target_variance_based_on_item_group.item_group_wise_sales_target_variance import get_data_column
def execute(filters=None):
data = []
return get_data_column(filters, "Territory")
-
diff --git a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js
deleted file mode 100644
index bac8178..0000000
--- a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.js
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
-// License: GNU General Public License v3. See license.txt
-
-frappe.query_reports["Territory Target Variance Item Group-Wise"] = {
- "filters": [
- {
- fieldname:"company",
- label: __("Company"),
- fieldtype: "Link",
- options: "Company",
- default: frappe.defaults.get_user_default("Company")
- },
- {
- fieldname: "fiscal_year",
- label: __("Fiscal Year"),
- fieldtype: "Link",
- options: "Fiscal Year",
- default: frappe.sys_defaults.fiscal_year
- },
- {
- fieldname: "doctype",
- label: __("Document Type"),
- fieldtype: "Select",
- options: "Sales Order\nDelivery Note\nSales Invoice",
- default: "Sales Order"
- },
- {
- fieldname: "period",
- label: __("Period"),
- fieldtype: "Select",
- options: [
- { "value": "Monthly", "label": __("Monthly") },
- { "value": "Quarterly", "label": __("Quarterly") },
- { "value": "Half-Yearly", "label": __("Half-Yearly") },
- { "value": "Yearly", "label": __("Yearly") }
- ],
- default: "Monthly"
- },
- {
- fieldname: "target_on",
- label: __("Target On"),
- fieldtype: "Select",
- options: "Quantity\nAmount",
- default: "Quantity"
- },
- ]
-}
diff --git a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.json b/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.json
deleted file mode 100644
index 2cb548f..0000000
--- a/erpnext/selling/report/territory_target_variance_item_group_wise/territory_target_variance_item_group_wise.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "add_total_row": 0,
- "apply_user_permissions": 1,
- "creation": "2013-06-21 12:15:00",
- "disabled": 0,
- "docstatus": 0,
- "doctype": "Report",
- "idx": 3,
- "is_standard": "Yes",
- "modified": "2017-02-24 20:13:29.705321",
- "modified_by": "Administrator",
- "module": "Selling",
- "name": "Territory Target Variance Item Group-Wise",
- "owner": "Administrator",
- "ref_doctype": "Sales Order",
- "report_name": "Territory Target Variance Item Group-Wise",
- "report_type": "Script Report",
- "roles": [
- {
- "role": "Sales User"
- },
- {
- "role": "Sales Manager"
- },
- {
- "role": "Maintenance User"
- },
- {
- "role": "Accounts User"
- },
- {
- "role": "Stock User"
- }
- ]
-}
\ No newline at end of file
diff --git a/erpnext/setup/doctype/sales_partner/sales_partner.js b/erpnext/setup/doctype/sales_partner/sales_partner.js
index 1497eda..7164add 100644
--- a/erpnext/setup/doctype/sales_partner/sales_partner.js
+++ b/erpnext/setup/doctype/sales_partner/sales_partner.js
@@ -23,6 +23,6 @@
'fiscal_year': row.fiscal_year
}
}
- }
+ };
}
});
diff --git a/erpnext/setup/doctype/sales_person/sales_person.js b/erpnext/setup/doctype/sales_person/sales_person.js
index 0d7deac..9ff37fa 100644
--- a/erpnext/setup/doctype/sales_person/sales_person.js
+++ b/erpnext/setup/doctype/sales_person/sales_person.js
@@ -18,7 +18,7 @@
'fiscal_year': row.fiscal_year
}
}
- }
+ };
}
});
diff --git a/erpnext/setup/doctype/territory/territory.js b/erpnext/setup/doctype/territory/territory.js
index 370a89d..1eb9958 100644
--- a/erpnext/setup/doctype/territory/territory.js
+++ b/erpnext/setup/doctype/territory/territory.js
@@ -10,9 +10,9 @@
'fiscal_year': row.fiscal_year
}
}
- }
+ };
}
-})
+});
cur_frm.cscript.refresh = function(doc, cdt, cdn) {
cur_frm.cscript.set_root_readonly(doc);