~unifield-team/unifield-web/uf-1309

« back to all changes in this revision

Viewing changes to addons/openerp/static/javascript/form.js

  • Committer: jf
  • Date: 2012-08-24 15:49:29 UTC
  • mfrom: (4660.2.4 unifield-web)
  • Revision ID: jf@tempo4-20120824154929-chzeeqc9ixloys2p
UF-1299 [IMP] Add a button to change the destination location of an INT confirmed/available/not available...
UF-1315 [IMP] Lines are editable while o2m is readonly - readonly policy conflict?
OEB-13 [FIX] fix popup create a new record instead of reloading content when clicking on a button
UF-1296 [IMP] Inconsistent warning message at the "scheduler run"
lp:~unifield-team/unifield-web/web_uf_1299
lp:~unifield-team/unifield-web/uf_1296_action_empty_ids

Show diffs side-by-side

added added

removed removed

Lines of Context:
1000
1000
            var ids = eval(jQuery('#_terp_ids').val());
1001
1001
            if (ids && ids.length > 0){
1002
1002
                params['_terp_selection'] = '[' + ids[0] + ']';
1003
 
            } else {
1004
 
                error_display(_('You must select one or several records !'));
 
1003
            } else if ($src.attr('empty_ids')!="1") {
 
1004
                return error_display(_('You must select one or several records !'));
1005
1005
            }
1006
1006
        }
1007
1007
        var id = eval(params['_terp_selection'])[0]