[MOD] Smartbuttons all in one div

This commit is contained in:
oihane
2015-04-01 18:19:08 +02:00
parent 4cb746eb40
commit 6a5caabd36

View File

@@ -35,38 +35,36 @@
<field name="model">stock.production.lot</field>
<field name="inherit_id" ref="stock.view_production_lot_form" />
<field name="arch" type="xml">
<div class="oe_title" position="after">
<div class="oe_right oe_button_box" name="buttons">
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot)d"
icon="fa-list">
<field name="created_inspections"
widget="statinfo"
string="inspections" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_done)d"
icon="fa-pencil">
<field name="done_inspections" widget="statinfo" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_passed)d"
icon="fa-thumbs-o-up">
<field name="passed_inspections" widget="statinfo" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_failed)d"
icon="fa-thumbs-o-down">
<field name="failed_inspections" widget="statinfo" />
</button>
</div>
<div class="oe_button_box oe_right" position="inside">
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot)d"
icon="fa-list">
<field name="created_inspections"
widget="statinfo"
string="inspections" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_done)d"
icon="fa-pencil">
<field name="done_inspections" widget="statinfo" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_passed)d"
icon="fa-thumbs-o-up">
<field name="passed_inspections" widget="statinfo" />
</button>
<button class="oe_inline oe_stat_button"
type="action"
name="%(action_qc_inspection_per_lot_failed)d"
icon="fa-thumbs-o-down">
<field name="failed_inspections" widget="statinfo" />
</button>
</div>
</field>
</record>
</data>
</openerp>
</openerp>