Form view doesn't refresh on one2many button action

Bug #1182392 reported by Cedric Le Brouster(OpenFire)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Incomplete
Undecided
Unassigned

Bug Description

Hello

When you click on a button of a one2many list, only the line you clicked on is refreshed.
All of the form fields should be refreshed, as the button may hav modified them.

This worked well until this revision :
http://bazaar.launchpad.net/~openerp/openerp-web/6.1/revision/2361.1.1

I tried to revert this commit locally and the bug is gone, so there should be a way to mix the 2 versions to keep the save fix and get the refresh back.

thanks

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Cedric,

I have checked your Issue with following latest revision.
OE 6.1
server : 4349
addons : 7214
web : 2512

But It's working fine as expected. so would you please check It again with latest and notify us where you have faced the problem.

Thanks and waiting for your reply!

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Cedric Le Brouster(OpenFire) (cedric-lebrouster) wrote :

Hello Amit,

Thanks for your reply.

I just took nightly build 6.1 to test again (I don't have the launchpad version yet and it would take some time to download it from 0, I'll test again with it if needed).

After cleaning mozilla's cache I still have the bug.

I can't think about an easy way to reproduce it with only OpenERP modules, the best way I see to show you is with a little patch that is quite usefull to me and gives an easy way to change sale_order_line sequences (i joined the diff file).

When I click on one of the buttons, it used to make the line I clicked on change its position with the previous line. But now I have to refresh the view manually to see the new sequence.

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Cedric,

Yes, I have faced the same problem. and as per your comment It's work fine on revision 2361.

same Issue occurs in trunk and 7.0 also. check this lp:1112169

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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