[website] [minor] moving to framework

This commit is contained in:
Anand Doshi
2013-09-11 18:58:20 +05:30
parent 0748cb7d18
commit fb109aded0
16 changed files with 206 additions and 143 deletions

View File

@@ -7,7 +7,7 @@ import webnotes
no_cache = True
def get_context():
from portal.website_transactions import get_transaction_context
from portal.utils import get_transaction_context
context = get_transaction_context("Delivery Note", webnotes.form_dict.name)
context.update({
"parent_link": "shipments",

View File

@@ -7,7 +7,7 @@ import webnotes
no_cache = True
def get_context():
from portal.website_transactions import get_currency_context
from portal.utils import get_currency_context
context = get_currency_context()
context.update({
"title": "Shipments",
@@ -20,5 +20,5 @@ def get_context():
@webnotes.whitelist()
def get_shipments(start=0):
from portal.website_transactions import get_transaction_list
from portal.utils import get_transaction_list
return get_transaction_list("Delivery Note", start)