From 16d92e72709571aa3b4618e5fdec48c5181b7113 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 13 Apr 2017 18:44:33 +0530 Subject: [PATCH] Update update_supplier_address_in_stock_entry.py --- erpnext/patches/v8_0/update_supplier_address_in_stock_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v8_0/update_supplier_address_in_stock_entry.py b/erpnext/patches/v8_0/update_supplier_address_in_stock_entry.py index e4032a2d1a2..a2173048fd4 100644 --- a/erpnext/patches/v8_0/update_supplier_address_in_stock_entry.py +++ b/erpnext/patches/v8_0/update_supplier_address_in_stock_entry.py @@ -19,4 +19,4 @@ def execute(): se.address_display = stock_entry.get("supplier_address") se.supplier_address = frappe.db.get_value("Purchase Order", stock_entry.get("purchase_order"),"supplier_address") or None - se.save(ignore_permissions=True) \ No newline at end of file + se.db_update()