Merge lp:~therp-nl/ocb-web/7.0-form_destroy_buttons into lp:ocb-web

Proposed by Ruchir Shukla(BizzAppDev)
Status: Rejected
Rejected by: Holger Brunn (Therp)
Proposed branch: lp:~therp-nl/ocb-web/7.0-form_destroy_buttons
Merge into: lp:ocb-web
Diff against target: 13 lines (+3/-0)
1 file modified
addons/web/static/src/js/view_form.js (+3/-0)
To merge this branch: bzr merge lp:~therp-nl/ocb-web/7.0-form_destroy_buttons
Reviewer Review Type Date Requested Status
Lara (Therp) (community) test Approve
Pedro Manuel Baeza code review and test Approve
Stefan Rijnhart (Opener) Approve
Review via email: mp+216898@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Ruchir, thanks for taking this dangling branch of Holger and propose it. I assume you have tested it thoroughly. To qualify for a merge in OCB, you need to prepare a branch that proposes the same change into upstream openerp-web. Setting to needs-fixing to indicate that this still needs to be done.

review: Needs Fixing
Revision history for this message
Ruchir Shukla(BizzAppDev) (ruchir.shukla) wrote :

Hello Stefan !

Yes I have tested this branch and it is solving the problem.

This bug is only effecting OCB branch because of changes from this (http://bazaar.launchpad.net/~ocb/ocb-web/7.0/revision/4040) commit .
And changes from this commit is not in openerp-web. So We do not have to provide any merge propose for openerp-web.

Please let me know your view on the same.

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

I see. In that case, there is a corresponding fix for upstream OpenERP, and you should propose the fix into the unmerged bugfixing branch then: https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-596129-msh/+merge/180067

Revision history for this message
Ruchir Shukla(BizzAppDev) (ruchir.shukla) wrote :
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Thank you so much for your efforts!

review: Approve
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

I have tried and it works like intended.

Thanks for the fix.

Regards.

review: Approve (code review and test)
Revision history for this message
Lara (Therp) (lfreeke) :
review: Approve (test)
Revision history for this message
Holger Brunn (Therp) (hbrunn) wrote :

Unmerged revisions

4177. By Holger Brunn (Therp)

[FIX] form.destroy() doesn't clean up buttons area

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/js/view_form.js'
2--- addons/web/static/src/js/view_form.js 2014-04-18 09:20:33 +0000
3+++ addons/web/static/src/js/view_form.js 2014-04-23 14:35:10 +0000
4@@ -147,6 +147,9 @@
5 this.$el.off('.formBlur');
6 }
7 this._super();
8+ if (this.$buttons) {
9+ this.$buttons.remove();
10+ }
11 },
12 load_form: function(data) {
13 var self = this;

Subscribers

People subscribed via source and target branches