diff --git a/models/doctype/Item/Item.js b/models/doctype/Item/Item.js index a5bb3c67..b23cbf14 100644 --- a/models/doctype/Item/Item.js +++ b/models/doctype/Item/Item.js @@ -11,6 +11,11 @@ module.exports = { placeholder: 'Item Name', required: 1 }, + { + fieldname: 'image', + label: 'Image', + fieldtype: 'AttachImage' + }, { fieldname: 'description', label: 'Description', diff --git a/models/doctype/Party/Party.js b/models/doctype/Party/Party.js index eee0ee16..6aa848b8 100644 --- a/models/doctype/Party/Party.js +++ b/models/doctype/Party/Party.js @@ -13,10 +13,9 @@ module.exports = { placeholder: 'Full Name' }, { - fieldname: 'address', - label: 'Address', - fieldtype: 'Link', - target: 'Address' + fieldname: 'image', + label: 'Image', + fieldtype: 'AttachImage', }, { fieldname: 'defaultAccount',