463 lines
25 KiB
XML
463 lines
25 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<record id="view_mrp_production_work_order_search" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.search</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<search>
|
||
|
<field name="workcenter_id"/>
|
||
|
<filter string="Today" name="today" domain="[('date_start','>=',time.strftime('%%Y-%%m-%%d'))]"/>
|
||
|
<filter string="This Month" name="thismonth" domain="[('date_start','>=',time.strftime('%%Y-%%m-01'))]"/>
|
||
|
<filter string="This Year" name="thisyear" domain="[('date_start','>=',time.strftime('%%Y-01-01'))]"/>
|
||
|
<separator/>
|
||
|
<filter string="Ready" name="ready" domain="[('state','=','ready')]"/>
|
||
|
<filter string="Pending" name="pending" domain="[('state','=','pending')]"/>
|
||
|
<filter string="In Progress" name="progress" domain="[('state','=','progress')]"/>
|
||
|
<filter string="Done" name="done" domain="[('state','=', 'done')]"/>
|
||
|
<filter string="Late" name="late" domain="[('date_planned_start','<=',time.strftime('%%Y-%%m-%%d'))]"/>
|
||
|
<separator/>
|
||
|
</search>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="mrp_workorder_delta_report" model="ir.actions.act_window">
|
||
|
<field name="name">Work Orders Deviation</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">graph,pivot,tree,form,gantt,calendar</field>
|
||
|
<field name="context">{'search_default_workcenter_id': active_id}</field>
|
||
|
<field name="domain">[]</field>
|
||
|
<field name="help" type="html">
|
||
|
<p>
|
||
|
No data to display. You will get here statistics about the
|
||
|
work orders duration related to this routing.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="action_mrp_routing_time" model="ir.actions.act_window">
|
||
|
<field name="name">Work Orders</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">graph,pivot,tree,form,gantt,calendar</field>
|
||
|
<field name="context">{'search_default_done': True}</field>
|
||
|
<field name="search_view_id" ref="view_mrp_production_work_order_search"/>
|
||
|
<field name="domain">[('production_id.routing_id', '=', active_id), ('state', '=', 'done')]</field>
|
||
|
<field name="help" type="html">
|
||
|
<p>
|
||
|
No data to display. You will get here statistics about the
|
||
|
work orders duration related to this routing.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.actions.act_window" id="action_mrp_workorder_production_specific">
|
||
|
<field name="name">Work Orders</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">tree,form,gantt,calendar,pivot,graph</field>
|
||
|
<field name="domain">[('production_id', '=', active_id)]</field>
|
||
|
<field name="help" type="html">
|
||
|
<p class="oe_view_nocontent_create">
|
||
|
Click to start a new work order.
|
||
|
</p><p>
|
||
|
Work Orders is the list of operations to be performed for each
|
||
|
manufacturing order. Once you start the first work order of a
|
||
|
manufacturing order, the manufacturing order is automatically
|
||
|
marked as started. Once you finish the latest operation of a
|
||
|
manufacturing order, the MO is automatically done and the related
|
||
|
products are produced.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.ui.view" id="mrp_production_workcenter_tree_view_inherit">
|
||
|
<field name="name">mrp.production.work.order.tree</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree string="Work Orders" delete="0" create="0" decoration-success="date_planned_start>=current_date and state == 'ready'" decoration-muted="state in ('done','cancel')" decoration-danger="date_planned_start<current_date and state in ('ready')">
|
||
|
<field name="name"/>
|
||
|
<field name="date_planned_start"/>
|
||
|
<field name="workcenter_id" widget="selection"/>
|
||
|
<field name="production_id"/>
|
||
|
<field name="product_id"/>
|
||
|
<field name="qty_production"/>
|
||
|
<field name="product_uom_id"/>
|
||
|
<field name="state"/>
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.ui.view" id="mrp_production_workcenter_form_view_inherit">
|
||
|
<field name="name">mrp.production.work.order.form</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form string="Production Workcenter" delete="0" create="0">
|
||
|
<header>
|
||
|
<button name="button_finish" type="object" string="Finish Order" attrs="{'invisible': ['|', ('state', '!=', 'progress'), ('is_produced', '=', False)]}" class="btn-info"/>
|
||
|
<button name="button_start" type="object" string="Start Working" attrs="{'invisible': ['|', ('working_state', '=', 'blocked'), ('state', '!=', 'pending')]}"/>
|
||
|
<button name="button_start" type="object" string="Start Working" attrs="{'invisible': ['|', ('working_state', '=', 'blocked'), ('state', '!=', 'ready')]}" class="btn-success"/>
|
||
|
<button name="record_production" type="object" string="Done" class="btn-success" attrs="{'invisible': ['|', '|', '|', ('is_produced', '=', True), ('working_state', '=', 'blocked'), ('state', '!=', 'progress'), ('is_user_working', '=', False)]}"/>
|
||
|
<button name="button_pending" type="object" string="Pause" class="btn-warning" attrs="{'invisible': ['|', '|', ('working_state', '=', 'blocked'), ('state', 'in', ('done', 'pending', 'ready', 'cancel')), ('is_user_working', '=', False)]}"/>
|
||
|
<button name="%(act_mrp_block_workcenter_wo)d" type="action" context="{'default_workcenter_id': workcenter_id}" string="Block" class="btn-danger" attrs="{'invisible': ['|', '|', ('working_state', '=', 'blocked'), ('state', 'in', ('done', 'pending', 'ready', 'cancel')), ('is_user_working', '=', False)]}"/>
|
||
|
<button name="button_unblock" type="object" string="Unblock" class="btn-danger" attrs="{'invisible': [('working_state', '!=', 'blocked')]}"/>
|
||
|
<button name="button_start" type="object" string="Continue Production" class="btn-warning" attrs="{'invisible': ['|', '|', ('working_state', '=', 'blocked'), ('is_user_working', '=', True), ('state', 'in', ('done', 'pending', 'ready', 'cancel'))]}"></button>
|
||
|
<button name="button_start" type="object" string="Continue Production" attrs="{'invisible': ['|', '|', ('production_state', '=', 'done'), ('working_state', '=', 'blocked'), ('state', '!=', 'done')]}"/>
|
||
|
<button name="button_scrap" type="object" string="Scrap" attrs="{'invisible': [('state', 'in', ('confirmed', 'cancel'))]}"/>
|
||
|
<field name="state" widget="statusbar" statusbar_visible="pending,ready,progress,done"/>
|
||
|
<field name="is_user_working" invisible="1"/>
|
||
|
<field name="working_state" invisible="1"/>
|
||
|
<field name="production_state" invisible="1"/>
|
||
|
</header>
|
||
|
<sheet>
|
||
|
<div class="oe_button_box" name="button_box">
|
||
|
<button class="oe_stat_button" name="action_see_move_scrap" type="object" icon="fa-arrows-v" attrs="{'invisible': [('scrap_count', '=', 0)]}">
|
||
|
<div class="o_form_field o_stat_info">
|
||
|
<span class="o_stat_value"><field name="scrap_count"/></span>
|
||
|
<span class="o_stat_text">Scraps</span>
|
||
|
</div>
|
||
|
</button>
|
||
|
</div>
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="product_id" string="To Produce"/>
|
||
|
<label for="qty_produced" string="Quantity Produced"/>
|
||
|
<div class="o_row">
|
||
|
<field name="qty_produced"/> /
|
||
|
<field name="qty_production"/>
|
||
|
<field name="product_uom_id"/>
|
||
|
<field name="production_availability" nolabel="1" widget="bullet_state" options="{'classes': {'assigned': 'success', 'waiting': 'danger'}}" attrs="{'invisible': [('state', '=', 'done')]}"/>
|
||
|
</div>
|
||
|
<field name="is_produced" invisible="1"/>
|
||
|
</group>
|
||
|
<div class="alert alert-danger alert-dismissible text-left" role="alert" attrs="{'invisible': [('production_messages', '=', False)]}">
|
||
|
<a href="#" class="close" data-dismiss="alert" aria-label="close">x</a>
|
||
|
<field name="production_messages" style="height: 50px;"/>
|
||
|
</div>
|
||
|
</group>
|
||
|
<notebook>
|
||
|
<page string="Work Instruction" attrs="{'invisible': [('worksheet', '=', False)]}">
|
||
|
<field name="worksheet" widget="pdf_viewer"/>
|
||
|
</page>
|
||
|
<page string="Current Production">
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="qty_producing" string="Current Qty" attrs="{'readonly': ['|', ('product_tracking', '=', 'serial'), ('state', 'in', ('done', 'cancel'))]}"/>
|
||
|
<field name="final_lot_id" context="{'default_product_id': product_id}" attrs="{'invisible': [('product_tracking', '=', 'none')]}" groups="stock.group_production_lot"/>
|
||
|
<field name="product_tracking" invisible="1"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
<field name="move_raw_ids" invisible="1"/>
|
||
|
<field name="active_move_lot_ids" attrs="{'invisible': [('active_move_lot_ids', '=', [])]}">
|
||
|
<tree editable="bottom" create="0" delete="0">
|
||
|
<field name="product_id"/>
|
||
|
<field name="quantity" readonly="1"/>
|
||
|
<field name="lot_id" domain="[('product_id', '=', product_id)]" context="{'default_product_id': product_id}"/>
|
||
|
<field name="quantity_done"/>
|
||
|
<field name="move_id" invisible="1"/>
|
||
|
<field name="done_wo" invisible="1"/>
|
||
|
</tree>
|
||
|
</field>
|
||
|
</page>
|
||
|
<page string="Time Tracking" groups="mrp.group_mrp_manager">
|
||
|
<group>
|
||
|
<group>
|
||
|
<label for="date_planned_start" string="Planned Date"/>
|
||
|
<div class="o_row">
|
||
|
from <field name="date_planned_start"/>
|
||
|
<div attrs="{'invisible': [('date_planned_finished', '=', False)]}">
|
||
|
to
|
||
|
<field name="date_planned_finished"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<label for="date_start" string="Effective Date"/>
|
||
|
<div class="o_row">
|
||
|
<field name="date_start" readonly="1"/>
|
||
|
<div attrs="{'invisible': [('date_finished', '=', False)]}">
|
||
|
to
|
||
|
<field name="date_finished" readonly="1"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</group>
|
||
|
<group>
|
||
|
<label for="duration_expected"/>
|
||
|
<div>
|
||
|
<field name="duration_expected" widget="float_time" class="oe_inline"/>
|
||
|
minutes
|
||
|
</div>
|
||
|
<label for="duration"/>
|
||
|
<div>
|
||
|
<button style="pointer-events: none;" class="oe_inline label label-default">
|
||
|
<field name="duration" widget="mrp_time_counter" help="Time the currently logged user spent on this workorder."/>
|
||
|
</button>
|
||
|
</div>
|
||
|
</group>
|
||
|
</group>
|
||
|
<group>
|
||
|
<field name="time_ids" readonly="1" nolabel="1">
|
||
|
<tree>
|
||
|
<field name="date_start"/>
|
||
|
<field name="date_end"/>
|
||
|
<field name="duration" widget="float_time" sum="Total duration"/>
|
||
|
<field name="user_id"/>
|
||
|
<field name="loss_id" string="Efficiency"/>
|
||
|
</tree>
|
||
|
<form>
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="date_start"/>
|
||
|
<field name="date_end"/>
|
||
|
<field name="duration" widget="float_time"/>
|
||
|
</group>
|
||
|
<group>
|
||
|
<field name="user_id"/>
|
||
|
<field name="loss_id"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
</form>
|
||
|
</field>
|
||
|
</group>
|
||
|
</page>
|
||
|
<page string="Miscellaneous" groups="mrp.group_mrp_manager">
|
||
|
<group>
|
||
|
<group>
|
||
|
<field name="name"/>
|
||
|
<field name="workcenter_id" readonly="1"/>
|
||
|
<field name="production_id" readonly="1"/>
|
||
|
</group>
|
||
|
</group>
|
||
|
</page>
|
||
|
</notebook>
|
||
|
</sheet>
|
||
|
<div class="oe_chatter" groups="mrp.group_mrp_manager">
|
||
|
<field name="message_follower_ids" widget="mail_followers"/>
|
||
|
<field name="message_ids" widget="mail_thread"/>
|
||
|
</div>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="view_mrp_production_workcenter_form_view_filter" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.select</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<search string="Search Work Orders">
|
||
|
<field name="name" string="Work Orders"/>
|
||
|
<field name="date_planned_start"/>
|
||
|
<field name="state"/>
|
||
|
<filter string="In Progress" name="progress" domain="[('state','=','progress')]"/>
|
||
|
<filter string="Ready" name="ready" domain="[('state','=','ready')]"/>
|
||
|
<filter string="Pending" name="pending" domain="[('state','=','pending')]"/>
|
||
|
<filter string="Finished" name="finish" domain="[('state','=','done')]"/>
|
||
|
<filter string="Available" domain="[('production_availability','=', 'assigned')]"/>
|
||
|
<separator/>
|
||
|
<filter string="Late" domain="['&', ('date_planned_start','<', current_date), ('state', '=', 'ready')]"
|
||
|
help="Production started late"/>
|
||
|
<field name="workcenter_id"/>
|
||
|
<field name="production_id"/>
|
||
|
<group expand="0" string="Group By">
|
||
|
<filter string="Work Center" domain="[]" context="{'group_by':'workcenter_id'}"/>
|
||
|
<filter string="Production" domain="[]" context="{'group_by':'production_id'}"/>
|
||
|
<filter string="Status" domain="[]" context="{'group_by':'state'}"/>
|
||
|
<filter string="Scheduled Month" domain="[]" context="{'group_by':'date_planned_start'}" help="Scheduled Date by Month"/>
|
||
|
</group>
|
||
|
</search>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="workcenter_line_calendar" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.calendar</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<calendar color="workcenter_id" date_stop="date_planned_finished" date_start="date_planned_start" string="Operations">
|
||
|
<field name="workcenter_id"/>
|
||
|
<field name="production_id"/>
|
||
|
</calendar>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="workcenter_line_graph" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.graph</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<graph string="Operations">
|
||
|
<field name="production_id"/>
|
||
|
<field name="duration_percent" type="measure"/>
|
||
|
</graph>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="workcenter_line_pivot" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.pivot</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<pivot string="Operations">
|
||
|
<field name="date_start"/>
|
||
|
<field name="operation_id"/>
|
||
|
<field name="duration" type="measure"/>
|
||
|
<field name="duration_expected" type="measure"/>
|
||
|
</pivot>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="workcenter_line_gantt_production" model="ir.ui.view">
|
||
|
<field name="name">mrp.production.work.order.gantt.production</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<gantt date_stop="date_planned_finished" date_start="date_planned_start" string="Operations" default_group_by="production_id">
|
||
|
</gantt>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="mrp_workorder_view_gantt" model="ir.ui.view">
|
||
|
<field name="name">mrp.workorder.view.gantt</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<gantt date_stop="date_planned_finished" date_start="date_planned_start" string="Operations" default_group_by="workcenter_id">
|
||
|
</gantt>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.ui.view" id="workcenter_line_kanban">
|
||
|
<field name="name">mrp.production.work.order.kanban</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<kanban class="o_kanban_small_column" create="0">
|
||
|
<field name="name"/>
|
||
|
<field name="production_id"/>
|
||
|
<field name="state"/>
|
||
|
<field name="workcenter_id"/>
|
||
|
<field name="product_id"/>
|
||
|
<field name="qty_production"/>
|
||
|
<field name="product_uom_id"/>
|
||
|
<templates>
|
||
|
<t t-name="kanban-box">
|
||
|
<div t-attf-class="oe_kanban_card oe_kanban_global_click">
|
||
|
<div class="oe_kanban_content">
|
||
|
<div>
|
||
|
<span><strong><t t-esc="record.product_id.value"/></strong></span>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-xs-7 o_kanban_primary_left">
|
||
|
<span><t t-esc="record.qty_production.value"/> <t t-esc="record.product_uom_id.value"/></span>
|
||
|
</div>
|
||
|
<div class="col-xs-5 o_kanban_primary_right">
|
||
|
<span><t t-esc="record.production_id.value"/></span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</t>
|
||
|
</templates>
|
||
|
</kanban>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.actions.act_window" id="action_mrp_workorder_workcenter">
|
||
|
<field name="name">Work Orders</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">gantt,tree,form,calendar,pivot,graph</field>
|
||
|
<field name="search_view_id" ref="view_mrp_production_workcenter_form_view_filter"/>
|
||
|
<field name="view_id" ref="mrp_workorder_view_gantt"/>
|
||
|
<field name="help" type="html">
|
||
|
<p class="oe_view_nocontent_create">
|
||
|
Click to start a new work order.
|
||
|
</p><p>
|
||
|
Work Orders is the list of operations to be performed for each
|
||
|
manufacturing order. Once you start the first work order of a
|
||
|
manufacturing order, the manufacturing order is automatically
|
||
|
marked as started. Once you finish the latest operation of a
|
||
|
manufacturing order, the MO is automatically done and the related
|
||
|
products are produced.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.actions.act_window" id="action_mrp_workorder_production">
|
||
|
<field name="name">Work Orders Planning</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="domain">[('production_state','not in',('done','cancel'))]</field>
|
||
|
<field name="view_mode">gantt,tree,form,calendar,pivot,graph</field>
|
||
|
<field name="view_id" ref="workcenter_line_gantt_production"/>
|
||
|
<field name="help" type="html">
|
||
|
<p class="oe_view_nocontent_create">
|
||
|
Click to start a new work order.
|
||
|
</p><p>
|
||
|
To manufacture or assemble products, and use raw materials and
|
||
|
finished products you must also handle manufacturing operations.
|
||
|
Manufacturing operations are often called Work Orders. The various
|
||
|
operations will have different impacts on the costs of
|
||
|
manufacturing and planning depending on the available workload.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record model="ir.actions.act_window" id="mrp_workorder_todo">
|
||
|
<field name="name">Work Orders</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">kanban,tree,form,calendar,pivot,graph</field>
|
||
|
<field name="search_view_id" ref="view_mrp_production_workcenter_form_view_filter"/>
|
||
|
<field name="context">{'search_default_ready': True, 'search_default_progress': True}</field>
|
||
|
<field name="help" type="html">
|
||
|
<p class="oe_view_nocontent_create">
|
||
|
Click to start a new work order.
|
||
|
</p><p>
|
||
|
Work Orders is the list of operations to be performed for each
|
||
|
manufacturing order. Once you start the first work order of a
|
||
|
manufacturing order, the manufacturing order is automatically
|
||
|
marked as started. Once you finish the latest operation of a
|
||
|
manufacturing order, the MO is automatically done and the related
|
||
|
products are produced.
|
||
|
</p>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="view_workcenter_load_pivot" model="ir.ui.view">
|
||
|
<field name="name">report.workcenter.load.pivot</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<pivot string="Work Center Loads">
|
||
|
<field name="duration_expected" type="measure"/>
|
||
|
<field name="workcenter_id" type="row"/>
|
||
|
<field name="production_date" type="row" interval="day"/>
|
||
|
</pivot>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="view_work_center_load_graph" model="ir.ui.view">
|
||
|
<field name="name">report.workcenter.load.graph</field>
|
||
|
<field name="model">mrp.workorder</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<graph string="Work Center load" type="bar">
|
||
|
<field name="production_date" interval="day"/>
|
||
|
<field name="workcenter_id"/>
|
||
|
<field name="duration_expected" type="measure"/>
|
||
|
</graph>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="action_mrp_workcenter_load_report_graph" model="ir.actions.act_window">
|
||
|
<field name="name">Work Center Loads</field>
|
||
|
<field name="type">ir.actions.act_window</field>
|
||
|
<field name="res_model">mrp.workorder</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">pivot,graph</field>
|
||
|
<field name="view_id" ref="view_workcenter_load_pivot"/>
|
||
|
</record>
|
||
|
|
||
|
<record id="action_mrp_workcenter_load_report_pivot" model="ir.actions.act_window.view">
|
||
|
<field name="view_mode">graph</field>
|
||
|
<field name="view_id" ref="view_work_center_load_graph"/>
|
||
|
<field name="act_window_id" ref="action_mrp_workcenter_load_report_graph"/>
|
||
|
</record>
|
||
|
</odoo>
|