hunk.code_window:                 'model': data['model'],
                   'model_id': data['model_id'],
                   'parent_id': data['parent_id'],
                   'is_used': data.get('is_used', False),
                   'lot_id': data.get('lot_id', False),
                   'type': 'line',
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:                 'usage': data.get('usage', False),
  
hunk.file_path: addons/stock/models/stock_traceability.py
hunk.type: add
file: define([], function () { // ODOO: remove error from Odoo define
    var HelpDialog = function (handler) {
      /**
       * show help dialog
       *
       * @param {jQuery} $editable
       * @param {jQuery} $dialog
       * @return {Promise}
       */
      this.showHelpDialog = function ($editable, $dialog) {
        return $.Deferred(function (deferred) {
          var $helpDialog = $dialog.find('.note-help-dialog');
  
          $helpDialog.one('hidden.bs.modal', function () {
            deferred.resolve();
          }).modal('show');
        }).promise();
      };
  
      /**
       * @param {Object} layoutInfo
       */
      this.show = function (layoutInfo) {
        var $dialog = layoutInfo.dialog(),
            $editable = layoutInfo.editable();
  
        handler.invoke('editor.saveRange', $editable, true);
        this.showHelpDialog($editable, $dialog).then(function () {
          handler.invoke('editor.restoreRange', $editable);
        });
      };
    };
  
    return HelpDialog;
  });
  