[patch] copy customer_address to shipping_address in delivery note

This commit is contained in:
Nabin Hait
2013-07-09 11:42:38 +05:30
parent e03e38db1e
commit fd33b2b718
2 changed files with 6 additions and 0 deletions

View 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""")