跳至内容
菜单
此问题已终结
4481 查看

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
4021
1
6月 24
1226
1
1月 20
7913
0
11月 19
3676
6
8月 19
4474