Wrong stock in production lot using virtual or inactive locations

Bug #921681 reported by Numérigraphe
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP Publisher's Warranty Team

Bug Description

It was reported in Bug #879483 that the report "Stock by lot reports" unduly counts stock in virtual or inactive locations, and the core team answered that this report was removed from v6 onward.
Actually, in v6.0 and in trunk this report is still in stock.production.lot._get_stock().
So please either the view in this report object, or rewrite _get_stock() to give correct results.
Thanks in advance,
Lionel Sausin.

Tags: maintenance

Related branches

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Marking Bug #879483 a duplicate, because it was "won't fixed" and I can't reopen it.
Lionel.

Amit Parik (amit-parik)
summary: - Wrong stock in production lot using virtual or inactive locations
+ [5.0]Wrong stock in production lot using virtual or inactive locations
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Numérigraphe (numerigraphe) wrote : Re: [5.0, 6.0, 6.1RC1]Wrong stock in production lot using virtual or inactive locations

I humbly suggest you take different for v5.0 and 6.0/trunk :
- on v5.0 the branch I pushed may be OK, please review it
- on v6.0 and trunk, I suggest you rewrite _get_stock() and get rid of the SQL view once for all. Sorry, I can't make a proposal for that at the moment.
Lionel Sausin.

summary: - [5.0]Wrong stock in production lot using virtual or inactive locations
+ [5.0, 6.0, 6.1RC1]Wrong stock in production lot using virtual or
+ inactive locations
summary: - [5.0, 6.0, 6.1RC1]Wrong stock in production lot using virtual or
- inactive locations
+ Wrong stock in production lot using virtual or inactive locations
tags: added: maintenance
Changed in openobject-addons:
status: Confirmed → Fix Committed
no longer affects: openobject-addons/5.0
Revision history for this message
Numérigraphe (numerigraphe) wrote :

Will this ever be merged ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.