2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/schemas/app/AccountingLedgerEntry.json
18alantom d9415233f5 fix(ux): Add sections for a few Entry types
- remove widgets from the QuickEditForm
- remove redundant files
2023-04-14 15:31:04 +05:30

99 lines
2.0 KiB
JSON

{
"name": "AccountingLedgerEntry",
"label": "Accounting Ledger Entry",
"create": false,
"isSingle": false,
"isChild": false,
"naming": "autoincrement",
"fields": [
{
"label": "Entry No.",
"fieldname": "name",
"fieldtype": "Data",
"required": true,
"readOnly": true,
"section": "Default"
},
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Datetime",
"readOnly": true,
"section": "Default"
},
{
"fieldname": "party",
"label": "Party",
"fieldtype": "Link",
"target": "Party",
"readOnly": true,
"section": "Default"
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
"required": true,
"readOnly": true,
"section": "Default"
},
{
"fieldname": "debit",
"label": "Debit",
"fieldtype": "Currency",
"readOnly": true,
"section": "Details"
},
{
"fieldname": "credit",
"label": "Credit",
"fieldtype": "Currency",
"readOnly": true,
"section": "Details"
},
{
"fieldname": "referenceType",
"label": "Ref. Type",
"fieldtype": "Data",
"readOnly": true,
"section": "Reference"
},
{
"fieldname": "referenceName",
"label": "Ref. Name",
"fieldtype": "DynamicLink",
"references": "referenceType",
"readOnly": true,
"section": "Reference"
},
{
"fieldname": "reverted",
"label": "Reverted",
"fieldtype": "Check",
"default": false,
"readOnly": true,
"section": "Reference"
},
{
"fieldname": "reverts",
"label": "Reverts",
"fieldtype": "Link",
"target": "AccountingLedgerEntry",
"readOnly": true,
"section": "Reference"
}
],
"quickEditFields": [
"date",
"account",
"party",
"debit",
"credit",
"referenceType",
"referenceName",
"reverted",
"reverts"
]
}