2
0
mirror of https://github.com/frappe/books.git synced 2024-09-19 19:19:02 +00:00

feat: invoice returns schema

This commit is contained in:
akshayitzme 2023-09-23 15:56:24 +05:30
parent 387688cebb
commit 3199121432
4 changed files with 32 additions and 0 deletions

View File

@ -86,6 +86,13 @@
"default": false,
"section": "Features"
},
{
"fieldname": "enableInvoiceReturns",
"label": "Enable Invoice Returns",
"fieldtype": "Check",
"default": false,
"section": "Features"
},
{
"fieldname": "enableFormCustomization",
"label": "Enable Form Customization",

View File

@ -181,10 +181,21 @@
"fieldtype": "Attachment",
"section": "References"
},
{
"fieldname": "isReturned",
"fieldtype": "Check",
"hidden": true,
"default": false
},
{
"abstract": true,
"fieldname": "backReference",
"section": "References"
},
{
"abstract": true,
"fieldname": "returnAgainst",
"section": "References"
}
],
"keywordFields": ["name", "party"]

View File

@ -54,6 +54,13 @@
"fieldtype": "Float",
"readOnly": true,
"section": "Outstanding"
},
{
"fieldname": "returnAgainst",
"fieldtype": "Link",
"target": "PurchaseInvoice",
"label": "Return Against",
"section": "References"
}
],
"keywordFields": ["name", "party"]

View File

@ -54,6 +54,13 @@
"fieldtype": "Float",
"readOnly": true,
"section": "Outstanding"
},
{
"fieldname": "returnAgainst",
"fieldtype": "Link",
"target": "SalesInvoice",
"label": "Return Against",
"section": "References"
}
],
"keywordFields": ["name", "party"]