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