[website] [minor] moving to framework

This commit is contained in:
Anand Doshi
2013-09-10 13:46:15 +05:30
parent 429fd1d3d8
commit 330dae90cb
44 changed files with 382 additions and 417 deletions

View File

@@ -0,0 +1,14 @@
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import webnotes
def get_context():
from portal.website_transactions import get_transaction_context
context = get_transaction_context("Delivery Note", webnotes.form_dict.name)
context.update({
"parent_link": "shipments",
"parent_title": "Shipments"
})
return context