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,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:39.681180",
|
"modified": "2026-01-22 11:05:23.661458",
|
||||||
"module": "Custom UI",
|
"module": "Custom UI",
|
||||||
"name": "Customer Task Link",
|
"name": "Customer Task Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -396,8 +396,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:39.752798",
|
"modified": "2026-01-22 11:05:23.730085",
|
||||||
"module": "Custom UI",
|
"module": "Custom UI",
|
||||||
"name": "Address Task Link",
|
"name": "Address Task Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -550,8 +550,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:39.827207",
|
"modified": "2026-01-22 11:05:23.799282",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Lead Companies Link",
|
"name": "Lead Companies Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -768,8 +768,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:39.914772",
|
"modified": "2026-01-22 11:05:23.867486",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address Project Link",
|
"name": "Address Project Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -986,8 +986,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.049882",
|
"modified": "2026-01-22 11:05:23.934979",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address Quotation Link",
|
"name": "Address Quotation Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -1204,8 +1204,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.145083",
|
"modified": "2026-01-22 11:05:24.001835",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address On-Site Meeting Link",
|
"name": "Address On-Site Meeting Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -1422,8 +1422,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.270888",
|
"modified": "2026-01-22 11:05:24.069255",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address Sales Order Link",
|
"name": "Address Sales Order Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -1576,8 +1576,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.346187",
|
"modified": "2026-01-22 11:05:24.137117",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Contact Address Link",
|
"name": "Contact Address Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -1730,8 +1730,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.418889",
|
"modified": "2026-01-22 11:05:24.201857",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Lead On-Site Meeting Link",
|
"name": "Lead On-Site Meeting Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -2332,8 +2332,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.507246",
|
"modified": "2026-01-22 11:05:24.288443",
|
||||||
"module": "Selling",
|
"module": "Selling",
|
||||||
"name": "Quotation Template",
|
"name": "Quotation Template",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -2830,8 +2830,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.595751",
|
"modified": "2026-01-22 11:05:24.372116",
|
||||||
"module": "Selling",
|
"module": "Selling",
|
||||||
"name": "Quotation Template Item",
|
"name": "Quotation Template Item",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -2984,8 +2984,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.676141",
|
"modified": "2026-01-22 11:05:24.439961",
|
||||||
"module": "Custom UI",
|
"module": "Custom UI",
|
||||||
"name": "Customer Company Link",
|
"name": "Customer Company Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3138,8 +3138,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.749303",
|
"modified": "2026-01-22 11:05:24.506463",
|
||||||
"module": "Custom UI",
|
"module": "Custom UI",
|
||||||
"name": "Customer Address Link",
|
"name": "Customer Address Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3292,8 +3292,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.836296",
|
"modified": "2026-01-22 11:05:24.575135",
|
||||||
"module": "Custom UI",
|
"module": "Custom UI",
|
||||||
"name": "Customer Contact Link",
|
"name": "Customer Contact Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3446,8 +3446,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.900156",
|
"modified": "2026-01-22 11:05:24.644548",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address Contact Link",
|
"name": "Address Contact Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3600,8 +3600,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:40.986399",
|
"modified": "2026-01-22 11:05:24.712407",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Customer On-Site Meeting Link",
|
"name": "Customer On-Site Meeting Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3754,8 +3754,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.054749",
|
"modified": "2026-01-22 11:05:24.786735",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Customer Project Link",
|
"name": "Customer Project Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -3908,8 +3908,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.114144",
|
"modified": "2026-01-22 11:05:24.856324",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Customer Quotation Link",
|
"name": "Customer Quotation Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -4062,8 +4062,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.170115",
|
"modified": "2026-01-22 11:05:24.924254",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Customer Sales Order Link",
|
"name": "Customer Sales Order Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -4216,8 +4216,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.226997",
|
"modified": "2026-01-22 11:05:24.990458",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Lead Address Link",
|
"name": "Lead Address Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -4370,8 +4370,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.283969",
|
"modified": "2026-01-22 11:05:25.058368",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Lead Contact Link",
|
"name": "Lead Contact Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -4524,8 +4524,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.344731",
|
"modified": "2026-01-22 11:05:25.124946",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Lead Quotation Link",
|
"name": "Lead Quotation Link",
|
||||||
"naming_rule": "",
|
"naming_rule": "",
|
||||||
|
|
@ -4678,8 +4678,8 @@
|
||||||
"make_attachments_public": 0,
|
"make_attachments_public": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"menu_index": null,
|
"menu_index": null,
|
||||||
"migration_hash": "9792f2dfc070efd283d24244c612c2d4",
|
"migration_hash": "5a00edceb2f575ccfc93ed99c01bc0b7",
|
||||||
"modified": "2026-01-20 12:56:41.401007",
|
"modified": "2026-01-22 11:05:25.193024",
|
||||||
"module": "Custom",
|
"module": "Custom",
|
||||||
"name": "Address Company Link",
|
"name": "Address Company Link",
|
||||||
"naming_rule": "",
|
"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 = [
|
fixtures = [
|
||||||
|
{
|
||||||
|
"dt": "Email Template",
|
||||||
|
"filters": [
|
||||||
|
["name", "in", ["Customer Invoice"]]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"dt": "DocType",
|
"dt": "DocType",
|
||||||
"filters": [
|
"filters": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue