chore: Linting Issues

This commit is contained in:
Deepesh Garg 2022-09-04 13:15:59 +05:30 committed by GitHub
parent 3ef551872a
commit ad8d0efa29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
frappe.query_reports["Gross Profit"] = { frappe.query_reports["Gross Profit"] = {
"filters": [ "filters": [
{ {
"fieldname":"company", "fieldname": "company",
"label": __("Company"), "label": __("Company"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Company", "options": "Company",
@ -12,40 +12,40 @@ frappe.query_reports["Gross Profit"] = {
"reqd": 1 "reqd": 1
}, },
{ {
"fieldname":"from_date", "fieldname": "from_date",
"label": __("From Date"), "label": __("From Date"),
"fieldtype": "Date", "fieldtype": "Date",
"default": frappe.defaults.get_user_default("year_start_date"), "default": frappe.defaults.get_user_default("year_start_date"),
"reqd": 1 "reqd": 1
}, },
{ {
"fieldname":"to_date", "fieldname": "to_date",
"label": __("To Date"), "label": __("To Date"),
"fieldtype": "Date", "fieldtype": "Date",
"default": frappe.defaults.get_user_default("year_end_date"), "default": frappe.defaults.get_user_default("year_end_date"),
"reqd": 1 "reqd": 1
}, },
{ {
"fieldname":"sales_invoice", "fieldname": "sales_invoice",
"label": __("Sales Invoice"), "label": __("Sales Invoice"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Sales Invoice" "options": "Sales Invoice"
}, },
{ {
"fieldname":"group_by", "fieldname": "group_by",
"label": __("Group By"), "label": __("Group By"),
"fieldtype": "Select", "fieldtype": "Select",
"options": "Invoice\nItem Code\nItem Group\nBrand\nWarehouse\nCustomer\nCustomer Group\nTerritory\nSales Person\nProject\nMonthly\nPayment Term", "options": "Invoice\nItem Code\nItem Group\nBrand\nWarehouse\nCustomer\nCustomer Group\nTerritory\nSales Person\nProject\nMonthly\nPayment Term",
"default": "Invoice" "default": "Invoice"
}, },
{ {
"fieldname":"item_group", "fieldname": "item_group",
"label": __("Item Group"), "label": __("Item Group"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Item Group" "options": "Item Group"
}, },
{ {
"fieldname":"sales_person", "fieldname": "sales_person",
"label": __("Sales Person"), "label": __("Sales Person"),
"fieldtype": "Link", "fieldtype": "Link",
"options": "Sales Person" "options": "Sales Person"