[IMP] display actions
bzr revid: mat@openerp.com-20130424123350-cgx663vd31vvnw7w
This commit is contained in:
parent
cc8d4ae4d4
commit
4bcaa718bd
|
@ -388,7 +388,8 @@ class gamification_goal(osv.Model):
|
|||
views = [(view_id, mode)]
|
||||
break
|
||||
action['views'] = views
|
||||
action['target'] = 'new'
|
||||
# doesn't seem to work if not in popup
|
||||
action['target'] = 'new'
|
||||
return action
|
||||
|
||||
if goal.computation_mode == 'manually':
|
||||
|
|
|
@ -153,7 +153,8 @@
|
|||
font-size: 25px;
|
||||
}
|
||||
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal div:hover > .oe_update_plan,
|
||||
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal_inner_box:hover .oe_goal_action {
|
||||
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal div:hover > .oe_goal_action,
|
||||
.openerp .oe_mail_wall .oe_mail_wall_aside .oe_goal th:hover > .oe_goal_action {
|
||||
visibility: visible;
|
||||
}
|
||||
.openerp .oe_mail_wall .oe_mail {
|
||||
|
|
|
@ -49,7 +49,13 @@
|
|||
<a class="oe_goal_action oe_e" t-att-id="planline.own_goal_id">&</a>
|
||||
</t>
|
||||
<br/>
|
||||
(Goal: max <span t-attf-class="#{planline.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="planline.target_goal" /></span><t t-if="planline.type_unit"> <t t-esc="planline.type_unit"/></t>)
|
||||
<t t-if="planline.type_condition == 'higher'">
|
||||
(Goal: max
|
||||
</t>
|
||||
<t t-if="planline.type_condition == 'lower'">
|
||||
(Goal: min
|
||||
</t>
|
||||
<span t-attf-class="#{planline.type_monetary ? 'oe_goal_field_monetary' : ''}"><t t-esc="planline.target_goal" /></span><t t-if="planline.type_unit"> <t t-esc="planline.type_unit"/></t>)
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
Loading…
Reference in New Issue