summaryrefslogtreecommitdiff
path: root/addons/board_warehouse
diff options
context:
space:
mode:
authorHarry (Open ERP) <hmo@tinyerp.com>2010-02-02 12:15:45 +0530
committerHarry (Open ERP) <hmo@tinyerp.com>2010-02-02 12:15:45 +0530
commita6c831f4e01f3bbceca32b7afd7de416691d93f7 (patch)
tree29a27cefc04e97d70f74a5177603600c6a159195 /addons/board_warehouse
parentd6119cafe8e80d3a0af14ba0278ea4506466c1aa (diff)
parent4337af6389f9e39d39fd785fc8031ed190482d22 (diff)
[MERGE] dashboard
bzr revid: hmo@tinyerp.com-20100202064545-yihzfjkl95rwuo8d
Diffstat (limited to 'addons/board_warehouse')
-rw-r--r--addons/board_warehouse/__init__.py24
-rw-r--r--addons/board_warehouse/__terp__.py42
-rw-r--r--addons/board_warehouse/board_warehouse_view.xml42
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