mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
[website] [partners listing] first cut
This commit is contained in:
11
website/helpers/partner.py
Normal file
11
website/helpers/partner.py
Normal 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),
|
||||
}
|
||||
Reference in New Issue
Block a user