Added missing Quotation Template doctype to the codebase.
This commit is contained in:
parent
58a06614f0
commit
a06c4cf356
@ -0,0 +1,8 @@
|
||||
// Copyright (c) 2026, Shiloh Code LLC and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
// frappe.ui.form.on("Quotation Template", {
|
||||
// refresh(frm) {
|
||||
|
||||
// },
|
||||
// });
|
||||
@ -0,0 +1,102 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_rename": 1,
|
||||
"creation": "2026-02-09 03:55:24.854156",
|
||||
"doctype": "DocType",
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"template_name",
|
||||
"is_active",
|
||||
"description",
|
||||
"source_quotation",
|
||||
"validity_days",
|
||||
"items",
|
||||
"company",
|
||||
"project_template"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"description": "Human readable name",
|
||||
"fieldname": "template_name",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Template Name",
|
||||
"reqd": 1,
|
||||
"unique": 1
|
||||
},
|
||||
{
|
||||
"default": "1",
|
||||
"description": "Hide old templates",
|
||||
"fieldname": "is_active",
|
||||
"fieldtype": "Check",
|
||||
"label": "Active"
|
||||
},
|
||||
{
|
||||
"description": "Optional",
|
||||
"fieldname": "description",
|
||||
"fieldtype": "Small Text",
|
||||
"label": "Description"
|
||||
},
|
||||
{
|
||||
"description": "Audit trail",
|
||||
"fieldname": "source_quotation",
|
||||
"fieldtype": "Link",
|
||||
"label": "Created From Quotation",
|
||||
"options": "Quotation"
|
||||
},
|
||||
{
|
||||
"default": "30",
|
||||
"description": "Quote valid for",
|
||||
"fieldname": "validity_days",
|
||||
"fieldtype": "Int",
|
||||
"label": "Default Validity Days"
|
||||
},
|
||||
{
|
||||
"fieldname": "items",
|
||||
"fieldtype": "Table",
|
||||
"label": "Items",
|
||||
"options": "Quotation Template Item",
|
||||
"reqd": 1
|
||||
},
|
||||
{
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"label": "Company",
|
||||
"options": "Company"
|
||||
},
|
||||
{
|
||||
"description": "The project that this Quotation will eventually generate.",
|
||||
"fieldname": "project_template",
|
||||
"fieldtype": "Link",
|
||||
"label": "Project Template",
|
||||
"options": "Project Template"
|
||||
}
|
||||
],
|
||||
"grid_page_length": 50,
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2026-02-10 10:46:08.039510",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Custom UI",
|
||||
"name": "Quotation Template",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"row_format": "Dynamic",
|
||||
"rows_threshold_for_grid_search": 20,
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC",
|
||||
"states": []
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2026, Shiloh Code LLC and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class QuotationTemplate(Document):
|
||||
pass
|
||||
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2026, Shiloh Code LLC and Contributors
|
||||
# See license.txt
|
||||
|
||||
# import frappe
|
||||
from frappe.tests.utils import FrappeTestCase
|
||||
|
||||
|
||||
class TestQuotationTemplate(FrappeTestCase):
|
||||
pass
|
||||
Loading…
x
Reference in New Issue
Block a user