Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/7.0-opw-577662-port-bth into lp:openerp-web/7.0.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-577662-port-bth/+merge/144262

Hello,

   Selected tab in previous record, should select in current record if it is 
exist.
i.e: one record has opened/selected 2nd tab(Account) then in next record if 2nd 
tab(Account) is there then should selected 2nd one. Else if it not there then 
should select first one tab.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-577662-port-bth/+merge/144262
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/7.0-opw-577662-port-bth.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2013-01-07 16:18:07 +0000
+++ addons/web/static/src/js/view_form.js	2013-01-22 10:27:21 +0000
@@ -1514,10 +1514,6 @@
             if (! page.__ic)
                 return;
             page.__ic.on("change:effective_invisible", null, function() {
-                if (!page.__ic.get('effective_invisible')) {
-                    $new_notebook.tabs('select', i);
-                    return;
-                }
                 var current = $new_notebook.tabs("option", "selected");
                 if (! pages[current].__ic || ! pages[current].__ic.get("effective_invisible"))
                     return;

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to