2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/app/inventory/SerialNumber.json
2023-05-05 11:13:04 +05:30

52 lines
1.0 KiB
JSON

{
"name": "SerialNumber",
"label": "Serial Number",
"naming": "manual",
"fields": [
{
"fieldname": "name",
"fieldtype": "Data",
"label": "Serial Number",
"create": true,
"required": true
},
{
"fieldname": "item",
"fieldtype": "Link",
"label": "Item",
"target": "Item",
"create": true,
"required": true
},
{
"fieldname": "description",
"label": "Description",
"placeholder": "Serial Number Description",
"fieldtype": "Text"
},
{
"fieldname": "status",
"label": "Status",
"fieldtype": "Select",
"default": "Inactive",
"readOnly": true,
"options": [
{
"value": "Inactive",
"label": "Inactive"
},
{
"value": "Active",
"label": "Active"
},
{
"value": "Delivered",
"label": "Delivered"
}
]
}
],
"quickEditFields": ["item", "description"],
"keywordFields": ["name"]
}