2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix: schema changes

This commit is contained in:
akshayitzme 2023-01-18 17:33:51 +05:30
parent 81d84f4220
commit 20279c5a12
4 changed files with 11 additions and 8 deletions

View File

@ -25,5 +25,6 @@
"required": false
}
],
"quickEditFields": ["batchNumber", "expiryDate", "manufactureDate"]
"quickEditFields": ["batchNumber", "expiryDate", "manufactureDate"],
"keywordFields": ["name"]
}

View File

@ -103,7 +103,7 @@
"placeholder": "Batch No"
}
],
"tableFields": ["item", "tax", "quantity", "rate", "amount", "batchNumber"],
"tableFields": ["item", "tax", "batchNumber", "quantity", "rate", "amount"],
"keywordFields": ["item", "tax"],
"quickEditFields": [
"item",
@ -111,6 +111,7 @@
"description",
"hsnCode",
"tax",
"batchNumber",
"quantity",
"rate",
"amount",
@ -118,7 +119,6 @@
"itemDiscountAmount",
"itemDiscountPercent",
"itemDiscountedTotal",
"itemTaxedTotal",
"batchNumber"
"itemTaxedTotal"
]
}

View File

@ -122,7 +122,6 @@
"quickEditFields": [
"rate",
"unit",
"hasBatchNumber",
"itemType",
"for",
"tax",
@ -130,7 +129,8 @@
"incomeAccount",
"expenseAccount",
"hsnCode",
"trackItem"
"trackItem",
"hasBatchNumber"
],
"keywordFields": ["name", "itemType", "for"]
}

View File

@ -20,7 +20,8 @@
{
"fieldname": "batchNumber",
"label": "Batch No",
"fieldtype": "Data"
"fieldtype": "Link",
"target": "BatchNumber"
},
{
"fieldname": "quantity",
@ -62,13 +63,14 @@
"placeholder": "HSN/SAC Code"
}
],
"tableFields": ["item", "location", "quantity", "rate", "amount"],
"tableFields": ["item", "location", "batchNumber", "quantity", "rate", "amount"],
"quickEditFields": [
"item",
"unit",
"description",
"hsnCode",
"location",
"batchNumber",
"quantity",
"rate",
"amount"