diff options
Diffstat (limited to 'addons/board_warehouse')
| -rw-r--r-- | addons/board_warehouse/__init__.py | 24 | ||||
| -rw-r--r-- | addons/board_warehouse/__terp__.py | 42 | ||||
| -rw-r--r-- | addons/board_warehouse/board_warehouse_view.xml | 42 |
3 files changed, 108 insertions, 0 deletions
diff --git a/addons/board_warehouse/__init__.py b/addons/board_warehouse/__init__.py new file mode 100644 index 00000000000..3c3121d954a --- /dev/null +++ b/addons/board_warehouse/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + diff --git a/addons/board_warehouse/__terp__.py b/addons/board_warehouse/__terp__.py new file mode 100644 index 00000000000..b61c9432b0b --- /dev/null +++ b/addons/board_warehouse/__terp__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +############################################################################## + + +{ + 'name': 'Dashboard for Warehouse', + 'version': '1.0', + 'category': 'Board/Warehouse', + 'description': """ +This module implements a dashboard for warehouse that includes: + * Products to receive in delay (date < = today) + * Procurement in exception + * Graph : Number of Receive products vs planned (bar graph on week par day) + * Graph : Number of Delivery products vs planned (bar graph on week par day) + """, + 'author': 'Tiny', + 'depends': ['board','mrp','stock' ], + 'update_xml': ['board_warehouse_view.xml'], + 'demo_xml': [], + 'installable': True, + 'active': False, + +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/board_warehouse/board_warehouse_view.xml b/addons/board_warehouse/board_warehouse_view.xml new file mode 100644 index 00000000000..0ea7fb48297 --- /dev/null +++ b/addons/board_warehouse/board_warehouse_view.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + <record id="note_warehouse_type" model="board.note.type"> + <field name="name">Warehouse</field> + </record> + + + <record id="board_warehouse_form" model="ir.ui.view"> + <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"> + <hpaned position="100"> + <child1> + <action colspan="4" name="%(mrp.mrp_procurement_action5)d" string="Procurement Exceptions" width="510" /> + <action colspan="4" name="%(stock.action_reception_picking_move)d" string="Products To Receive" /> + </child1> + + <child2> + <action colspan="4" name="%(stock.action_move_graph_reception_picking)d" string="Products To Receive" width="510"/> + <action colspan="4" name="%(stock.action_move_delivery_products_planned)d" string="Delivery Products Vs Planned" width="510"/> + </child2> + </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> + + <menuitem icon="terp-graph" id="base.dashboard" name="Dashboards" sequence="2" parent="base.reporting_menu"/> + <menuitem id="menu_board_warehouse_main" name="Warehouse" parent="base.dashboard"/> + <menuitem action="open_board_warehouse" icon="terp-graph" id="menu_board_warehouse" parent="menu_board_warehouse_main" sequence="1"/> + </data> +</openerp>
\ No newline at end of file |
