← Back to team overview

openerp-india team mailing list archive

[Bug 921681] 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 changed:

- [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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/921681

Title:
  [5.0, 6.0, 6.1RC1]Wrong stock in production lot using virtual or
  inactive locations

Status in OpenERP Addons (modules):
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/921681/+subscriptions


References