brotherton-erpnext/erpnext/home/page/activity/activity.py

13 lines
472 B
Python
Raw Normal View History

2013-11-20 07:29:58 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
2014-02-14 10:17:51 +00:00
import frappe
2014-04-04 10:56:45 +00:00
from frappe.utils import cint
2012-02-29 09:41:06 +00:00
2014-02-14 10:17:51 +00:00
@frappe.whitelist()
2014-04-16 04:02:51 +00:00
def get_feed(limit_start, limit_page_length):
2014-04-04 10:56:45 +00:00
"""get feed"""
2014-04-16 04:02:51 +00:00
return frappe.get_list("Feed", fields=["name", "feed_type", "doc_type", "subject", "owner", "modified"],
limit_start = limit_start, limit_page_length = limit_page_length)