2010-02-01 12:48:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2012-06-06 06:02:47 +00:00
|
|
|
|
|
|
|
<record id="view_stock_graph_board" model="ir.ui.view">
|
2012-06-21 08:44:36 +00:00
|
|
|
<field name="name">report.stock.move.graph</field>
|
|
|
|
<field name="model">report.stock.move</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<graph string="Moves Analysis" type="bar">
|
|
|
|
<field name="day"/>
|
|
|
|
<field name="product_qty" operator="+"/>
|
|
|
|
<field name="categ_id" group="True"/>
|
|
|
|
</graph>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-06-06 06:02:47 +00:00
|
|
|
|
2010-10-16 16:47:09 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_stock_incoming_product_delay">
|
2011-12-11 21:14:01 +00:00
|
|
|
<field name="name">Incoming Products</field>
|
2010-10-16 16:47:09 +00:00
|
|
|
<field name="res_model">report.stock.move</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph,tree</field>
|
2010-12-07 13:02:48 +00:00
|
|
|
<field name="domain">[('type','=','in'),('day','<=', time.strftime('%Y-%m-%d')),('day','>',(datetime.date.today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
|
2012-06-06 06:02:47 +00:00
|
|
|
<field name="view_id" ref="view_stock_graph_board"></field>
|
2011-11-21 12:52:39 +00:00
|
|
|
<field name="context">{'search_default_in':1}</field>
|
2010-10-04 13:21:32 +00:00
|
|
|
</record>
|
2010-10-16 16:47:09 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_stock_outgoing_product_delay">
|
2011-12-11 21:14:01 +00:00
|
|
|
<field name="name">Outgoing Products</field>
|
2010-10-16 16:47:09 +00:00
|
|
|
<field name="res_model">report.stock.move</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">graph,tree</field>
|
2010-12-07 13:02:48 +00:00
|
|
|
<field name="domain">[('type','=','out'),('day','<=', time.strftime('%Y-%m-%d')),('day','>',(datetime.date.today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
|
2012-06-06 06:02:47 +00:00
|
|
|
<field name="view_id" ref="view_stock_graph_board"></field>
|
2011-11-21 12:52:39 +00:00
|
|
|
<field name="context">{'search_default_out':1}</field>
|
2010-10-15 05:48:58 +00:00
|
|
|
</record>
|
2010-10-16 16:47:09 +00:00
|
|
|
<record id="board_warehouse_form" model="ir.ui.view">
|
2010-02-01 12:48:35 +00:00
|
|
|
<field name="name">board.warehouse.form</field>
|
|
|
|
<field name="model">board.board</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 21:56:28 +00:00
|
|
|
<form string="Warehouse board" version="7.0">
|
2012-09-06 15:23:03 +00:00
|
|
|
<board style="1-1">
|
2011-11-15 10:09:28 +00:00
|
|
|
<column>
|
2012-09-06 15:23:03 +00:00
|
|
|
<action name="%(action_stock_incoming_product_delay)d" string="Incoming Products"/>
|
2011-11-15 10:09:28 +00:00
|
|
|
</column>
|
|
|
|
<column>
|
2011-12-26 13:08:33 +00:00
|
|
|
<action name="%(action_stock_outgoing_product_delay)d" string="Outgoing Products"/>
|
2011-11-15 10:09:28 +00:00
|
|
|
</column>
|
|
|
|
</board>
|
2010-02-01 12:48:35 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="open_board_warehouse" model="ir.actions.act_window">
|
2012-06-11 09:08:52 +00:00
|
|
|
<field name="name">Warehouse</field>
|
2010-02-01 12:48:35 +00:00
|
|
|
<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_warehouse_form"/>
|
|
|
|
</record>
|
|
|
|
|
2012-06-06 10:43:30 +00:00
|
|
|
<menuitem id="menu_board_warehouse"
|
|
|
|
parent="base.menu_reporting_dashboard"
|
|
|
|
action="open_board_warehouse"
|
2012-06-08 06:28:56 +00:00
|
|
|
sequence="25"
|
2012-09-13 07:30:45 +00:00
|
|
|
groups="stock.group_stock_user"/>
|
2010-07-06 12:09:17 +00:00
|
|
|
|
2010-02-01 12:48:35 +00:00
|
|
|
</data>
|
2010-07-26 05:56:23 +00:00
|
|
|
</openerp>
|