From fc3a0b75f98770bd2a955e1dd20a5d420852a2e4 Mon Sep 17 00:00:00 2001 From: venkata akhil Date: Fri, 15 Dec 2023 17:44:05 +0530 Subject: [PATCH] Torque table column doctype delete --- .../doctype/torque_table_column/__init__.py | 0 .../test_torque_table_column.py | 8 --- .../torque_table_column.js | 18 ----- .../torque_table_column.json | 66 ------------------- .../torque_table_column.py | 17 ----- 5 files changed, 109 deletions(-) delete mode 100644 smart_service/phase_2/doctype/torque_table_column/__init__.py delete mode 100644 smart_service/phase_2/doctype/torque_table_column/test_torque_table_column.py delete mode 100644 smart_service/phase_2/doctype/torque_table_column/torque_table_column.js delete mode 100644 smart_service/phase_2/doctype/torque_table_column/torque_table_column.json delete mode 100644 smart_service/phase_2/doctype/torque_table_column/torque_table_column.py diff --git a/smart_service/phase_2/doctype/torque_table_column/__init__.py b/smart_service/phase_2/doctype/torque_table_column/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/smart_service/phase_2/doctype/torque_table_column/test_torque_table_column.py b/smart_service/phase_2/doctype/torque_table_column/test_torque_table_column.py deleted file mode 100644 index 6ad1dc6..0000000 --- a/smart_service/phase_2/doctype/torque_table_column/test_torque_table_column.py +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and Contributors -# See license.txt - -# import frappe -import unittest - -class TestTorqueTableColumn(unittest.TestCase): - pass diff --git a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.js b/smart_service/phase_2/doctype/torque_table_column/torque_table_column.js deleted file mode 100644 index eb7c21f..0000000 --- a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.js +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors -// For license information, please see license.txt - -frappe.ui.form.on('Torque Table Column', { - // refresh: function(frm) { - - // } -}); -frappe.ui.form.on('Torque Table Column Child Table', { - torque_table_columns_add: function(frm,cdt,cdn) { - var child = locals[cdt][cdn]; - // if(!child.column_name){ - // frappe.msgprint("should add data") - // console.log("column_name"+child.column_name) - // } - - } -}); \ No newline at end of file diff --git a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.json b/smart_service/phase_2/doctype/torque_table_column/torque_table_column.json deleted file mode 100644 index 88c9bce..0000000 --- a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "actions": [], - "allow_rename": 1, - "autoname": "format:{variant}", - "creation": "2023-12-08 14:40:14.464142", - "doctype": "DocType", - "editable_grid": 1, - "engine": "InnoDB", - "field_order": [ - "variant", - "vehicle", - "section_break_bytf4", - "torque_table_columns" - ], - "fields": [ - { - "fieldname": "variant", - "fieldtype": "Link", - "in_list_view": 1, - "label": "Variant", - "options": "Variant Mapping", - "reqd": 1 - }, - { - "fetch_from": "variant.vehicle", - "fieldname": "vehicle", - "fieldtype": "Data", - "in_list_view": 1, - "label": "Vehicle", - "reqd": 1 - }, - { - "fieldname": "section_break_bytf4", - "fieldtype": "Section Break" - }, - { - "fieldname": "torque_table_columns", - "fieldtype": "Table", - "label": "Torque Table Columns", - "options": "Torque Table Column Child Table" - } - ], - "index_web_pages_for_search": 1, - "links": [], - "modified": "2023-12-12 12:09:57.530576", - "modified_by": "Administrator", - "module": "Phase-2", - "name": "Torque Table Column", - "owner": "Administrator", - "permissions": [ - { - "create": 1, - "delete": 1, - "email": 1, - "export": 1, - "print": 1, - "read": 1, - "report": 1, - "role": "System Manager", - "share": 1, - "write": 1 - } - ], - "sort_field": "modified", - "sort_order": "DESC" -} \ No newline at end of file diff --git a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.py b/smart_service/phase_2/doctype/torque_table_column/torque_table_column.py deleted file mode 100644 index 22b5983..0000000 --- a/smart_service/phase_2/doctype/torque_table_column/torque_table_column.py +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2023, Hard n Soft Technologies Pvt Ltd and contributors -# For license information, please see license.txt - -# import frappe -from frappe.model.document import Document - -class TorqueTableColumn(Document): - pass - - -# def generate_col_seq(col_data): -# try: - - - -# except Exception as e: -# return str(e) \ No newline at end of file