[website] [partners listing] first cut

This commit is contained in:
Anand Doshi
2013-06-13 14:40:57 +05:30
parent 48519ef8ae
commit 8e2ea5fed6
6 changed files with 185 additions and 58 deletions

View File

@@ -0,0 +1,11 @@
# Copyright (c) 2012 Web Notes Technologies Pvt Ltd.
# License: GNU General Public License (v3). For more information 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),
}