Merge pull request #2780 from KanchanChauhan/image-in-data-import

[Fix] Image not allowed in Data Import Tool
This commit is contained in:
Nabin Hait 2017-02-28 15:23:32 +05:30 committed by GitHub
commit 26c007b5ce

View file

@ -3,7 +3,7 @@
<h5 style="margin-top: 25px; margin-bottom: 5px;">{{ doctype.name }}</h5>
<div class="row">
{% for f in doctype.fields %}
{% if (frappe.model.no_value_type.indexOf(f.fieldtype)===-1) %}
{% if (frappe.model.no_value_type.indexOf(f.fieldtype)===-1) && (f.fieldtype != "Attach") && (f.fieldtype != "Attach Image")%}
{% doctype.reqd||(f.reqd=0);%}
<div class="col-sm-4">
<div class="checkbox" style="margin: 5px 0px;">