mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
[patch] copy customer_address to shipping_address in delivery note
This commit is contained in:
5
patches/july_2013/p02_copy_shipping_address.py
Normal file
5
patches/july_2013/p02_copy_shipping_address.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.reload_doc("stock", "doctype", "delivery_note")
|
||||
webnotes.conn.sql("""update `tabDelivery Note` set shipping_address_name = customer_address,
|
||||
shipping_address = address_display""")
|
||||
Reference in New Issue
Block a user