mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-17 11:52:38 +00:00
Co-authored-by: nareshkannasln <nareshkannashanmugam@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"actions": [],
|
||||
"allow_bulk_edit": 1,
|
||||
"allow_import": 1,
|
||||
"allow_rename": 1,
|
||||
"autoname": "naming_series:",
|
||||
@@ -129,10 +130,11 @@
|
||||
],
|
||||
"icon": "fa fa-user",
|
||||
"links": [],
|
||||
"modified": "2026-03-26 14:45:09.568829",
|
||||
"modified": "2026-06-16 16:04:12.762960",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Setup",
|
||||
"name": "Driver",
|
||||
"naming_rule": "By \"Naming Series\" field",
|
||||
"owner": "Administrator",
|
||||
"permissions": [
|
||||
{
|
||||
@@ -159,6 +161,18 @@
|
||||
"role": "Delivery Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
},
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"quick_entry": 1,
|
||||
|
||||
@@ -29,6 +29,7 @@ class Driver(Document):
|
||||
naming_series: DF.Literal["HR-DRI-.YYYY.-"]
|
||||
status: DF.Literal["Active", "Suspended", "Left"]
|
||||
transporter: DF.Link | None
|
||||
user: DF.Link | None
|
||||
# end: auto-generated types
|
||||
|
||||
def validate(self):
|
||||
|
||||
Reference in New Issue
Block a user