Adding board manufacturing

bzr revid: fp@tinyerp.com-800573413ccaef197d1a736347ff8e1bd63f7a6a
This commit is contained in:
Fabien Pinckaers
2007-08-02 11:22:03 +00:00
parent d846f81f43
commit 8796392e4b
4 changed files with 107 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"name":"Board for manufacturing",
"version":"1.0",
"author":"Tiny",
"category":"Board",
"depends":[
"board",
"mrp",
"stock",
"report_mrp",
],
"demo_xml":["board_manufacturing_demo.xml"],
"update_xml":["board_manufacturing_view.xml"],
"description": """
This module creates a dashboards for Manufaturing that includes:
* List of next production orders
* List of deliveries (out packing)
* Graph of workcenter load
* List of procurement in exception
""",
"active":False,
"installable":True,
}
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<terp>
<data noupdate="1">
<record model="ir.ui.view_sc" id="sc_manufacturing_dash">
<field name="name">Production dashboard</field>
<field name="user_id" ref="base.user_admin"/>
<field name="resource">ir.ui.menu</field>
<field name="sequence">4</field>
<field name="res_id" ref="menu_board_manufacturing"/>
</record>
<record model="res.users" id="base.user_admin">
<field name="action_id" ref="open_board_manufacturing"/>
</record>
<record model="res.users" id="base.user_demo">
<field name="action_id" ref="open_board_manufacturing"/>
</record>
</data>
</terp>
@@ -0,0 +1,62 @@
<?xml version="1.0"?>
<terp>
<data>
<record model="board.note.type" id="note_sale_type">
<field name="name">Production</field>
</record>
<record model="ir.ui.view" id="board_mrp_manager_form">
<field name="name">board.mrp.manager.form</field>
<field name="model">board.board</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Manufacturing board">
<hpaned position="100">
<child1>
<action
string="Next production orders"
name="%(mrp.mrp_production_action2)d"
colspan="4"
height="200"
width="510"/>
<action string="Deliveries (Out packing)"
name="%(stock.action_picking_tree2)d"
colspan="4"/>
<action
string="Procurement in Exception"
name="%(mrp.mrp_procurement_action4)d"
colspan="4"/>
</child1>
<child2>
<action
string="Workcenter futur load"
name="%(report_mrp.action_report_workcenter_load_tree)d"
colspan="4"/>
<action
string="Stock value variation"
name="%(report_mrp.action_report_in_out_picking_tree)d"
colspan="4"/>
</child2>
</hpaned>
</form>
</field>
</record>
<record model="ir.actions.act_window" id="open_board_manufacturing">
<field name="res_model">board.board</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="board_mrp_manager_form"/>
</record>
<menuitem
name="Dashboards/Production dashboard"
action="open_board_manufacturing"
sequence="1"
id="menu_board_manufacturing"/>
</data>
</terp>