Update update_supplier_address_in_stock_entry.py
This commit is contained in:
parent
3ddfce4f17
commit
16d92e7270
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user