← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 915568] Re: Wrong dates used when confirming stock inventory

 

well indeed, this bug is either half fixed either half not-fixed,
depending on the way you look at it.

Anyway, if you think "won't fix"  is a status reflecting more the
reality then let's g for it.

For your easiness to make a module to change this behavior, i'm
wondering: could you just overwrite post_inventory() of stock.inventory
and make a write on stock move to change their 'date' field (after it
has been set to done)? The only "issue" i oversee is that the accounting
entries will have the date set to the day you pushed the button, which
can't be seen anymore on the stock moves, but you can  still force the
period or make a write on the journal items too...  well i think it
should work. What do you think?

** Changed in: openerp-trunk-wms
       Status: Fix Released => Won't Fix

-- 
You received this bug notification because you are a member of Stock and
Logistic Core Editors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/915568

Title:
  Wrong dates used when confirming stock inventory

Status in OpenERP Community Backports (Addons):
  Fix Committed
Status in New OpenERP WMS:
  Won't Fix
Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  [ Problem ]
  action_confirm method is not taking in account "date" from stock.inventory object, and update qtys in the moment of confirmation.
  The inventory date is taken into account when querying the stock to compute the inventory difference but the stock moves are created at the wrong date, making the stock and virtual stock wrong at the date of the inventory.

  Users expect that the inventory date should say _when_ the inventory
  was taken - in this way the amount to correct should effective before
  this date.

  Attached videos gives better explanation, and document with kardex
  expected.

  [ Impact ] the available quantity and virtual stock are wrong near the
  date of the inventory.

  [ Possible fixes ]
  - The preferred fix would be to write the stock moves at the date of the inventory.
  - A less-than-ideal fix would be to not take the inventory date is taken into account when querying the stock to compute the inventory difference. For the moment is the way v8 is being developed.

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