mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MOD] Fixed MO view
This commit is contained in:
committed by
Oihane Crucelaegui
parent
d234e88200
commit
67b5e2de0f
@@ -8,25 +8,35 @@
|
||||
<field name="domain">[('production', '=', active_id)]</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrp_production_qc_view">
|
||||
<field name="name">mrp.production.form.qc</field>
|
||||
<record model="ir.ui.view" id="mrp.mrp_production_buttons">
|
||||
<field name="name">mrp.production.buttons</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view" />
|
||||
<field name="arch" type="xml">
|
||||
<div class="oe_title" position="after">
|
||||
<div class="oe_right oe_button_box">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
type="action"
|
||||
name="%(action_qc_inspection_per_production)d"
|
||||
icon="fa-bookmark-o">
|
||||
<field name="created_inspections"
|
||||
widget="statinfo"
|
||||
string="inspections" />
|
||||
</button>
|
||||
<div class="oe_right oe_button_box" name="buttons">
|
||||
</div>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="mrp_production_qc_view">
|
||||
<field name="name">mrp.production.form.qc</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_buttons" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="buttons" position="inside">
|
||||
<button class="oe_inline oe_stat_button"
|
||||
type="action"
|
||||
name="%(action_qc_inspection_per_production)d"
|
||||
icon="fa-bookmark-o">
|
||||
<field name="created_inspections"
|
||||
widget="statinfo"
|
||||
string="inspections" />
|
||||
</button>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user