mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Merge branch 'develop'
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# ERPNext - Open source ERP for small and medium-size business [](https://travis-ci.org/frappe/erpnext)
|
# ERPNext - Open source ERP for small and medium-size business [](https://travis-ci.org/frappe/erpnext)
|
||||||
|
|
||||||
|
[](https://gitter.im/frappe/erpnext?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
[https://erpnext.com](https://erpnext.com)
|
[https://erpnext.com](https://erpnext.com)
|
||||||
|
|
||||||
Includes: Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS. Requires MariaDB.
|
Includes: Accounting, Inventory, CRM, Sales, Purchase, Projects, HRMS. Requires MariaDB.
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '4.20.0'
|
__version__ = '4.20.1'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ app_publisher = "Web Notes Technologies Pvt. Ltd. and Contributors"
|
|||||||
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
|
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
|
||||||
app_icon = "icon-th"
|
app_icon = "icon-th"
|
||||||
app_color = "#e74c3c"
|
app_color = "#e74c3c"
|
||||||
app_version = "4.20.0"
|
app_version = "4.20.1"
|
||||||
|
|
||||||
error_report_email = "support@erpnext.com"
|
error_report_email = "support@erpnext.com"
|
||||||
|
|
||||||
|
|||||||
@@ -92,4 +92,4 @@ execute:frappe.delete_doc("DocType", "Contact Control")
|
|||||||
erpnext.patches.v4_2.recalculate_bom_costs
|
erpnext.patches.v4_2.recalculate_bom_costs
|
||||||
erpnext.patches.v4_2.discount_amount
|
erpnext.patches.v4_2.discount_amount
|
||||||
erpnext.patches.v4_2.update_landed_cost_voucher
|
erpnext.patches.v4_2.update_landed_cost_voucher
|
||||||
erpnext.patches.v4_2.set_item_batch
|
erpnext.patches.v4_2.set_item_has_batch
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ def get_sle_count():
|
|||||||
def get_sle_with_batch():
|
def get_sle_with_batch():
|
||||||
sle_with_batch = {}
|
sle_with_batch = {}
|
||||||
for d in frappe.db.sql("""select item_code, count(name) as cnt from `tabStock Ledger Entry`
|
for d in frappe.db.sql("""select item_code, count(name) as cnt from `tabStock Ledger Entry`
|
||||||
where batch_no != '' group by item_code""", as_dict=1):
|
where ifnull(batch_no, '') != '' group by item_code""", as_dict=1):
|
||||||
sle_with_batch.setdefault(d.item_code, d.cnt)
|
sle_with_batch.setdefault(d.item_code, d.cnt)
|
||||||
|
|
||||||
return sle_with_batch
|
return sle_with_batch
|
||||||
@@ -53,7 +53,7 @@ def get_sle_with_batch():
|
|||||||
def get_sle_with_serial():
|
def get_sle_with_serial():
|
||||||
sle_with_serial = {}
|
sle_with_serial = {}
|
||||||
for d in frappe.db.sql("""select item_code, count(name) as cnt from `tabStock Ledger Entry`
|
for d in frappe.db.sql("""select item_code, count(name) as cnt from `tabStock Ledger Entry`
|
||||||
where serial_no != '' group by item_code""", as_dict=1):
|
where ifnull(serial_no, '') != '' group by item_code""", as_dict=1):
|
||||||
sle_with_serial.setdefault(d.item_code, d.cnt)
|
sle_with_serial.setdefault(d.item_code, d.cnt)
|
||||||
|
|
||||||
return sle_with_serial
|
return sle_with_serial
|
||||||
@@ -8,19 +8,22 @@ frappe.query_reports["Customer Acquisition and Loyalty"] = {
|
|||||||
"label": __("Company"),
|
"label": __("Company"),
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"options": "Company",
|
"options": "Company",
|
||||||
"default": frappe.defaults.get_user_default("company")
|
"default": frappe.defaults.get_user_default("company"),
|
||||||
|
"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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"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
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,4 +166,4 @@ def item_details(doctype, txt, searchfield, start, page_len, filters):
|
|||||||
and %s like "%s" %s
|
and %s like "%s" %s
|
||||||
limit %s, %s """ % ("%s", searchfield, "%s",
|
limit %s, %s """ % ("%s", searchfield, "%s",
|
||||||
get_match_cond(doctype), "%s", "%s"),
|
get_match_cond(doctype), "%s", "%s"),
|
||||||
(filters["delivery_note"], "%%%s%%" % txt, start, page_len))
|
((filters or {}).get("delivery_note"), "%%%s%%" % txt, start, page_len))
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -1,7 +1,7 @@
|
|||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
|
|
||||||
version = "4.20.0"
|
version = "4.20.1"
|
||||||
|
|
||||||
with open("requirements.txt", "r") as f:
|
with open("requirements.txt", "r") as f:
|
||||||
install_requires = f.readlines()
|
install_requires = f.readlines()
|
||||||
|
|||||||
Reference in New Issue
Block a user