blob: ed6e40a6e5a8461142b89b64caa86bed2963d330 [file] [log] [blame]
Anand Doshi330dae92013-09-10 13:46:15 +05301# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
2# License: GNU General Public License v3. See license.txt
3
4from __future__ import unicode_literals
5import webnotes
6
7def get_context():
8 from portal.website_transactions import get_transaction_context
9 context = get_transaction_context("Sales Invoice", webnotes.form_dict.name)
10 context.update({
11 "parent_link": "invoices",
12 "parent_title": "Invoices"
13 })
14 return context