Added the fixtures

This commit is contained in:
Duradundi 2026-09-11 13:50:06 +03:00
parent 8ac9bfb78a
commit fd78497b90
37 changed files with 13141 additions and 12211 deletions

View File

@ -0,0 +1,8 @@
// Copyright (c) 2026, seyfert and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Building", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,47 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:building",
"creation": "2026-09-11 10:00:27.264345",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"building"
],
"fields": [
{
"fieldname": "building",
"fieldtype": "Data",
"label": "Building",
"unique": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2026-09-11 10:00:27.264345",
"modified_by": "Administrator",
"module": "Asset Lite",
"name": "Building",
"naming_rule": "By fieldname",
"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",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class Building(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestBuilding(FrappeTestCase):
pass

View File

@ -0,0 +1,8 @@
// Copyright (c) 2026, seyfert and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Floor", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,47 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:floor",
"creation": "2026-09-11 10:03:15.547888",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"floor"
],
"fields": [
{
"fieldname": "floor",
"fieldtype": "Data",
"label": "Floor",
"unique": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2026-09-11 10:03:15.547888",
"modified_by": "Administrator",
"module": "Asset Lite",
"name": "Floor",
"naming_rule": "By fieldname",
"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": []
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class Floor(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestFloor(FrappeTestCase):
pass

View File

@ -0,0 +1,8 @@
// Copyright (c) 2026, seyfert and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Infrastructure Location", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,97 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "format:{building}-{department}-{room_no}-{location}",
"creation": "2026-09-11 10:01:11.294476",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"building",
"room_no",
"check_xqxx",
"column_break_jbgn",
"department",
"location"
],
"fields": [
{
"fieldname": "building",
"fieldtype": "Link",
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Building",
"options": "Building"
},
{
"fieldname": "room_no",
"fieldtype": "Link",
"in_filter": 1,
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Room No",
"options": "Room"
},
{
"default": "0",
"fieldname": "check_xqxx",
"fieldtype": "Check",
"hidden": 1,
"label": "enable"
},
{
"fieldname": "column_break_jbgn",
"fieldtype": "Column Break"
},
{
"fieldname": "department",
"fieldtype": "Link",
"in_filter": 1,
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Department",
"options": "Department"
},
{
"fieldname": "location",
"fieldtype": "Link",
"in_filter": 1,
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Location",
"options": "Location"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2026-09-11 10:01:11.294476",
"modified_by": "Administrator",
"module": "Asset Lite",
"name": "Infrastructure Location",
"naming_rule": "Expression (old style)",
"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",
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class InfrastructureLocation(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestInfrastructureLocation(FrappeTestCase):
pass

View File

@ -0,0 +1,8 @@
// Copyright (c) 2026, seyfert and contributors
// For license information, please see license.txt
// frappe.ui.form.on("Room", {
// refresh(frm) {
// },
// });

View File

@ -0,0 +1,68 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "field:room",
"creation": "2026-09-11 10:00:49.148814",
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"room",
"location_name",
"department",
"building"
],
"fields": [
{
"fieldname": "room",
"fieldtype": "Data",
"label": "Room",
"unique": 1
},
{
"fieldname": "location_name",
"fieldtype": "Link",
"label": "Location Name",
"options": "Location"
},
{
"fieldname": "department",
"fieldtype": "Link",
"label": "Department",
"options": "Department"
},
{
"fieldname": "building",
"fieldtype": "Link",
"label": "Building",
"options": "Building"
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2026-09-11 10:00:49.148814",
"modified_by": "Administrator",
"module": "Asset Lite",
"name": "Room",
"naming_rule": "By fieldname",
"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",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
}

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class Room(Document):
pass

View File

@ -0,0 +1,9 @@
# Copyright (c) 2026, seyfert and Contributors
# See license.txt
# import frappe
from frappe.tests.utils import FrappeTestCase
class TestRoom(FrappeTestCase):
pass

View File

@ -0,0 +1,9 @@
[
{
"asset_type": "Biomedical",
"docstatus": 0,
"doctype": "Asset Type",
"modified": "2026-09-11 12:13:53.678914",
"name": "Biomedical"
}
]

View File

@ -17090,8 +17090,8 @@
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 0,
@ -17109,13 +17109,13 @@
"select": 1,
"share": 0,
"submit": 0,
"write": 0
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 0,
@ -17133,7 +17133,7 @@
"select": 1,
"share": 0,
"submit": 0,
"write": 0
"write": 1
},
{
"amend": 0,
@ -17666,8 +17666,8 @@
{
"amend": 0,
"cancel": 0,
"create": 0,
"delete": 0,
"create": 1,
"delete": 1,
"docstatus": 0,
"doctype": "Custom DocPerm",
"email": 0,
@ -17685,7 +17685,7 @@
"select": 1,
"share": 0,
"submit": 0,
"write": 0
"write": 1
},
{
"amend": 0,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
[
{
"custom_biomedical": 1,
"description": null,
"docstatus": 0,
"doctype": "Issue Type",
"modified": "2026-09-11 13:39:20.037693",
"name": "Repair (CM)"
}
]

View File

@ -0,0 +1,15 @@
[
{
"docstatus": 0,
"doctype": "Item Group",
"image": null,
"is_group": 0,
"item_group_defaults": [],
"item_group_name": "Biomedical",
"modified": "2026-09-11 12:15:59.373671",
"name": "Biomedical",
"old_parent": "All Item Groups",
"parent_item_group": "All Item Groups",
"taxes": []
}
]

View File

@ -1,5 +1,6 @@
[
{
"attach_files": null,
"attach_print": 0,
"channel": "System Notification",
"condition": null,
@ -10,6 +11,7 @@
"document_type": "PPM OF CT SCAN MACHINE",
"enabled": 1,
"event": "New",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -17,6 +19,9 @@
"modified": "2024-09-13 18:36:01.964568",
"module": "Asset Lite",
"name": "PPM CT Scan Created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -41,6 +46,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to technician\"",
@ -51,6 +57,7 @@
"document_type": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -58,6 +65,9 @@
"modified": "2024-09-13 18:36:01.936897",
"module": "Asset Lite",
"name": "PPM of EF inside rooms created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -82,6 +92,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to technician\"",
@ -92,6 +103,7 @@
"document_type": "PPM OF ELECTRICAL PANELS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -99,6 +111,9 @@
"modified": "2024-09-13 18:36:01.901996",
"module": "Asset Lite",
"name": "PPM of electrical panels created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -123,6 +138,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to technician\"",
@ -133,6 +149,7 @@
"document_type": "PPM OF FIRE ALARM DEVICES",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -140,6 +157,9 @@
"modified": "2024-09-13 18:36:01.859947",
"module": "Asset Lite",
"name": "PPM of FIRE ALARM DEVICES created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -164,6 +184,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to technician\"",
@ -174,6 +195,7 @@
"document_type": "PPM OF MRI SCAN MACHINE",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -181,6 +203,9 @@
"modified": "2024-09-13 18:36:01.812441",
"module": "Asset Lite",
"name": "PPM of MRI scan machine created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -205,6 +230,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -215,6 +241,7 @@
"document_type": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -222,6 +249,9 @@
"modified": "2024-09-13 18:36:01.771103",
"module": "Asset Lite",
"name": "PPM of Electrical fixtures Inside rooms send for approve",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -246,6 +276,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -256,6 +287,7 @@
"document_type": "PPM OF CT SCAN MACHINE",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -263,6 +295,9 @@
"modified": "2024-09-13 18:36:01.726455",
"module": "Asset Lite",
"name": "PPM of ct scan machine send for approve",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -287,6 +322,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -297,6 +333,7 @@
"document_type": "PPM OF MRI SCAN MACHINE",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -304,6 +341,9 @@
"modified": "2024-09-13 18:36:01.681508",
"module": "Asset Lite",
"name": "PPM of mri scan machine send for approve",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -328,6 +368,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -338,6 +379,7 @@
"document_type": "PPM OF ELECTRICAL PANELS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -345,6 +387,9 @@
"modified": "2024-09-13 18:36:01.630231",
"module": "Asset Lite",
"name": "PPM of Electrical panels send for approve",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -369,6 +414,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -379,6 +425,7 @@
"document_type": "PPM OF FIRE ALARM DEVICES",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -386,6 +433,9 @@
"modified": "2024-09-13 18:36:01.582191",
"module": "Asset Lite",
"name": "PPM of Fire alarm device send for approve",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -410,6 +460,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -420,6 +471,7 @@
"document_type": "PPM OF ELECTRICAL FIXTURES INSIDE ROOMS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -427,6 +479,9 @@
"modified": "2024-09-13 18:36:01.525130",
"module": "Asset Lite",
"name": "PPM of Electrical fixtures Inside rooms approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -451,6 +506,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -461,6 +517,7 @@
"document_type": "PPM OF FIRE ALARM DEVICES",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -468,6 +525,9 @@
"modified": "2024-09-13 18:36:01.462397",
"module": "Asset Lite",
"name": "PPM of Fire Alarm Device approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -492,6 +552,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -502,6 +563,7 @@
"document_type": "PPM OF CT SCAN MACHINE",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -509,6 +571,9 @@
"modified": "2024-09-13 18:36:01.398061",
"module": "Asset Lite",
"name": "PPM of CT Scan Machine approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -533,6 +598,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -543,6 +609,7 @@
"document_type": "PPM OF MRI SCAN MACHINE",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -550,6 +617,9 @@
"modified": "2024-09-13 18:36:01.322685",
"module": "Asset Lite",
"name": "PPM of MRI Scan Machine approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -574,6 +644,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -584,6 +655,7 @@
"document_type": "PPM OF ELECTRICAL PANELS",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -591,6 +663,9 @@
"modified": "2024-09-13 18:36:01.112009",
"module": "Asset Lite",
"name": "PPM of Electrical Panel approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -615,6 +690,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Applied\"",
@ -625,6 +701,7 @@
"document_type": "Purchase Request",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -632,6 +709,9 @@
"modified": "2024-09-20 13:41:45.579645",
"module": "Asset Lite",
"name": "Purchase request created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -656,6 +736,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to Procurement User\"",
@ -666,6 +747,7 @@
"document_type": "Purchase Request",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -673,6 +755,9 @@
"modified": "2024-09-20 13:47:51.986704",
"module": "Asset Lite",
"name": "Purchase Request Sent to Procurement User",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -697,6 +782,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -707,6 +793,7 @@
"document_type": "Purchase Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -714,6 +801,9 @@
"modified": "2024-09-20 14:20:14.465868",
"module": "Asset Lite",
"name": "Purchase Order Creation",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -738,6 +828,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "",
@ -748,6 +839,7 @@
"document_type": "Purchase Invoice",
"enabled": 1,
"event": "Submit",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -755,6 +847,9 @@
"modified": "2024-09-20 14:21:48.808080",
"module": "Asset Lite",
"name": "Purchase Invoice Submitted",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -779,6 +874,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to technician\"",
@ -789,6 +885,7 @@
"document_type": "PPM",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -796,6 +893,9 @@
"modified": "2024-09-26 15:36:46.992161",
"module": "Asset Lite",
"name": "PPM Created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -820,6 +920,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\"",
@ -830,6 +931,7 @@
"document_type": "PPM",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -837,6 +939,9 @@
"modified": "2024-09-26 15:36:22.820850",
"module": "Asset Lite",
"name": "PPM send for approval",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -861,6 +966,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Approved\"",
@ -871,6 +977,7 @@
"document_type": "PPM",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -878,6 +985,9 @@
"modified": "2024-09-26 15:36:03.093643",
"module": "Asset Lite",
"name": "PPM Approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -902,6 +1012,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Rejected\"",
@ -912,6 +1023,7 @@
"document_type": "PPM",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -919,6 +1031,9 @@
"modified": "2024-09-26 15:37:26.703066",
"module": "Asset Lite",
"name": "PPM Rejected",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -943,6 +1058,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.item_group == \"Tools\"",
@ -953,6 +1069,7 @@
"document_type": "Item",
"enabled": 1,
"event": "Days Before",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -960,6 +1077,9 @@
"modified": "2026-08-03 11:59:02.542534",
"module": "Asset Lite",
"name": "Due Date Notification For Tool Item",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -994,6 +1114,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.voucher_type==\"Depreciation Entry\"",
@ -1004,6 +1125,7 @@
"document_type": "Journal Entry",
"enabled": 1,
"event": "New",
"from_attach_field": null,
"is_standard": 0,
"message": "<h5>Journal Entry Created for Depreciation Entry</h5>\n<h5>Details: {{ doc.remark }}</h5>\n<p>Click the link below to view the journal entry:</p>\n<a href=\"http://192.168.1.108/app/journal-entry/{{ doc.name }}\">View Journal Entry</a>",
"message_type": "Markdown",
@ -1011,6 +1133,9 @@
"modified": "2025-01-07 14:50:07.706103",
"module": null,
"name": "Journal entry notification",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1035,6 +1160,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": null,
@ -1045,6 +1171,7 @@
"document_type": "Material Request",
"enabled": 1,
"event": "New",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1052,6 +1179,9 @@
"modified": "2025-02-17 21:06:34.081864",
"module": null,
"name": "Create",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1076,6 +1206,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state=='Sent to Procurement User'",
@ -1086,6 +1217,7 @@
"document_type": "Material Request",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1093,6 +1225,9 @@
"modified": "2025-02-17 21:08:09.610940",
"module": null,
"name": "Notify User",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1117,6 +1252,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": null,
@ -1127,6 +1263,7 @@
"document_type": "Asset",
"enabled": 1,
"event": "Days Before",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1134,6 +1271,9 @@
"modified": "2024-12-26 18:29:16.976372",
"module": null,
"name": "Asset Due Date",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1158,6 +1298,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": null,
@ -1168,6 +1309,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Days Before",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1175,6 +1317,9 @@
"modified": "2026-08-03 12:00:42.187759",
"module": "Asset Lite",
"name": "Deadline Date",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1199,6 +1344,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Rejected\"",
@ -1209,6 +1355,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1216,6 +1363,9 @@
"modified": "2026-01-12 15:57:19.836528",
"module": "Asset Lite",
"name": "Work order Rejected",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1260,6 +1410,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Completed\" and (doc.company ==\"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
@ -1270,6 +1421,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1277,6 +1429,9 @@
"modified": "2026-08-12 12:20:47.199206",
"module": "Asset Lite",
"name": "Work order Approved",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1321,6 +1476,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Pending Approval\" and (doc.company ==\"Iman General Hospital\" or doc.company == \"Mobile Team - Iman\")",
@ -1331,6 +1487,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1338,6 +1495,9 @@
"modified": "2026-08-12 12:22:47.792157",
"module": "Asset Lite",
"name": "Work order Pending Approval",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1372,6 +1532,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Repair InProgress\"",
@ -1382,6 +1543,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1389,6 +1551,9 @@
"modified": "2026-01-12 15:51:38.072916",
"module": "Asset Lite",
"name": "Work order Assigned.",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1423,6 +1588,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent To Maintenance manger\"",
@ -1433,6 +1599,7 @@
"document_type": "Work_Order",
"enabled": 0,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1440,6 +1607,9 @@
"modified": "2026-01-12 15:47:48.807307",
"module": "Asset Lite",
"name": "Work order Created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1464,6 +1634,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to General WOA\"",
@ -1474,6 +1645,7 @@
"document_type": "Work_Order",
"enabled": 0,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1481,6 +1653,9 @@
"modified": "2026-01-12 15:47:48.698048",
"module": "Asset Lite",
"name": "Work order creation",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1505,6 +1680,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": null,
@ -1515,6 +1691,7 @@
"document_type": "PM Schedule Generator",
"enabled": 1,
"event": "Days After",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1522,6 +1699,9 @@
"modified": "2025-12-31 19:43:51.618897",
"module": "Asset Lite",
"name": "PPM Due",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1546,6 +1726,7 @@
"value_changed": null
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent to Team Leader\"",
@ -1556,6 +1737,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1563,6 +1745,9 @@
"modified": "2026-01-12 15:49:31.962000",
"module": "Asset Lite",
"name": "WO Creation",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1597,6 +1782,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Closed\"",
@ -1607,6 +1793,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1614,6 +1801,9 @@
"modified": "2026-08-12 12:37:14.552101",
"module": "Asset Lite",
"name": "WO Close",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1648,6 +1838,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Sent To Project Manager\"",
@ -1658,6 +1849,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1665,6 +1857,9 @@
"modified": "2026-08-13 17:00:32.314840",
"module": "Asset Lite",
"name": "WO Sent To Project Manager",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [
@ -1689,6 +1884,7 @@
"value_changed": "workflow_state"
},
{
"attach_files": null,
"attach_print": 0,
"channel": "Email",
"condition": "doc.workflow_state == \"Closed\"",
@ -1699,6 +1895,7 @@
"document_type": "Work_Order",
"enabled": 1,
"event": "Value Change",
"from_attach_field": null,
"is_standard": 0,
"message": "Add your message here",
"message_type": "Markdown",
@ -1706,6 +1903,9 @@
"modified": "2026-08-18 15:42:44.801598",
"module": "Asset Lite",
"name": "Feedback Form Created",
"notification_message": null,
"notification_title": null,
"notification_type": null,
"print_format": null,
"property_value": null,
"recipients": [

File diff suppressed because it is too large Load Diff

View File

@ -22,11 +22,14 @@
"module": "Buying",
"name": "Drop Shipping Format",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "Yes"
},
@ -53,11 +56,14 @@
"module": "Accounts",
"name": "Point of Sale",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "JS",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "Yes"
},
@ -84,11 +90,14 @@
"module": "Selling",
"name": "Return POS Invoice",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "Yes"
},
@ -115,11 +124,14 @@
"module": "Regional",
"name": "IRS 1099 Form",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 1,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -146,11 +158,14 @@
"module": "Asset Lite",
"name": "PPM Service Report",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -177,11 +192,14 @@
"module": "Asset Lite",
"name": "Service Report",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -208,11 +226,14 @@
"module": "Asset Lite",
"name": "PPM Sticker",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -239,11 +260,14 @@
"module": "Assets",
"name": "PPM Asset",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -270,11 +294,14 @@
"module": "Asset Lite",
"name": "PPM Asset Service",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -301,11 +328,14 @@
"module": "Asset Lite",
"name": "Work_Order PF",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -332,11 +362,14 @@
"module": "Assets",
"name": "Asset Maintenance PF",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -363,11 +396,14 @@
"module": "Buying",
"name": "RFQ",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -394,11 +430,14 @@
"module": "Assets",
"name": "Asset QR",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -425,11 +464,14 @@
"module": "Selling",
"name": "POS Invoice",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "Yes"
},
@ -456,11 +498,14 @@
"module": "Accounts",
"name": "Cheque Printing Format",
"page_number": null,
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "Yes"
},
@ -487,11 +532,14 @@
"module": "Asset Lite",
"name": "Job Order",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -518,11 +566,14 @@
"module": "Assets",
"name": "PPM",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -549,11 +600,14 @@
"module": "Stock",
"name": "Spare Parts Request",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -580,11 +634,14 @@
"module": "Assets",
"name": "Installation Report",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -611,11 +668,14 @@
"module": "Asset Lite",
"name": "Return Report",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -642,11 +702,14 @@
"module": "Assets",
"name": "Dismantelling Report",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -673,11 +736,14 @@
"module": "Asset Lite",
"name": "PM Schedule Generator",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -704,11 +770,14 @@
"module": "Asset Lite",
"name": "Stay Plugged",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -735,11 +804,14 @@
"module": "Asset Lite",
"name": "Safety check",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -766,11 +838,14 @@
"module": "Asset Lite",
"name": "PPM Assets",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
},
@ -797,11 +872,14 @@
"module": "Asset Lite",
"name": "Annual PPM Plans For Vendors",
"page_number": "Hide",
"pdf_generator": null,
"print_format_builder": 0,
"print_format_builder_beta": 0,
"print_format_for": null,
"print_format_type": "Jinja",
"raw_commands": null,
"raw_printing": 0,
"report": null,
"show_section_headings": 0,
"standard": "No"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -313,13 +313,13 @@
"doctype_event": "Before Insert",
"enable_rate_limit": 0,
"event_frequency": "All",
"modified": "2026-08-06 21:09:20.199705",
"modified": "2026-09-11 10:16:51.025991",
"module": "Asset Lite",
"name": "Create Item on Asset",
"rate_limit_count": 5,
"rate_limit_seconds": 86400,
"reference_doctype": "Asset",
"script": "# Check if an item already exists\r\nitem_exists = frappe.db.exists(\"Item\", doc.asset_name)\r\n\r\nif not item_exists:\r\n # Create new item since it does not exist\r\n new_item = frappe.get_doc({\r\n \"doctype\": \"Item\",\r\n \"item_code\": doc.asset_name,\r\n \"item_name\": doc.asset_name,\r\n \"asset_category\": \"Bio Medical\",\r\n \"custom_gross_purchase_amount\": doc.gross_purchase_amount,\r\n \"custom_available_for_use_date\": doc.available_for_use_date,\r\n \"is_fixed_asset\": 1,\r\n \"is_stock_item\":0,\r\n \"custom_asset_type\": doc.custom_asset_type,\r\n \"item_group\": \"Biomedical\",\r\n \"stock_uom\": \"Nos\",\r\n \"custom_hospital_name\":doc.company\r\n })\r\n new_item.insert(ignore_permissions=True) # Ignore permission issues\r\n # frappe.msgprint(f\"Item {doc.asset_name} has been created\")\r\n\r\n # Assign newly created item to asset's item_code field\r\n doc.item_code = doc.asset_name\r\n\r\nelse:\r\n # If item exists, fetch the document and assign the name\r\n item_doc = frappe.get_doc(\"Item\", item_exists)\r\n doc.item_code = item_doc.name\r\n\r\n\r\n# if doc.custom_local_id:\r\n# if frappe.db.exists(\"Asset\", {\"custom_local_id\": doc.custom_local_id}):\r\n# frappe.throw(f\"Local ID: {doc.custom_local_id} is already exists. Please enter a unique LOCAL ID.\")\r\n# if doc.custom_serial_number:\r\n# if frappe.db.exists(\"Asset\", {\"custom_serial_number\": doc.custom_serial_number}):\r\n# frappe.throw(f\"Serial Number: {doc.custom_serial_number} is already exists. Please enter a unique Serial Number.\")\r\n",
"script": "if not doc.custom_moh_engg:\r\n doc.custom_moh_engg = doc.custom_assigned_technician\r\n \r\n\r\n# Check if an item already exists\r\nitem_exists = frappe.db.exists(\"Item\", doc.asset_name)\r\n\r\nif not item_exists:\r\n # Create new item since it does not exist\r\n new_item = frappe.get_doc({\r\n \"doctype\": \"Item\",\r\n \"item_code\": doc.asset_name,\r\n \"item_name\": doc.asset_name,\r\n \"asset_category\": \"Bio Medical\",\r\n \"custom_gross_purchase_amount\": doc.gross_purchase_amount,\r\n \"custom_available_for_use_date\": doc.available_for_use_date,\r\n \"is_fixed_asset\": 1,\r\n \"is_stock_item\":0,\r\n \"custom_asset_type\": doc.custom_asset_type,\r\n \"item_group\": \"Biomedical\",\r\n \"stock_uom\": \"Nos\",\r\n \"custom_hospital_name\":doc.company\r\n })\r\n new_item.insert(ignore_permissions=True) # Ignore permission issues\r\n # frappe.msgprint(f\"Item {doc.asset_name} has been created\")\r\n\r\n # Assign newly created item to asset's item_code field\r\n doc.item_code = doc.asset_name\r\n\r\nelse:\r\n # If item exists, fetch the document and assign the name\r\n item_doc = frappe.get_doc(\"Item\", item_exists)\r\n doc.item_code = item_doc.name\r\n\r\n\r\n# if doc.custom_local_id:\r\n# if frappe.db.exists(\"Asset\", {\"custom_local_id\": doc.custom_local_id}):\r\n# frappe.throw(f\"Local ID: {doc.custom_local_id} is already exists. Please enter a unique LOCAL ID.\")\r\n# if doc.custom_serial_number:\r\n# if frappe.db.exists(\"Asset\", {\"custom_serial_number\": doc.custom_serial_number}):\r\n# frappe.throw(f\"Serial Number: {doc.custom_serial_number} is already exists. Please enter a unique Serial Number.\")\r\n",
"script_type": "DocType Event"
},
{

View File

@ -7,6 +7,7 @@
"allow_incomplete": 0,
"allow_multiple": 0,
"allow_print": 0,
"allowed_embedding_domains": null,
"amount": 0.0,
"amount_based_on_field": 0,
"amount_field": null,
@ -24,6 +25,7 @@
"doctype": "Web Form",
"introduction_text": "<div class=\"ql-editor read-mode\"><p>Work Order is Closed Please Give Your Feedback Here</p></div>",
"is_standard": 0,
"key_required": 0,
"list_columns": [],
"list_title": null,
"login_required": 0,

File diff suppressed because it is too large Load Diff

View File

@ -128,6 +128,7 @@
"parent": "Asset Management",
"parentfield": "shortcuts",
"parenttype": "Workspace",
"report_ref_doctype": "Work_Order",
"restrict_to_domain": null,
"stats_filter": null,
"type": "Report",
@ -144,6 +145,7 @@
"parent": "Asset Management",
"parentfield": "shortcuts",
"parenttype": "Workspace",
"report_ref_doctype": "Asset Maintenance Log",
"restrict_to_domain": null,
"stats_filter": null,
"type": "Report",

View File

@ -285,7 +285,10 @@ fixtures = [
{"doctype": "Server Script", "filters": [["module","=","Asset Lite"]]},
{"doctype": "Notification", "filters": [["is_standard","=",0]]},
{"doctype": "Report", "filters": [["module","=","Asset Lite"]]},
{"doctype": "Web Form", "filters": [["module","=","Asset Lite"]]},
{"doctype": "Asset Type", "filters": [["asset_type","=","Biomedical"]]},
{"doctype": "Item Group", "filters": [["item_group_name","=","Biomedical"]]},
{"doctype": "Issue Type", "filters": [["custom_biomedical","=",1]]},
{
"doctype": "Dashboard Chart",
"filters": [