openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #04615
[Merge] lp:~numerigraphe-team/ocb-addons/7.0-filter-zero-inventory-analysis into lp:ocb-addons
Lionel Sausin - Numérigraphe has proposed merging lp:~numerigraphe-team/ocb-addons/7.0-filter-zero-inventory-analysis into lp:ocb-addons.
Requested reviews:
Holger Brunn (Therp) (hbrunn): code review
Related bugs:
Bug #691534 in OpenERP Community Backports (Addons): "[trunk] Inventory analysis displays lines with quantity is zero"
https://bugs.launchpad.net/ocb-addons/+bug/691534
For more details, see:
https://code.launchpad.net/~numerigraphe-team/ocb-addons/7.0-filter-zero-inventory-analysis/+merge/210216
This branch adds 3 filters to the inventory analysis : available products, products out of stock, the products with negative stock
The branch targets v7.0 and another fix should be developed upstream in the new WMS code for v8.
--
https://code.launchpad.net/~numerigraphe-team/ocb-addons/7.0-filter-zero-inventory-analysis/+merge/210216
Your team OpenERP Community Backports Team is subscribed to branch lp:ocb-addons.
=== modified file 'stock/report/report_stock_move_view.xml'
--- stock/report/report_stock_move_view.xml 2012-10-23 16:05:04 +0000
+++ stock/report/report_stock_move_view.xml 2014-03-10 14:35:42 +0000
@@ -139,6 +139,10 @@
<field name="model">report.stock.inventory</field>
<field name="arch" type="xml">
<search string="Inventory Analysis">
+ <filter string="Available" name="available" help="Products with Available Quantity greater than zero" icon="terp-accessories-archiver" domain="[('product_qty','>',0.0)]"/>
+ <filter string="Out of Stock" name="unavailable" help="Products with Available Quantity equal to zero" icon="terp-dialog-close" domain="[('product_qty','=',0.0)]"/>
+ <filter string="Negative Stock" name="negative_stock" icon="terp-emblem-important" help="Products with Available Quantity lower than zero" domain="[('product_qty','<',0.0)]"/>
+ <separator orientation="vertical"/>
<filter string="Real" name="real" icon="terp-check" domain="[('state','=','done')]"
help="Analysis of current inventory (only moves that have already been processed)"/>
<filter string="Future" icon="terp-stock" domain="[('state','in',('assigned','done','waiting','confirmed'))]"
@@ -179,8 +183,7 @@
<field name="view_type">form</field>
<field name="view_mode">tree,graph</field>
<field name="search_view_id" eval="False"/>
- <field name="context">{'contact_display': 'partner', 'search_default_real':1,
-'search_default_year':1,'search_default_month':1, 'search_default_location_type_internal':1,'search_default_group_product':1,'group_by':[], 'group_by_no_leaf':1}</field>
+ <field name="context">{'contact_display': 'partner', 'search_default_real':1, 'search_default_year':1,'search_default_month':1, 'search_default_location_type_internal':1, 'search_default_group_product':1, 'search_default_available':1, 'group_by':[], 'group_by_no_leaf':1}</field>
<field name="help">Inventory Analysis allows you to easily check and analyse your company stock levels. Sort and group by selection criteria in order to better analyse and manage your company activities.</field>
</record>
<menuitem action="action_stock_inventory_report"
Follow ups