gtl_custom.py 930 B

12345678910111213141516171819202122232425262728293031
  1. from __future__ import unicode_literals
  2. from frappe import _
  3. def get_data():
  4. config = [{
  5. "label": _("Reports"),
  6. "items": [{
  7. "type": "report",
  8. "name": "Procurement Report",
  9. "description": _("Procurement Report."),
  10. "doctype": "Opportunity",
  11. "is_query_report": True
  12. },
  13. {
  14. "type": "report",
  15. "name": "Engineer-wise Customer RFQ Status",
  16. "description": _("Engineer-wise Customer RFQ Status."),
  17. "doctype": "Opportunity",
  18. "is_query_report": True
  19. },
  20. {
  21. "type": "report",
  22. "name": "Tracker",
  23. "description": _("Tracker Report."),
  24. "doctype": "Sales Order",
  25. "is_query_report": True
  26. },
  27. ]
  28. }
  29. ]
  30. return config