[IMP] improves the layout of the three stat buttons (schedule call/meeting/convert to opp) in logged calls form view (addon crm)

bzr revid: ged@openerp.com-20140414124926-lggdqus1agzzr7dh
This commit is contained in:
Gery Debongnie 2014-04-14 14:49:26 +02:00
parent c9c2ed506a
commit 69af9ca3dc
1 changed files with 9 additions and 5 deletions

View File

@ -66,13 +66,17 @@
<sheet string="Phone Call">
<div class="oe_right oe_button_box">
<button class="oe_inline oe_stat_button" type="object" name="action_button_convert2opportunity"
icon="fa-star" string="Opportunity"
attrs="{'invisible':[ '|', ('opportunity_id','!=',False), ('state', 'not in', ('open', 'done'))]}"
help="Convert to Opportunity" widget="statinfo"/>
icon="fa-star" attrs="{'invisible':[ '|', ('opportunity_id','!=',False), ('state', 'not in', ('open', 'done'))]}"
help="Convert To Opportunity">
<div>Convert To<br/>Opportunity</div>
</button>
<button class="oe_inline oe_stat_button" type="action"
name="%(phonecall_to_phonecall_act)d" icon="fa-phone" string="Other Call" widget="statinfo"/>
name="%(phonecall_to_phonecall_act)d" icon="fa-phone">
<div>Schedule<br/>Other Call</div>
</button>
<button class="oe_inline oe_stat_button" name="action_make_meeting" type="object" icon="fa-calendar fa-fw">
<field string="Plan Meeting" name="meeting_count" widget="statinfo" />
<div>Schedule<br/>A Meeting</div>
</button>
</div>
<div class="oe_title">