[7.0] Wrong binary fields representation in o2m list views and unnecessary preloading
Bug #1167429 reported by
Enrico Ganzaroli
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Web Team | ||
OpenERP Community Backports (Web) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In list views, binary fields anchors are filled with "data:applicati
I think the proper representation should be a link to download the file as in form view.
This seems related to this bug (marked as fixed in version 6.1): https:/
-- edit stefan -- This also implies that the binary contents are preloaded every time that the view is loaded.
Related branches
lp:~therp-nl/openerp-web/7.0-lp1167429-binary_fields_in_o2m_representation_and_unnecessary_preloading
Ready for review
for merging
into
lp:openerp-web/7.0
- OpenERP Core Team: Pending requested
-
Diff: 48 lines (+8/-8)3 files modifiedaddons/web/static/src/js/data.js (+1/-1)
addons/web/static/src/js/view_form.js (+4/-0)
addons/web/static/src/js/view_list.js (+3/-7)
lp:~stefan-opener/ocb-web/7.0-lp1167429-binary_fields_in_o2m_representation_and_unnecessary_preloading
- Guewen Baconnier @ Camptocamp: Approve
- Pedro Manuel Baeza: Approve
- Holger Brunn (Therp): Approve (code review)
-
Diff: 48 lines (+8/-8)3 files modifiedaddons/web/static/src/js/data.js (+1/-1)
addons/web/static/src/js/view_form.js (+4/-0)
addons/web/static/src/js/view_list.js (+3/-7)
Changed in ocb-web: | |
status: | New → Fix Released |
To post a comment you must log in.
Hello Enrico,
I have tested your Issue with latest (trunk/7.0) revision. and It's seems fine as per your expectation. That's why I have attached the screen capture for you reference. would you please check It and notify us if something is wrong in this part.
Thanks and waiting for your reply!