summaryrefslogtreecommitdiff
path: root/addons/gamification/views
diff options
context:
space:
mode:
authorPatrick Hoste <pko@odoo.com>2019-08-13 11:28:41 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-13 11:29:44 +0000
commit175994cbe25e5c9c4fc58ac95f4ac835b53d4f2f (patch)
treeabadf5106c29a1467f36678214e98fdf6ff69192 /addons/gamification/views
parentc52c8da4914da9e36e0518ce35ae02bf09206b1f (diff)
[FIX][IMP] various: correctly place ribbon widget in form views
PURPOSE Have a nice ribbon widget to display state of records: part II SPECIFICATIONS Next to 883c96b781b0bf8235dfddbd3dfff6bb97291d63 and recent ribbon widget update some form views have to be updated. It is best displayed following those rules * after oe_button_box in order to fix overlapping; * before image to overlap it cleanly; LINKS Task ID : 2032621 PR : #34662 Task
Diffstat (limited to 'addons/gamification/views')
-rw-r--r--addons/gamification/views/badge.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/views/badge.xml b/addons/gamification/views/badge.xml
index 10c424115a3..6b16b9e7417 100644
--- a/addons/gamification/views/badge.xml
+++ b/addons/gamification/views/badge.xml
@@ -38,8 +38,8 @@
<button string="Grant this Badge" type="action" name="%(action_grant_wizard)d" class="oe_highlight" attrs="{'invisible': [('remaining_sending','=',0)]}" />
</header>
<sheet>
- <widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<div class="oe_button_box" name="button_box"/>
+ <widget name="web_ribbon" text="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<field name="image_1920" widget="image" class="oe_avatar" options="{'preview_image': 'image_128'}"/>
<div class="oe_title">
<label for="name" class="oe_edit_only"/>