Merge branch 'master' into develop

This commit is contained in:
Nabin Hait 2016-12-21 12:18:38 +05:30
commit e7939fd87b
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
from __future__ import unicode_literals
import frappe
__version__ = '7.1.27'
__version__ = '7.1.28'
def get_default_company(user=None):
'''Get default company for user'''

View File

@ -3,6 +3,8 @@ import frappe
from erpnext.stock.stock_balance import repost_stock
def execute():
frappe.reload_doc('manufacturing', 'doctype', 'production_order_item')
modified_items = frappe.db.sql_list("""
select name from `tabItem`
where is_stock_item=1 and modified >= '2016-10-31'