venkata akhil
9 months ago
5 changed files with 0 additions and 109 deletions
@ -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 |
|
@ -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)
|
|
||||
// }
|
|
||||
|
|
||||
} |
|
||||
}); |
|
@ -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" |
|
||||
} |
|
@ -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) |
|
Loading…
Reference in new issue