mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
38 lines
954 B
JavaScript
38 lines
954 B
JavaScript
module.exports = {
|
|
commonFields: [
|
|
{
|
|
fieldname: 'name', fieldtype: 'Data', required: 1
|
|
}
|
|
],
|
|
parentFields: [
|
|
{
|
|
fieldname: 'owner', fieldtype: 'Data', required: 1
|
|
},
|
|
{
|
|
fieldname: 'modifiedBy', fieldtype: 'Data', required: 1
|
|
},
|
|
{
|
|
fieldname: 'creation', fieldtype: 'Datetime', required: 1
|
|
},
|
|
{
|
|
fieldname: 'modified', fieldtype: 'Datetime', required: 1
|
|
},
|
|
{
|
|
fieldname: 'keywords', fieldtype: 'Text'
|
|
}
|
|
],
|
|
childFields: [
|
|
{
|
|
fieldname: 'idx', fieldtype: 'Int', required: 1
|
|
},
|
|
{
|
|
fieldname: 'parent', fieldtype: 'Data', required: 1
|
|
},
|
|
{
|
|
fieldname: 'parenttype', fieldtype: 'Data', required: 1
|
|
},
|
|
{
|
|
fieldname: 'parentfield', fieldtype: 'Data', required: 1
|
|
}
|
|
]
|
|
}; |