[Add] : New module added for board warehouse
authorVir (Open ERP) <vir@tinyerp.com>
Mon, 1 Feb 2010 12:48:35 +0000 (18:18 +0530)
committerVir (Open ERP) <vir@tinyerp.com>
Mon, 1 Feb 2010 12:48:35 +0000 (18:18 +0530)
bzr revid: vir@tinyerp.com-20100201124835-afhyoinbbb68rxag

addons/board_warehouse/__init__.py [new file with mode: 0644]
addons/board_warehouse/__terp__.py [new file with mode: 0644]
addons/board_warehouse/board_warehouse_view.xml [new file with mode: 0644]

diff --git a/addons/board_warehouse/__init__.py b/addons/board_warehouse/__init__.py
new file mode 100644 (file)
index 0000000..3c3121d
--- /dev/null
@@ -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 (file)
index 0000000..b61c943
--- /dev/null
@@ -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 (file)
index 0000000..0ea7fb4
--- /dev/null
@@ -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