Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4411 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 17
3931
1
čvn 24
1151
1
led 20
7754
0
lis 19
3547
6
srp 19
4402