Added an email template for Customer Invoice to be filled with copywriting and customized payment links.
This commit is contained in:
parent
5b2e362100
commit
44c15961c7
4 changed files with 177 additions and 101 deletions
|
|
@ -1 +1,59 @@
|
|||
[]
|
||||
[
|
||||
{
|
||||
"allow_in_quick_entry": 0,
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"collapsible_depends_on": null,
|
||||
"columns": 0,
|
||||
"default": null,
|
||||
"depends_on": null,
|
||||
"description": "The company associated with this project template.",
|
||||
"docstatus": 0,
|
||||
"doctype": "Custom Field",
|
||||
"dt": "Project Template",
|
||||
"fetch_from": null,
|
||||
"fetch_if_empty": 0,
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"hide_border": 0,
|
||||
"hide_days": 0,
|
||||
"hide_seconds": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_global_search": 0,
|
||||
"in_list_view": 0,
|
||||
"in_preview": 0,
|
||||
"in_standard_filter": 0,
|
||||
"insert_after": "project_type",
|
||||
"is_system_generated": 1,
|
||||
"is_virtual": 0,
|
||||
"label": "Company",
|
||||
"length": 0,
|
||||
"link_filters": null,
|
||||
"mandatory_depends_on": null,
|
||||
"modified": "2026-01-08 10:32:07.535286",
|
||||
"module": null,
|
||||
"name": "Project Template-company",
|
||||
"no_copy": 0,
|
||||
"non_negative": 0,
|
||||
"options": "Company",
|
||||
"permlevel": 0,
|
||||
"placeholder": null,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": null,
|
||||
"read_only": 0,
|
||||
"read_only_depends_on": null,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"show_dashboard": 0,
|
||||
"sort_options": 0,
|
||||
"translatable": 0,
|
||||
"unique": 0,
|
||||
"width": null
|
||||
}
|
||||
]
|
||||
|
|
@ -178,8 +178,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:39.681180",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:23.661458",
|
||||
"module": "Custom UI",
|
||||
"name": "Customer Task Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -396,8 +396,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:39.752798",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:23.730085",
|
||||
"module": "Custom UI",
|
||||
"name": "Address Task Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -550,8 +550,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:39.827207",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:23.799282",
|
||||
"module": "Custom",
|
||||
"name": "Lead Companies Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -768,8 +768,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:39.914772",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:23.867486",
|
||||
"module": "Custom",
|
||||
"name": "Address Project Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -986,8 +986,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.049882",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:23.934979",
|
||||
"module": "Custom",
|
||||
"name": "Address Quotation Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -1204,8 +1204,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.145083",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.001835",
|
||||
"module": "Custom",
|
||||
"name": "Address On-Site Meeting Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -1422,8 +1422,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.270888",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.069255",
|
||||
"module": "Custom",
|
||||
"name": "Address Sales Order Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -1576,8 +1576,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.346187",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.137117",
|
||||
"module": "Custom",
|
||||
"name": "Contact Address Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -1730,8 +1730,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.418889",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.201857",
|
||||
"module": "Custom",
|
||||
"name": "Lead On-Site Meeting Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -2332,8 +2332,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.507246",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.288443",
|
||||
"module": "Selling",
|
||||
"name": "Quotation Template",
|
||||
"naming_rule": "",
|
||||
|
|
@ -2830,8 +2830,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.595751",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.372116",
|
||||
"module": "Selling",
|
||||
"name": "Quotation Template Item",
|
||||
"naming_rule": "",
|
||||
|
|
@ -2984,8 +2984,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.676141",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.439961",
|
||||
"module": "Custom UI",
|
||||
"name": "Customer Company Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3138,8 +3138,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.749303",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.506463",
|
||||
"module": "Custom UI",
|
||||
"name": "Customer Address Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3292,8 +3292,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.836296",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.575135",
|
||||
"module": "Custom UI",
|
||||
"name": "Customer Contact Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3446,8 +3446,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.900156",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.644548",
|
||||
"module": "Custom",
|
||||
"name": "Address Contact Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3600,8 +3600,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:40.986399",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.712407",
|
||||
"module": "Custom",
|
||||
"name": "Customer On-Site Meeting Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3754,8 +3754,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.054749",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.786735",
|
||||
"module": "Custom",
|
||||
"name": "Customer Project Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -3908,8 +3908,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.114144",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.856324",
|
||||
"module": "Custom",
|
||||
"name": "Customer Quotation Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -4062,8 +4062,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.170115",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.924254",
|
||||
"module": "Custom",
|
||||
"name": "Customer Sales Order Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -4216,8 +4216,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.226997",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:24.990458",
|
||||
"module": "Custom",
|
||||
"name": "Lead Address Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -4370,8 +4370,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.283969",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:25.058368",
|
||||
"module": "Custom",
|
||||
"name": "Lead Contact Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -4524,8 +4524,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.344731",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:25.124946",
|
||||
"module": "Custom",
|
||||
"name": "Lead Quotation Link",
|
||||
"naming_rule": "",
|
||||
|
|
@ -4678,8 +4678,8 @@
|
|||
"make_attachments_public": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": null,
|
||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
||||
"modified": "2026-01-20 12:56:41.401007",
|
||||
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||
"modified": "2026-01-22 11:05:25.193024",
|
||||
"module": "Custom",
|
||||
"name": "Address Company Link",
|
||||
"naming_rule": "",
|
||||
|
|
|
|||
12
custom_ui/fixtures/email_template.json
Normal file
12
custom_ui/fixtures/email_template.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"docstatus": 0,
|
||||
"doctype": "Email Template",
|
||||
"modified": "2026-01-23 08:44:37.346188",
|
||||
"name": "Customer Invoice",
|
||||
"response": "<div class=\"ql-editor read-mode\"><p>-- Copywriting goes here --</p><p>-- Customized Payment Link goes here -- </p></div>",
|
||||
"response_html": null,
|
||||
"subject": "Your Invoice is Ready",
|
||||
"use_html": 0
|
||||
}
|
||||
]
|
||||
|
|
@ -196,6 +196,12 @@ doc_events = {
|
|||
}
|
||||
|
||||
fixtures = [
|
||||
{
|
||||
"dt": "Email Template",
|
||||
"filters": [
|
||||
["name", "in", ["Customer Invoice"]]
|
||||
]
|
||||
},
|
||||
{
|
||||
"dt": "DocType",
|
||||
"filters": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue