mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
38 lines
955 B
JavaScript
38 lines
955 B
JavaScript
module.exports = {
|
|
commonFields: [
|
|
{
|
|
fieldname: 'name', fieldtype: 'Data', required: 1
|
|
}
|
|
],
|
|
parentFields: [
|
|
{
|
|
fieldname: 'owner', fieldtype: 'Data', required: 1
|
|
},
|
|
{
|
|
fieldname: 'modifieldBy', 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
|
|
}
|
|
]
|
|
}; |