← Back to team overview

openerp-india team mailing list archive

[Bug 1234815] Re: [stock][7.0] Wrong qty on hand value with filter-context

 

** Description changed:

  1.-Steps to reproduce the issue you have observed
-    a) Create a new test product ("Test product")
-    b) Create two new test location without parent location ("Test location 1", "Test location 2")
-    c) Create a physical inventory with product and both test location
-       "Test product", "Test location 1", qty=15 
-       "Test product", "Test location 2", qty=9
-    d) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1"
-    e) Check "qty on hand" is: 15
-    f) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 2"
-    g) Check "qty on hand" is: 9
-    h) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1" and "Test location 2"
-    i) Check "qty on hand" is: 9
+    a) Create a new test product ("Test product")
+    b) Create two new test location without parent location ("Test location 1", "Test location 2")
+    c) Create a physical inventory with product and both test location
+       "Test product", "Test location 1", qty=15
+       "Test product", "Test location 2", qty=9
+    d) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1"
+    e) Check "qty on hand" is: 15
+    f) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 2"
+    g) Check "qty on hand" is: 9
+    h) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1" and "Test location 2"
+    i) Check "qty on hand" is: 9
  
  2.- The result you observed
-   Check qty on hand is 9
+   Check qty on hand is 9
  
  3.-The result you expected
-   Check qty on hand should be  24 (9+15)
+   Check qty on hand should be  24 (9+15)
  
  I uploaded a video with this steps:
  http://youtu.be/cDCeRUMR0rk
+ 
+ openobject-addons/7.0 revno 9497

-- 
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/1234815

Title:
  [stock][7.0] Wrong qty on hand value with filter-context

Status in OpenERP Addons (modules):
  New

Bug description:
  1.-Steps to reproduce the issue you have observed
     a) Create a new test product ("Test product")
     b) Create two new test location without parent location ("Test location 1", "Test location 2")
     c) Create a physical inventory with product and both test location
        "Test product", "Test location 1", qty=15
        "Test product", "Test location 2", qty=9
     d) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1"
     e) Check "qty on hand" is: 15
     f) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 2"
     g) Check "qty on hand" is: 9
     h) Go to product menu and set a filter for product_id "Test product" and set a filter (context) for "Test location 1" and "Test location 2"
     i) Check "qty on hand" is: 9

  2.- The result you observed
    Check qty on hand is 9

  3.-The result you expected
    Check qty on hand should be  24 (9+15)

  I uploaded a video with this steps:
  http://youtu.be/cDCeRUMR0rk

  openobject-addons/7.0 revno 9497

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


References