diff --git a/addons/gamification/__openerp__.py b/addons/gamification/__openerp__.py index aa205457a4f..cfff5ec0c53 100644 --- a/addons/gamification/__openerp__.py +++ b/addons/gamification/__openerp__.py @@ -33,4 +33,5 @@ ], 'installable': True, 'application': True, + 'css': ['static/src/css/goal.css'], } diff --git a/addons/gamification/goal_view.xml b/addons/gamification/goal_view.xml index e35ad91df64..dccd0f01b21 100644 --- a/addons/gamification/goal_view.xml +++ b/addons/gamification/goal_view.xml @@ -6,7 +6,7 @@ Goals gamification.goal - tree,form,calendar + tree,form,calendar,kanban

Click to create a goal. @@ -125,6 +125,34 @@ + + Goal Kanban View + gamification.goal + + + + + + + + + + +

+
+

+
+ / + ⟨%%⟩ +
+
+
+ + 7 + +
+
+ diff --git a/addons/gamification/static/src/css/goal.css b/addons/gamification/static/src/css/goal.css new file mode 100644 index 00000000000..621a75e514a --- /dev/null +++ b/addons/gamification/static/src/css/goal.css @@ -0,0 +1,16 @@ +.oe_kanban_goal { + width: 200px; + min-height: 160px; +} +.openerp .oe_kanban_view .oe_kanban_color_reached { + background-color: #A1FF81; + color: #0B1907; +} +.openerp .oe_kanban_view .oe_kanban_color_failed { + background-color: #ffc7c7; + color: #7a3737; +} +.oe_kanban_color_inprogress,.oe_kanban_color_inprogress_update,.oe_kanban_color_draft { + background-color: white; + color: black; +} \ No newline at end of file