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()