コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4553 ビュー

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. 

アバター
破棄
関連投稿 返信 ビュー 活動
0
12月 17
4051
1
6月 24
1266
1
1月 20
7974
0
11月 19
3721
6
8月 19
4510