Odoo Help


v9: How to inherit FieldBooleanButton?

Matthew Watkins
on 8/29/16, 2:16 PM 613 views

In version 9, I am trying to inherit the FieldBooleanButton object from web.form_widgets. It's telling me the object is undefined. I have no idea why. Here's my code:

odoo.define("custom_boolean_button.FieldBooleanButton", function(require) {

    "use strict";

    var form_widgets = require("web.form_widgets");


         // Do something



I receive the error:

TypeError: Cannot read property 'include' of undefined

Post bug here https://github.com/odoo/odoo/issues/new, official guys supports you.

on 9/6/16, 8:46 AM

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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/29/16, 2:16 PM
Seen: 613 times
Last updated: 8/30/16, 1:49 AM