11 lines
339 B
Python
11 lines
339 B
Python
# 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_partner_args():
|
|
return {
|
|
"partners": webnotes.conn.sql("""select * from `tabSales Partner`
|
|
where show_in_website=1 order by name asc""", as_dict=True),
|
|
} |