~julie-w/unifield-web/US-8208

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/templates/error_page.mako

  • Committer: jf
  • Date: 2020-11-18 13:09:44 UTC
  • Revision ID: jfb@tempo-consulting.fr-20201118130944-hok9usf5r399j09n
Tags: uf19.0, uf19.0rc3
US-8050 [FIX] Parent Segment: new segment, modified date empty, click on Completed, don't click on 'Ok' in the msg box, Save: parent is duplicated

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
                    % else:
203
203
                         <script type="text/javascript">
204
204
                            jQuery('.save_close:eq(0) button').removeAttr('disabled');
 
205
                            % if all_params and all_params.get('_terp_id') and all_params.get('_terp_model') == 'replenishment.parent.segment':
 
206
                                if(jQuery('#_terp_ids').length) {
 
207
                                    jQuery('#_terp_id').val('${all_params.get('_terp_id')}')
 
208
                                }
 
209
                            % endif
205
210
 
206
211
                            function close_me() {
207
212
                                if (typeof close_error_window !== 'undefined') {