blob: e7446852107ae9a689f6f9a3ee3088a7e7c030c9 [file] [log] [blame]
Rushabh Mehtaad45e312013-11-20 12:59:58 +05301# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
Anand Doshi330dae92013-09-10 13:46:15 +05302# License: GNU General Public License v3. See license.txt
3
4from __future__ import unicode_literals
5import webnotes
6
Anand Doshib0d996f2013-09-10 18:29:39 +05307no_cache = True
8
Anand Doshi330dae92013-09-10 13:46:15 +05309def get_context():
Rushabh Mehtadf200f32013-12-25 15:19:22 +053010 from erpnext.templates.utils import get_transaction_context
Anand Doshi330dae92013-09-10 13:46:15 +053011 context = get_transaction_context("Delivery Note", webnotes.form_dict.name)
12 context.update({
13 "parent_link": "shipments",
14 "parent_title": "Shipments"
15 })
16 return context