|
| 1 | +============================= |
| 2 | +Create your own digest emails |
| 3 | +============================= |
| 4 | +To create your own Digest Email, navigate to your **Settings** App and proceed to :menuselection:`General Settings --> Statistics --> Digest Settings`. Click **--> Configure Digest Emails** and then click **Create**. |
| 5 | + |
| 6 | +From there, give your Digest Email a title, specify periodicity, and choose your desired KPIs and recipients fields as needed. After you click **Save**, your new custom Digest Email will be available from the list under **Settings / Digest Emails** and in the dropdown menu on the General Settings screen. |
| 7 | + |
| 8 | +Add custom KPIs with Odoo Studio |
| 9 | +================================ |
| 10 | +For either *Your Odoo Periodic Digest* or your own custom Digest Email, you can add your own KPIs by using Odoo Studio. |
| 11 | + |
| 12 | +To begin, click the **Toggle Studio** icon or click the **Recipients** tab and then the ellipses :menuselection:`… icon --> Add Custom Field` to edit the template or add additional fields. |
| 13 | + |
| 14 | +In order to create additional fields, you must create 2 fields on the digest object: |
| 15 | + |
| 16 | +#. first, create a boolean field called `kpi_myfield` and display it in the KPIs tab; |
| 17 | +#. then create a computed field called `kpi_myfield_value` that will compute your customized KPI; |
| 18 | +#. finally, select your KPI(s) in the KPIs tab. |
| 19 | + |
| 20 | +Computed values reference table |
| 21 | +------------------------------- |
| 22 | ++-----------------------+-----------------------------------------+ |
| 23 | +| LABEL | VALUE | |
| 24 | ++-----------------------+-----------------------------------------+ |
| 25 | +| Connected Users | kpi_res_users_connected_value | |
| 26 | ++-----------------------+-----------------------------------------+ |
| 27 | +| Messages Sent | kpi_mail_message_total_value | |
| 28 | ++-----------------------+-----------------------------------------+ |
| 29 | +| New Leads | kpi_mail_message_total_value | |
| 30 | ++-----------------------+-----------------------------------------+ |
| 31 | +| Opportunities Won | kpi_crm_opportunities_won_value | |
| 32 | ++-----------------------+-----------------------------------------+ |
| 33 | +| Open Tasks | kpi_project_task_opened_value | |
| 34 | ++-----------------------+-----------------------------------------+ |
| 35 | +| Tickets Closed | kpi_helpdesk_tickets_closed_value | |
| 36 | ++-----------------------+-----------------------------------------+ |
| 37 | +| % of Happiness | kpi_livechat_rating_value | |
| 38 | ++-----------------------+-----------------------------------------+ |
| 39 | +| Conversations handled | kpi_livechat_conversations_value | |
| 40 | ++-----------------------+-----------------------------------------+ |
| 41 | +| Time to answer (sec) | kpi_livechat_response_value | |
| 42 | ++-----------------------+-----------------------------------------+ |
| 43 | +| All Sales | kpi_all_sale_total_value | |
| 44 | ++-----------------------+-----------------------------------------+ |
| 45 | +| eCommerce Sales | kpi_website_sale_total_value | |
| 46 | ++-----------------------+-----------------------------------------+ |
| 47 | +| Revenue | kpi_account_total_revenue_value | |
| 48 | ++-----------------------+-----------------------------------------+ |
| 49 | +| Bank & Cash Moves | kpi_account_bank_cash_value | |
| 50 | ++-----------------------+-----------------------------------------+ |
| 51 | +| POS Sales | kpi_pos_total_value | |
| 52 | ++-----------------------+-----------------------------------------+ |
| 53 | +| New Employees | kpi_hr_recruitment_new_colleagues_value | |
| 54 | ++-----------------------+-----------------------------------------+ |
0 commit comments