Update update_supplier_address_in_stock_entry.py

This commit is contained in:
Nabin Hait 2017-04-13 18:44:33 +05:30 committed by GitHub
parent 3ddfce4f17
commit 16d92e7270

View File

@ -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)
se.db_update()