Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
List View Settings Permits Attach_Image field in list view, While customize doctype forbids checking the in_list_view box for attach image fields. | GoodFirstPicks

List View Settings Permits Attach_Image field in list view, While customize doctype forbids checking the in_list_view box for attach image fields.

frappe/frappe 0 comments 7d ago
View on GitHub
lowopenScope: clearSkill match: yesFrappe / ERPNextPython

Why this is a good first issue

Inconsistent validation for attach_image fields between list view settings and doctype customization.

AI Summary

The issue reports a conflict where attach_image fields are allowed in list view settings but forbidden in doctype customization. The fix requires aligning validation logic between these two components.

Issue Description

Description of the issue

I was configuring manufacturer logos to show in list view, I added a small client side script and configured my list view settings through the GUI, and everything worked perfectly.

Later when attempting to customize the manufacturer doctype, I noticed the validation error

"'In List View' is not allowed for field Logo (logo) of type Attach Image"

I can see here in the list view settings, when adding a field to the list view, only no value fields are forbidden to be added. https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/list/list_settings.js#L325

Yet in the doctype validation code, no value fields are added as black listed fields in the list view, and then arbitrarily attach_image is black listed https://github.com/frappe/frappe/blob/develop/frappe/core/doctype/doctype/doctype.py#L1794

There is a conflict, in 1 place attach_image fields are blacklisted from appearing on the list view, and in the other place, its fine.

I suggest modifying the one line in https://github.com/frappe/frappe/blob/develop/frappe/core/doctype/doctype/doctype.py#L1794 to remove attach_field a

GitHub Labels

bug

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!

Risk Flags

  • potential UI impact
Loading labels...

Details

Points10 pts
Difficultylow
Scopeclear
Skill Matchyes
Test Focusedno