summaryrefslogtreecommitdiff
path: root/openerp/addons/base/module/module_view.xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-06-15 16:31:27 +0200
committerGéry Debongnie <ged@odoo.com>2015-06-15 16:31:27 +0200
commit2c7367a8cc8d9e200b1fa2083ce0d80f8f4e4bd3 (patch)
treeaf916cff4d94554b1e9667913e3feb331ec81a13 /openerp/addons/base/module/module_view.xml
parent5cb10d4fc9594f0c6825757c24d66d63664ce026 (diff)
parent82186a93bb3f93c36667835df68fa31dcacf97a2 (diff)
[MERGE] new kanban view
This branch introduces the new kanban view. It is not completely compatible with the previous version. Here are a few importants points to be aware of: * the kanban view template is rendered directly, not put inside a div. It means that if a template has more than one root, chaos will ensue * kanban view has been split into several files, and various js modules have changed. For example, the KanbanRecord class is now exported by the 'web_kanban.Record' module. So, require statements need to be updated * records do not have access to the view (i.e., record.view.is_action_enabled('edit')) You can use the 'editable' and 'deletable' key instead
Diffstat (limited to 'openerp/addons/base/module/module_view.xml')
-rw-r--r--openerp/addons/base/module/module_view.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/openerp/addons/base/module/module_view.xml b/openerp/addons/base/module/module_view.xml
index 99b29647fe8..00716c073d8 100644
--- a/openerp/addons/base/module/module_view.xml
+++ b/openerp/addons/base/module/module_view.xml
@@ -80,12 +80,12 @@
By <field name="author" class="oe_inline"/>
</h3>
<div>
- <button name="button_immediate_install" states="uninstalled" string="Install" type="object" class="oe_highlight"/>
- <button name="button_immediate_upgrade" states="installed" string="Upgrade" type="object" class="oe_highlight"/>
- <button name="button_uninstall" states="installed" string="Uninstall" type="object"/>
- <button name="button_uninstall_cancel" states="to remove" string="Cancel Uninstall" type="object"/>
- <button name="button_upgrade_cancel" states="to upgrade" string="Cancel Upgrade" type="object"/>
- <button name="button_install_cancel" states="to install" string="Cancel Install" type="object"/>
+ <button name="button_immediate_install" states="uninstalled" string="Install" type="object" class="btn btn-primary"/>
+ <button name="button_immediate_upgrade" states="installed" string="Upgrade" type="object" class="btn btn-primary"/>
+ <button name="button_uninstall" states="installed" string="Uninstall" type="object" class="btn btn-default"/>
+ <button name="button_uninstall_cancel" states="to remove" string="Cancel Uninstall" type="object" class="btn btn-default"/>
+ <button name="button_upgrade_cancel" states="to upgrade" string="Cancel Upgrade" type="object" class="btn btn-default"/>
+ <button name="button_install_cancel" states="to install" string="Cancel Install" type="object" class="btn btn-default"/>
</div>
</div>
<div class="oe_clear"/>
@@ -170,8 +170,8 @@
<t t-if="record.summary.raw_value"><field name="summary"/><br/></t>
<i><field name="name" groups="base.group_no_one"/></i>
</p>
- <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>
+ <button type="object" class="btn btn-primary pull-right btn-sm" name="button_immediate_install" states="uninstalled">Install</button>
+ <button type="button" t-if="installed" class="btn btn-default pull-right btn-sm disabled" disabled="disabled">Installed</button>
</div>
</div>
</t>
@@ -209,4 +209,4 @@
<menuitem id="menu_module_updates" parent="base.menu_management" sequence="20" action="modules_updates_act_cl"/>
</data>
-</openerp>
+</openerp> \ No newline at end of file