2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

fix: Add image fields to Item and Party

This commit is contained in:
Faris Ansari 2019-11-20 00:44:57 +05:30
parent 259f22df09
commit 6656d22cd1
2 changed files with 8 additions and 4 deletions

View File

@ -11,6 +11,11 @@ module.exports = {
placeholder: 'Item Name', placeholder: 'Item Name',
required: 1 required: 1
}, },
{
fieldname: 'image',
label: 'Image',
fieldtype: 'AttachImage'
},
{ {
fieldname: 'description', fieldname: 'description',
label: 'Description', label: 'Description',

View File

@ -13,10 +13,9 @@ module.exports = {
placeholder: 'Full Name' placeholder: 'Full Name'
}, },
{ {
fieldname: 'address', fieldname: 'image',
label: 'Address', label: 'Image',
fieldtype: 'Link', fieldtype: 'AttachImage',
target: 'Address'
}, },
{ {
fieldname: 'defaultAccount', fieldname: 'defaultAccount',