[FIX] fix button looks in module install view
authorGéry Debongnie <ged@odoo.com>
Thu, 23 Oct 2014 09:25:26 +0000 (11:25 +0200)
committerGéry Debongnie <ged@odoo.com>
Wed, 29 Oct 2014 07:38:18 +0000 (08:38 +0100)
The 'install' and 'installed' buttons are supposed to look different,
and to show the 'disabled' look on already installed modules.

openerp/addons/base/module/module_view.xml

index f9b00bb..2b99ac1 100644 (file)
                              <t t-if="record.summary.raw_value"><field name="summary"/><br/></t>
                              <i><field name="name" groups="base.group_no_one"/></i>
                           </p>
-                          <button type="object" name="button_immediate_install" states="uninstalled">Install</button>
-                          <button t-if="installed" disabled="disabled">Installed</button>
+                          <a class="btn btn-default btn-sm" type="object" name="button_immediate_install" states="uninstalled">Install</a>
+                          <a t-if="installed" class="btn btn-default btn-sm disabled" disabled="disabled">Installed</a>
                         </div>
                       </div>
                     </t>