Anand Doshi | 330dae9 | 2013-09-10 13:46:15 +0530 | [diff] [blame^] | 1 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. |
2 | # License: GNU General Public License v3. See license.txt | ||||
3 | |||||
4 | from __future__ import unicode_literals | ||||
5 | import webnotes | ||||
6 | |||||
7 | def get_context(): | ||||
8 | from portal.website_transactions import get_transaction_context | ||||
9 | context = get_transaction_context("Delivery Note", webnotes.form_dict.name) | ||||
10 | context.update({ | ||||
11 | "parent_link": "shipments", | ||||
12 | "parent_title": "Shipments" | ||||
13 | }) | ||||
14 | return context |