mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
[website] [minor] moving to framework
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user