[FIX] ir_ui_view: Active (boolean) should not be required
authorDenis Ledoux <dle@odoo.com>
Wed, 17 Sep 2014 11:54:11 +0000 (13:54 +0200)
committerDenis Ledoux <dle@odoo.com>
Wed, 17 Sep 2014 11:55:00 +0000 (13:55 +0200)
If so, impossible to uncheck the box in the webclient

openerp/addons/base/ir/ir_ui_view.py

index ce6f2b4..7685b34 100644 (file)
@@ -167,7 +167,7 @@ class view(osv.osv):
   (<xpath/>) are applied, and the result is used as if it were this view's
   actual arch.
 """),
-        'active': fields.boolean("Active", required=True,
+        'active': fields.boolean("Active",
             help="""If this view is inherited,
 * if True, the view always extends its parent
 * if False, the view currently does not extend its parent but can be enabled