| 1 | <odoo> |
| 2 | <record id="view_move_form_inherit_mrp_account" model="ir.ui.view"> |
| 3 | <field name="name">account.move.inherit.mrp.account</field> |
| 4 | <field name="model">account.move</field> |
| 5 | <field name="inherit_id" ref="account.view_move_form"/> |
| 6 | <field name="arch" type="xml"> |
| 7 | <xpath expr="//div[@name='button_box']" position="inside"> |
| 8 | <button class="oe_stat_button" name="action_view_wip_production" type="object" icon="fa-wrench" invisible="wip_production_count == 0" groups="mrp.group_mrp_user"> |
| 9 | <div class="o_field_widget o_stat_info"> |
| 10 | <span class="o_stat_value"><field name="wip_production_count"/></span> |
| 11 | <span class="o_stat_text">Manufacturing</span> |
| 12 | </div> |
| 13 | </button> |
| 14 | </xpath> |
| 15 | </field> |
| 16 | </record> |
| 17 | </odoo> |