Odoo Help


2 Answers
Bréndou Serge Eric
17. 12. 19. 오전 4:26

Thanks Suraj! I found how to do it; i'm using  web.Widget instead.

var core = require('web.core');
var Widget= require('web.Widget'); var widgetRegistry = require('web.widget_registry'); var FieldManagerMixin = require('web.FieldManagerMixin');
var MyWidget = Widget.extend(FieldManagerMixin, {
init: function (parent, model, state) {
this._super(parent); FieldManagerMixin.init.call(this); // init code here
start: function () {
events: {
"click button.ct_button_filter": "open_search_dialog",
open_search_dialog: function () {
display_filter: function () {

'my_widget', MyWidget
On the form side i call it this way <widget name="my_widget"/> 
18. 5. 7. 오전 2:51

Hi guys kindly give me an information about how to call this widget in xml side with some detail information hope it will help me a lot

Rohit Pandey
19. 2. 19. 오전 2:52

How can i place Odoo control pannel in custom widget @Bréndou Serge Eric

Suraj Shukla (suh)
17. 12. 13. 오전 7:34

Hello, you can do it as follows:

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

var MyWidget = FormView.extend({

  template: "your template name",

events: {

//events here


//functions for widge 


return MyWidget;

Ask a Question
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now