mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MOD] Smartbuttons all in one div
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user