Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4474 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 17
4019
1
thg 6 24
1222
1
thg 1 20
7905
0
thg 11 19
3670
6
thg 8 19
4471