Empty binary fields will show the latest shown filename of the latest non empty binary field
Bug #1054111 reported by
Carlos Sierra Andrés
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
Steps to reproduce:
In a form with an optional binary field with an associated filename create two instances, one with a file attached and another one without it. Then you can navigate from one to another using the arrows and you can see how the empty binary fields still shows the other non empty filename, instead of showing nothing.
If you have more instances with different filenames it will show the one that was shown the latest.
I attach a patch that seems to solve the problem.
patch -p1 < show_binary_
Related branches
lp:~openerp-dev/openerp-web/trunk-bug-1054111-bth
Rejected
for merging
into
lp:openerp-web
- Fabien Meghazi (OpenERP): Disapprove
-
Diff: 19 lines (+3/-2)1 file modifiedaddons/web/static/src/js/view_form.js (+3/-2)
Changed in openerp-web: | |
status: | New → Confirmed |
Changed in openerp-web: | |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
importance: | Undecided → Medium |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
Changed in openerp-web: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Fixed for 7.0 in Revision:
3691 revid:<email address hidden>
Will be soon forward-ported in trunk