Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create doctype #41

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright (c) 2024, 8848 Digital LLP and contributors
// For license information, please see license.txt

frappe.ui.form.on('Generate Group ID', {
// refresh: function(frm) {

// }
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"actions": [],
"allow_rename": 1,
"autoname": "field:pan",
"creation": "2024-02-20 11:09:47.097835",
"default_view": "List",
"doctype": "DocType",
"editable_grid": 1,
"engine": "InnoDB",
"field_order": [
"pan",
"pan_no",
"document_no",
"random_id",
"dacument_type"
],
"fields": [
{
"fieldname": "pan",
"fieldtype": "Data",
"label": "Pan",
"unique": 1
},
{
"fieldname": "pan_no",
"fieldtype": "Data",
"label": "Pan No"
},
{
"fieldname": "document_no",
"fieldtype": "Data",
"label": "Document No"
},
{
"fieldname": "random_id",
"fieldtype": "Data",
"label": "Random ID"
},
{
"fieldname": "dacument_type",
"fieldtype": "Select",
"label": "Dacument Type",
"options": "\nSales Invoice\nPurchase Invoice"
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-02-20 15:52:09.400343",
"modified_by": "Administrator",
"module": "GST India",
"name": "Generate Group ID",
"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
}
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2024, 8848 Digital LLP and contributors
# For license information, please see license.txt

# import frappe
from frappe.model.document import Document

class GenerateGroupID(Document):
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024, 8848 Digital LLP and Contributors
# See license.txt

# import frappe
from frappe.tests.utils import FrappeTestCase


class TestGenerateGroupID(FrappeTestCase):
pass
Loading