Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 1 | from frappe import _ |
| 2 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 3 | def get_data(): |
| 4 | return [ |
| 5 | { |
| 6 | "label": _("Documents"), |
| 7 | "icon": "icon-star", |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Journal Voucher", |
| 12 | "description": _("Accounting journal entries.") |
| 13 | }, |
| 14 | { |
| 15 | "type": "doctype", |
| 16 | "name": "Sales Invoice", |
| 17 | "description": _("Bills raised to Customers.") |
| 18 | }, |
| 19 | { |
| 20 | "type": "doctype", |
| 21 | "name": "Purchase Invoice", |
| 22 | "description": _("Bills raised by Suppliers.") |
| 23 | }, |
| 24 | { |
| 25 | "type": "doctype", |
| 26 | "name": "Customer", |
| 27 | "description": _("Customer database.") |
| 28 | }, |
| 29 | { |
| 30 | "type": "doctype", |
| 31 | "name": "Supplier", |
| 32 | "description": _("Supplier database.") |
| 33 | }, |
| 34 | { |
| 35 | "type": "page", |
| 36 | "name": "Accounts Browser", |
| 37 | "icon": "icon-sitemap", |
| 38 | "label": _("Chart of Accounts"), |
| 39 | "route": "Accounts Browser/Account", |
| 40 | "description": _("Tree of finanial accounts."), |
| 41 | "doctype": "Account", |
| 42 | }, |
| 43 | ] |
| 44 | }, |
| 45 | { |
| 46 | "label": _("Tools"), |
| 47 | "icon": "icon-wrench", |
| 48 | "items": [ |
| 49 | { |
| 50 | "type": "doctype", |
| 51 | "name": "Bank Reconciliation", |
| 52 | "description": _("Update bank payment dates with journals.") |
| 53 | }, |
ankitjavalkarwork | b0cffac | 2014-07-22 15:02:59 +0530 | [diff] [blame] | 54 | { |
| 55 | "type": "doctype", |
| 56 | "name": "Payment Reconciliation", |
| 57 | "description": _("Match non-linked Invoices and Payments.") |
| 58 | }, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 59 | { |
| 60 | "type": "doctype", |
| 61 | "name": "Period Closing Voucher", |
| 62 | "description": _("Close Balance Sheet and book Profit or Loss.") |
| 63 | }, |
| 64 | ] |
| 65 | }, |
| 66 | { |
| 67 | "label": _("Setup"), |
| 68 | "icon": "icon-cog", |
| 69 | "items": [ |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Fiscal Year", |
| 73 | "description": _("Financial / accounting year.") |
| 74 | }, |
| 75 | { |
| 76 | "type": "page", |
| 77 | "name": "Accounts Browser", |
| 78 | "icon": "icon-sitemap", |
| 79 | "label": _("Chart of Accounts"), |
| 80 | "route": "Accounts Browser/Account", |
| 81 | "description": _("Tree of finanial accounts."), |
| 82 | "doctype": "Account", |
| 83 | }, |
| 84 | { |
| 85 | "type": "page", |
| 86 | "name": "Accounts Browser", |
| 87 | "icon": "icon-sitemap", |
| 88 | "label": _("Chart of Cost Centers"), |
| 89 | "route": "Accounts Browser/Cost Center", |
| 90 | "description": _("Tree of finanial Cost Centers."), |
| 91 | "doctype": "Cost Center", |
| 92 | }, |
| 93 | { |
| 94 | "type": "doctype", |
| 95 | "name": "Accounts Settings", |
| 96 | "description": _("Default settings for accounting transactions.") |
| 97 | }, |
| 98 | { |
| 99 | "type": "doctype", |
| 100 | "name": "Sales Taxes and Charges Master", |
| 101 | "description": _("Tax template for selling transactions.") |
| 102 | }, |
| 103 | { |
| 104 | "type": "doctype", |
| 105 | "name": "Purchase Taxes and Charges Master", |
| 106 | "description": _("Tax template for buying transactions.") |
| 107 | }, |
| 108 | { |
| 109 | "type": "doctype", |
| 110 | "name": "POS Setting", |
| 111 | "label": _("Point-of-Sale Setting"), |
| 112 | "description": _("Rules to calculate shipping amount for a sale") |
| 113 | }, |
| 114 | { |
| 115 | "type": "doctype", |
| 116 | "name": "Shipping Rule", |
| 117 | "description": _("Rules for adding shipping costs.") |
| 118 | }, |
| 119 | { |
| 120 | "type": "doctype", |
| 121 | "name": "Pricing Rule", |
| 122 | "description": _("Rules for applying pricing and discount.") |
| 123 | }, |
| 124 | { |
| 125 | "type": "doctype", |
| 126 | "name": "Currency", |
| 127 | "description": _("Enable / disable currencies.") |
| 128 | }, |
| 129 | { |
| 130 | "type": "doctype", |
| 131 | "name": "Currency Exchange", |
| 132 | "description": _("Currency exchange rate master.") |
| 133 | }, |
| 134 | { |
| 135 | "type":"doctype", |
| 136 | "name": "Budget Distribution", |
| 137 | "description": _("Seasonality for setting budgets.") |
| 138 | }, |
| 139 | { |
| 140 | "type": "doctype", |
| 141 | "name":"Terms and Conditions", |
| 142 | "label": _("Terms and Conditions Template"), |
| 143 | "description": _("Template of terms or contract.") |
| 144 | }, |
| 145 | { |
| 146 | "type": "doctype", |
| 147 | "name":"Mode of Payment", |
| 148 | "description": _("e.g. Bank, Cash, Credit Card") |
| 149 | }, |
| 150 | { |
| 151 | "type": "doctype", |
| 152 | "name":"C-Form", |
| 153 | "description": _("C-Form records"), |
| 154 | "country": "India" |
| 155 | } |
| 156 | ] |
| 157 | }, |
| 158 | { |
| 159 | "label": _("Main Reports"), |
| 160 | "icon": "icon-table", |
| 161 | "items": [ |
| 162 | { |
| 163 | "type": "report", |
| 164 | "name":"General Ledger", |
| 165 | "doctype": "GL Entry", |
| 166 | "is_query_report": True, |
| 167 | }, |
| 168 | { |
Anand Doshi | cb86d59 | 2014-07-22 19:02:11 +0530 | [diff] [blame] | 169 | "type": "report", |
| 170 | "name": "Trial Balance", |
| 171 | "doctype": "GL Entry", |
| 172 | "is_query_report": True, |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 173 | }, |
| 174 | { |
| 175 | "type": "report", |
| 176 | "name": "Accounts Receivable", |
| 177 | "doctype": "Sales Invoice", |
| 178 | "is_query_report": True |
| 179 | }, |
| 180 | { |
| 181 | "type": "report", |
| 182 | "name": "Accounts Payable", |
| 183 | "doctype": "Purchase Invoice", |
| 184 | "is_query_report": True |
| 185 | }, |
| 186 | { |
| 187 | "type": "report", |
| 188 | "name": "Sales Register", |
| 189 | "doctype": "Sales Invoice", |
| 190 | "is_query_report": True |
| 191 | }, |
| 192 | { |
| 193 | "type": "report", |
| 194 | "name": "Purchase Register", |
| 195 | "doctype": "Purchase Invoice", |
| 196 | "is_query_report": True |
| 197 | }, |
| 198 | { |
Anand Doshi | fa576a2 | 2014-07-17 19:12:28 +0530 | [diff] [blame] | 199 | "type": "report", |
| 200 | "name": "Balance Sheet", |
| 201 | "doctype": "GL Entry", |
| 202 | "is_query_report": True |
| 203 | }, |
| 204 | { |
Anand Doshi | 825d014 | 2014-07-18 18:05:26 +0530 | [diff] [blame] | 205 | "type": "report", |
| 206 | "name": "Profit and Loss Statement", |
| 207 | "doctype": "GL Entry", |
| 208 | "is_query_report": True |
| 209 | }, |
| 210 | { |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 211 | "type": "page", |
| 212 | "name": "financial-analytics", |
| 213 | "label": _("Financial Analytics"), |
| 214 | "icon": "icon-bar-chart", |
| 215 | }, |
| 216 | { |
| 217 | "type": "report", |
| 218 | "name": "Gross Profit", |
| 219 | "doctype": "Sales Invoice", |
| 220 | "is_query_report": True |
| 221 | }, |
| 222 | ] |
| 223 | }, |
| 224 | { |
| 225 | "label": _("Standard Reports"), |
| 226 | "icon": "icon-list", |
| 227 | "items": [ |
| 228 | { |
| 229 | "type": "report", |
| 230 | "name": "Bank Reconciliation Statement", |
| 231 | "is_query_report": True, |
| 232 | "doctype": "Journal Voucher" |
| 233 | }, |
| 234 | { |
| 235 | "type": "report", |
| 236 | "name": "Ordered Items To Be Billed", |
| 237 | "is_query_report": True, |
| 238 | "doctype": "Sales Invoice" |
| 239 | }, |
| 240 | { |
| 241 | "type": "report", |
| 242 | "name": "Delivered Items To Be Billed", |
| 243 | "is_query_report": True, |
| 244 | "doctype": "Sales Invoice" |
| 245 | }, |
| 246 | { |
| 247 | "type": "report", |
| 248 | "name": "Purchase Order Items To Be Billed", |
| 249 | "is_query_report": True, |
| 250 | "doctype": "Purchase Invoice" |
| 251 | }, |
| 252 | { |
| 253 | "type": "report", |
| 254 | "name": "Received Items To Be Billed", |
| 255 | "is_query_report": True, |
| 256 | "doctype": "Purchase Invoice" |
| 257 | }, |
| 258 | { |
| 259 | "type": "report", |
| 260 | "name": "Bank Clearance Summary", |
| 261 | "is_query_report": True, |
| 262 | "doctype": "Journal Voucher" |
| 263 | }, |
| 264 | { |
| 265 | "type": "report", |
| 266 | "name": "Payment Period Based On Invoice Date", |
| 267 | "is_query_report": True, |
| 268 | "doctype": "Journal Voucher" |
| 269 | }, |
| 270 | { |
| 271 | "type": "report", |
| 272 | "name": "Sales Partners Commission", |
| 273 | "is_query_report": True, |
| 274 | "doctype": "Sales Invoice" |
| 275 | }, |
| 276 | { |
| 277 | "type": "report", |
| 278 | "name": "Customer Account Head", |
| 279 | "is_query_report": True, |
| 280 | "doctype": "Account" |
| 281 | }, |
| 282 | { |
| 283 | "type": "report", |
| 284 | "name": "Supplier Account Head", |
| 285 | "is_query_report": True, |
| 286 | "doctype": "Account" |
| 287 | }, |
| 288 | { |
| 289 | "type": "report", |
| 290 | "name": "Item-wise Sales Register", |
| 291 | "is_query_report": True, |
| 292 | "doctype": "Sales Invoice" |
| 293 | }, |
| 294 | { |
| 295 | "type": "report", |
| 296 | "name": "Item-wise Purchase Register", |
| 297 | "is_query_report": True, |
| 298 | "doctype": "Purchase Invoice" |
| 299 | }, |
| 300 | { |
| 301 | "type": "report", |
| 302 | "name": "Budget Variance Report", |
| 303 | "is_query_report": True, |
| 304 | "doctype": "Cost Center" |
| 305 | }, |
| 306 | { |
| 307 | "type": "report", |
| 308 | "name": "Purchase Invoice Trends", |
| 309 | "is_query_report": True, |
| 310 | "doctype": "Purchase Invoice" |
| 311 | }, |
| 312 | { |
| 313 | "type": "report", |
| 314 | "name": "Sales Invoice Trends", |
| 315 | "is_query_report": True, |
| 316 | "doctype": "Sales Invoice" |
| 317 | }, |
| 318 | ] |
| 319 | }, |
| 320 | ] |