Merge branch 'develop'

This commit is contained in:
Anand Doshi 2015-08-20 15:34:47 +05:30
commit 62cae01542
4 changed files with 14 additions and 6 deletions

View File

@ -1,2 +1,2 @@
from __future__ import unicode_literals
__version__ = '5.7.1'
__version__ = '5.7.2'

View File

@ -27,7 +27,7 @@ blogs.
"""
app_icon = "icon-th"
app_color = "#e74c3c"
app_version = "5.7.1"
app_version = "5.7.2"
github_link = "https://github.com/frappe/erpnext"
error_report_email = "support@erpnext.com"

View File

@ -18,10 +18,18 @@ def execute():
select distinct item_code, warehouse
from `tabPacked Item` where docstatus=1 and parenttype='Sales Order'
)
) items
) so_item
where
exists(select name from tabItem where name=so_item.item_code and ifnull(is_stock_item, 0)=1)
""")
for item_code, warehouse in repost_for:
update_bin_qty(item_code, warehouse, {
"reserved_qty": get_reserved_qty(item_code, warehouse)
})
})
frappe.db.sql("""delete from tabBin
where exists(
select name from tabItem where name=tabBin.item_code and ifnull(is_stock_item, 0) = 0
)
""")

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
version = "5.7.1"
version = "5.7.2"
with open("requirements.txt", "r") as f:
install_requires = f.readlines()