From 147b288d66bb2fe16085d38c2ce5fb5f40785f3f Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 23 Sep 2016 13:11:05 +0530 Subject: [PATCH 1/3] Update repost_gle_for_pos_sales_return.py --- erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py b/erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py index d3dd2e9aa6..77ecafd6f1 100644 --- a/erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py +++ b/erpnext/patches/v7_0/repost_gle_for_pos_sales_return.py @@ -7,6 +7,7 @@ from frappe.utils import cint, flt def execute(): frappe.reload_doctype("Sales Invoice") + frappe.reload_doctype("Sales Invoice Item") for si in frappe.get_all("Sales Invoice", fields = ["name"], filters={"docstatus": 1, "is_pos": 1, "is_return": 1}): From 3720045eb946059895b21334833a42f98e9035c2 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 23 Sep 2016 16:31:43 +0530 Subject: [PATCH 2/3] Update patches.txt --- erpnext/patches.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index bd7d9a49fa..07bf0f0027 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -23,17 +23,15 @@ execute:frappe.reload_doc('selling', 'doctype', 'customer') # 2014-01-29 execute:frappe.reload_doc('buying', 'doctype', 'supplier') # 2014-01-29 execute:frappe.reload_doc('accounts', 'doctype', 'asset_category') execute:frappe.reload_doc('accounts', 'doctype', 'pricing_rule') -execute:frappe.reload_doctype('Item') erpnext.patches.v4_0.map_charge_to_taxes_and_charges execute:frappe.reload_doc('support', 'doctype', 'newsletter') # 2014-01-31 execute:frappe.reload_doc('hr', 'doctype', 'employee') # 2014-02-03 execute:frappe.db.sql("update tabPage set module='Core' where name='Setup'") - erpnext.patches.v5_2.change_item_selects_to_checks +execute:frappe.reload_doctype('Item') erpnext.patches.v4_0.fields_to_be_renamed erpnext.patches.v4_0.rename_sitemap_to_route erpnext.patches.v7_0.re_route #2016-06-27 - erpnext.patches.v4_0.fix_contact_address erpnext.patches.v4_0.customer_discount_to_pricing_rule execute:frappe.db.sql("""delete from `tabWebsite Item Group` where ifnull(item_group, '')=''""") From aec28a2c8815e8fe5ee2a6157ce3127a8d9f3410 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 23 Sep 2016 17:53:28 +0600 Subject: [PATCH 3/3] bumped to version 7.0.48 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index a87d0ded9c..7bff8f3ef7 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals import frappe -__version__ = '7.0.47' +__version__ = '7.0.48' def get_default_company(user=None): '''Get default company for user'''