Ir al contenido
Menú
Se marcó esta pregunta
4490 Vistas

Am using Odoo10 customized in file web\static\src\js\views\form_view.js as below method:

  form_view.js

      odoo.define('web.FormRenderingEngine', function (require) {

       "use strict";

       process_group: function($group) {

              // custom Code

      }

   });

Am extending this file like as mention below: 

var FormRenderingEngine = require('web.FormRenderingEngine');

return FormRenderingEngine.extend({

  process_group: function($group) {   // custom Code

}

}};

.extend or include doesn't work.

please anyone help me to resolve this. 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 17
4021
1
jun 24
1228
1
ene 20
7913
0
nov 19
3677
6
ago 19
4474