2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +00:00

fix: batchNumber schema

This commit is contained in:
akshayitzme 2023-02-17 10:23:24 +05:30
parent 6cd1f24946
commit 722d8dd0fc

View File

@ -1,30 +1,27 @@
{
"name": "BatchNumber",
"label": "Batch Number",
"naming": "manual",
"fields": [
{
"fieldname": "name",
"fieldtype": "Data",
"create": true,
"label": "Batch Number",
"required": true
},
{
"fieldname": "expiryDate",
"fieldtype": "Date",
"label": "Expiry Date",
"create": true,
"required": false
},
{
"fieldname": "manufactureDate",
"fieldtype": "Date",
"label": "Manufacture Date",
"create": true,
"required": false
}
],
"quickEditFields": ["batchNumber", "expiryDate", "manufactureDate"],
"keywordFields": ["name"]
}
"name": "BatchNumber",
"label": "Batch Number",
"naming": "manual",
"fields": [
{
"fieldname": "name",
"fieldtype": "Data",
"label": "Batch Number",
"required": true
},
{
"fieldname": "expiryDate",
"fieldtype": "Date",
"label": "Expiry Date",
"required": false
},
{
"fieldname": "manufactureDate",
"fieldtype": "Date",
"label": "Manufacture Date",
"required": false
}
],
"quickEditFields": ["expiryDate", "manufactureDate"],
"keywordFields": ["name"]
}