mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
fix: show Is Required
- show Custom Form in search only if enabled
This commit is contained in:
parent
93ad5d6a9a
commit
ef5b1c80e4
@ -122,12 +122,12 @@
|
||||
"fieldtype": "AutoComplete"
|
||||
}
|
||||
],
|
||||
"tableFields": ["label", "fieldname", "fieldtype"],
|
||||
"tableFields": ["label", "fieldname", "fieldtype", "isRequired"],
|
||||
"quickEditFields": [
|
||||
"label",
|
||||
"fieldname",
|
||||
"fieldtype",
|
||||
"required",
|
||||
"isRequired",
|
||||
"options",
|
||||
"target",
|
||||
"references",
|
||||
|
@ -217,6 +217,10 @@ function getListViewList(fyo: Fyo): SearchItem[] {
|
||||
schemaNames.push(ModelNameEnum.SerialNumber);
|
||||
}
|
||||
|
||||
if (fyo.doc.singles.AccountingSettings?.enableFormCustomization) {
|
||||
schemaNames.push(ModelNameEnum.CustomForm);
|
||||
}
|
||||
|
||||
if (fyo.store.isDevelopment) {
|
||||
schemaNames = Object.keys(fyo.schemaMap) as ModelNameEnum[];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user