[IMP] Opportunities form view: use <div> for buttons, highlight first action button in topbar

bzr revid: fme@openerp.com-20120516111659-zlc768ymthbyedjr
This commit is contained in:
Fabien Meghazi
2012-05-16 13:16:59 +02:00
parent 742124c840
commit a4e5ef3bd1
+11 -9
View File
@@ -400,7 +400,7 @@
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Opportunities" layout="manual">
<div class="oe_form_topbar">
<div class="oe_form_topbar oe_form_topbar_hifirst">
<button name="case_cancel" string="Cancel" states="draft" type="object" icon="gtk-cancel" />
<button name="case_mark_lost" string="Mark Lost" states="open,pending" type="object" icon="gtk-cancel" />
<button name="case_reset" string="Reset to Draft" states="done,cancel" type="object" icon="gtk-convert" />
@@ -413,14 +413,16 @@
</div>
</div>
<sheet layout="auto">
<group colspan="4" col="3">
<field name="name" required="1" nolabel="1" class="oe_form_title" width="80%%"/>
<button string="Schedule/Log Call"
name="%(opportunity2phonecall_act)d" icon="terp-call-start"
type="action"/>
<button string="Schedule Meeting" icon="gtk-redo"
name="action_makeMeeting"
type="object"/>
<group colspan="4" col="2" width="auto">
<field name="name" required="1" nolabel="1" class="oe_form_title"/>
<div class="oe_text_right">
<button string="Schedule/Log Call"
name="%(opportunity2phonecall_act)d" icon="terp-call-start"
type="action"/>
<button string="Schedule Meeting" icon="gtk-redo"
name="action_makeMeeting"
type="object"/>
</div>
</group>
<group colspan="4" col="4" class="oe_form_group_label_border" style="margin-top: 20px;">
<field name="user_id"/>