2010-02-01 12:48:35 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record id="note_warehouse_type" model="board.note.type">
|
|
|
|
<field name="name">Warehouse</field>
|
|
|
|
</record>
|
|
|
|
|
2010-10-15 05:48:58 +00:00
|
|
|
|
2010-10-16 16:47:09 +00:00
|
|
|
<record id="action_incoming_product_board" model="ir.actions.act_window">
|
2010-09-29 07:13:40 +00:00
|
|
|
<field name="name">Incoming Product</field>
|
2010-02-02 13:10:24 +00:00
|
|
|
<field name="res_model">stock.move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-12-07 13:02:48 +00:00
|
|
|
<field name="domain">[('state','in',('confirmed','assigned')),'|','&',('picking_id','=',False),('location_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','in')]</field>
|
2010-11-15 12:41:14 +00:00
|
|
|
<field name="view_id" ref="stock.view_move_tree_reception_picking"/>
|
2010-09-29 07:13:40 +00:00
|
|
|
</record>
|
2010-10-15 05:48:58 +00:00
|
|
|
|
2010-10-16 16:47:09 +00:00
|
|
|
<record id="action_outgoing_product_board" model="ir.actions.act_window">
|
2010-09-29 07:13:40 +00:00
|
|
|
<field name="name">Outgoing Product</field>
|
|
|
|
<field name="res_model">stock.move</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2010-12-07 13:02:48 +00:00
|
|
|
<field name="domain">[('state','in',('confirmed','assigned')),'|','&',('picking_id','=',False),('location_dest_id.usage', 'in', ['customer','supplier']),'&',('picking_id','!=',False),('picking_id.type','=','out')]</field>
|
2010-11-15 12:41:14 +00:00
|
|
|
<field name="view_id" ref="stock.view_move_tree_reception_picking"/>
|
2010-02-02 13:10:24 +00:00
|
|
|
</record>
|
2010-10-15 05:48:58 +00:00
|
|
|
|
2010-10-16 16:47:09 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_stock_incoming_product_delay">
|
|
|
|
<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>
|
2010-10-16 16:47:09 +00:00
|
|
|
<field name="view_id" ref="stock.view_stock_graph_board"></field>
|
|
|
|
<field name="context">{'search_default_month-1':1,'search_default_in':1,'group_by':['day'], 'group_by_no_leaf':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">
|
|
|
|
<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>
|
2010-10-16 16:47:09 +00:00
|
|
|
<field name="view_id" ref="stock.view_stock_graph_board"></field>
|
|
|
|
<field name="context">{'search_default_month-1':1,'search_default_out':1,'group_by':['day'], 'group_by_no_leaf':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="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Warehouse board">
|
2010-09-29 08:37:44 +00:00
|
|
|
<hpaned position="200">
|
2010-02-01 12:48:35 +00:00
|
|
|
<child1>
|
2010-12-07 13:02:48 +00:00
|
|
|
<action colspan="4" name="%(action_incoming_product_board)d" string="Incoming Product" width="510"/>
|
|
|
|
<action colspan="4" name="%(action_outgoing_product_board)d" string="Outgoing Product" width="510"/>
|
2010-02-01 12:48:35 +00:00
|
|
|
</child1>
|
|
|
|
|
|
|
|
<child2>
|
2010-12-07 13:02:48 +00:00
|
|
|
<action colspan="4" name="%(action_stock_incoming_product_delay)d" string="Incoming Products Delay" />
|
|
|
|
<action colspan="4" name="%(action_stock_outgoing_product_delay)d" string="Outgoing Products Delay" />
|
2010-10-04 07:26:06 +00:00
|
|
|
</child2>
|
2010-02-01 12:48:35 +00:00
|
|
|
</hpaned>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="open_board_warehouse" model="ir.actions.act_window">
|
|
|
|
<field name="name">Warehouse Dashboard</field>
|
|
|
|
<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>
|
|
|
|
|
2010-10-16 16:47:09 +00:00
|
|
|
<menuitem id="menu_dashboard_stock" name="Dashboard" sequence="0" parent="stock.next_id_61"/>
|
2010-10-06 13:08:06 +00:00
|
|
|
<menuitem action="open_board_warehouse" icon="terp-graph" groups="group_stock_manager" id="menu_board_warehouse" parent="menu_dashboard_stock" sequence="1"/>
|
2010-10-16 16:47:09 +00:00
|
|
|
<menuitem icon="terp-stock" id="stock.menu_stock_root" name="Warehouse" sequence="5" groups="group_stock_manager" action="open_board_warehouse"/>
|
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>
|