Empty binary fields will show the latest shown filename of the latest non empty binary field

Bug #1054111 reported by Carlos Sierra Andrés
16
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_field.patch

Related branches

Revision history for this message
Carlos Sierra Andrés (csierra-h) wrote :
Anand (anand-m-patel)
Changed in openerp-web:
status: New → Confirmed
Amit Parik (amit-parik)
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
Revision history for this message
Fabien Meghazi (OpenERP) (fme) wrote :

Fixed for 7.0 in Revision:
3691 revid:<email address hidden>

Will be soon forward-ported in trunk

Changed in openerp-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.