Version 6.x.x Source

Table Name: `tabEmail Digest`

Send regular summary reports via Email.

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `settings` | Section Break | Email Digest Settings |
2 | `column_break0` | Column Break |  |
3 | `enabled` | Check | Enabled |
4 | `company` | Link | For Company | Company
5 | `frequency` | Select | How frequently? |
    Daily
    Weekly
    Monthly
6 | `next_send` | Data | Next email will be sent on: |
7 | `column_break1` | Column Break |  |
8 | `recipient_list` | Text | Recipients Note: Email will not be sent to disabled users |
9 | `addremove_recipients` | Button | Add/Remove Recipients |
10 | `accounts` | Section Break | Accounts |
11 | `accounts_module` | Column Break | Income / Expense |
12 | `income` | Check | Income |
13 | `expenses_booked` | Check | Expense |
14 | `bank_balance` | Check | Bank Balance |
15 | `income_year_to_date` | Check | Annual Income |
16 | `expense_year_to_date` | Check | Annual Expense |
17 | `column_break_16` | Column Break | Receivables / Payables |
18 | `invoiced_amount` | Check | Receivables |
19 | `payables` | Check | Payables |
20 | `other` | Section Break | Other |
21 | `add_quote` | Check | Add Quote |

### Controller

#### erpnext.setup.doctype.email_digest.email_digest

### Class EmailDigest

Inherits from frappe.model.document.Document

__init__ (self, arg1, arg2=None)

No docs

fmt_money (self, value)

No docs

get_bank_balance (self)

No docs

get_calendar_events (self)

Get calendar events for given user

get_expense_year_to_date (self)

Get income to date

get_expenses_booked (self)

No docs

get_from_to_date (self)

No docs

get_income (self)

Get income for given period

get_income_year_to_date (self)

Get income to date

get_invoiced_amount (self)

No docs

get_msg_html (self)

Build email digest content

get_next_sending (self)

No docs

get_notifications (self)

Get notifications for user

get_payables (self)

No docs

get_period_amounts (self, accounts)

Get amounts for current and past periods

get_root_type_accounts (self, root_type)

No docs

get_todo_list (self, user_id=None)

Get to-do list

get_type_balance (self, fieldname, account_type)

No docs

get_users (self)

get list of users

get_year_to_date_balance (self, root_type)

Get income to date

onload (self)

No docs

send (self)

No docs

set_accounting_cards (self, context)

Create accounting cards if checked

set_dates (self)

No docs

set_style (self, context)

Set standard digest style

set_title (self, context)

Set digest title

Public API
`/api/method/erpnext.setup.doctype.email_digest.email_digest.get_digest_msg`

erpnext.setup.doctype.email_digest.email_digest.get_digest_msg (name)

No docs

erpnext.setup.doctype.email_digest.email_digest.send ()

No docs