2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 03:29:00 +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 "required": false
} }
], ],
"quickEditFields": ["batchNumber", "expiryDate", "manufactureDate"] "quickEditFields": ["batchNumber", "expiryDate", "manufactureDate"],
"keywordFields": ["name"]
} }

View File

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

View File

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

View File

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