Turkesh Patel (openERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-review-dashboards-stock-tpa into
lp:~openerp-dev/openobject-addons/trunk-review-dashboards.
Requested reviews:
Jigar Amin (OpenERP) (jam-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review-dashboards-stock-tpa/+merge/108883
Stock
=============================================================
[IMP]: improved view of dashboard and remove unnecessary code
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review-dashboards-stock-tpa/+merge/108883
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-review-dashboards.
=== modified file 'stock/board_warehouse_view.xml'
--- stock/board_warehouse_view.xml 2012-05-22 14:37:59 +0000
+++ stock/board_warehouse_view.xml 2012-06-06 06:16:19 +0000
@@ -1,6 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
+
+ <record id="view_stock_graph_board" model="ir.ui.view">
+ <field name="name">report.stock.move.graph</field>
+ <field name="model">report.stock.move</field>
+ <field name="type">graph</field>
+ <field name="arch" type="xml">
+ <graph string="Moves Analysis" type="bar">
+ <field name="day"/>
+ <field name="product_qty" operator="+"/>
+ </graph>
+ </field>
+ </record>
+
<record id="action_incoming_product_board" model="ir.actions.act_window">
<field name="name">Incoming Shipments</field>
<field name="res_model">stock.move</field>
@@ -27,7 +40,7 @@
<field name="view_type">form</field>
<field name="view_mode">graph,tree</field>
<field name="domain">[('type','=','in'),('day','<=', time.strftime('%Y-%m-%d')),('day','>',(datetime.date.today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
- <field name="view_id" ref="stock.view_stock_graph_board"></field>
+ <field name="view_id" ref="view_stock_graph_board"></field>
<field name="context">{'search_default_in':1}</field>
</record>
<record model="ir.actions.act_window" id="action_stock_outgoing_product_delay">
@@ -36,7 +49,7 @@
<field name="view_type">form</field>
<field name="view_mode">graph,tree</field>
<field name="domain">[('type','=','out'),('day','<=', time.strftime('%Y-%m-%d')),('day','>',(datetime.date.today()-datetime.timedelta(days=15)).strftime('%Y-%m-%d'))]</field>
- <field name="view_id" ref="stock.view_stock_graph_board"></field>
+ <field name="view_id" ref="view_stock_graph_board"></field>
<field name="context">{'search_default_out':1}</field>
</record>
<record id="board_warehouse_form" model="ir.ui.view">
@@ -68,9 +81,7 @@
<field name="view_id" ref="board_warehouse_form"/>
</record>
- <menuitem id="menu_board_warehouse" parent="base.menu_reporting_dashboard" action="open_board_warehouse" sequence="20" groups="group_stock_manager"/>
- <menuitem icon="terp-stock" id="stock.menu_stock_root" name="Warehouse" groups="group_stock_manager" sequence="5"/>
-
+ <menuitem id="menu_board_warehouse" parent="base.menu_reporting_dashboard" action="open_board_warehouse" sequence="35" groups="group_stock_manager"/>
</data>
</openerp>
=== modified file 'stock/report/report_stock_move_view.xml'
--- stock/report/report_stock_move_view.xml 2012-05-22 16:10:55 +0000
+++ stock/report/report_stock_move_view.xml 2012-06-06 06:16:19 +0000
@@ -49,17 +49,7 @@
</graph>
</field>
</record>
- <record id="view_stock_graph_board" model="ir.ui.view">
- <field name="name">report.stock.move.graph</field>
- <field name="model">report.stock.move</field>
- <field name="type">graph</field>
- <field name="arch" type="xml">
- <graph string="Moves Analysis" type="bar">
- <field name="day"/>
- <field name="product_qty" operator="+"/>
- </graph>
- </field>
- </record>
+
<record id="view_stock_search" model="ir.ui.view">
<field name="name">report.stock.move.search</field>
<field name="model">report.stock.move</field>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp