Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029992Openbravo ERP04. Warehouse managementpublic2015-05-25 10:452015-06-02 03:42
ngarcia 
vmromanos 
immediatemajoralways
closedfixed 
5
 
 
dmiguelez
Core
Pre packaging ( pi )
2015-05-06
main
https://code.openbravo.com/erp/devel/pi/rev/5772533f5768eba602eabec0bcc87e86c513f25d [^]
No
0029992: Cannot add stocked products with no stock in physical inventory lines
Cannot add stocked products with no stock in physical inventory lines
As group admin role:
   Create a Physical Inventory header
   Try to add a product set as Stocked = 'Y' in the Product window that does not have stock. Check you cannot add it although you clear the filter
No tags attached.
caused by defect 0028850 closed vmromanos It should not be possible to add non stocked products to a physical inventory 
Issue History
2015-05-25 10:45ngarciaNew Issue
2015-05-25 10:45ngarciaAssigned To => Triage Finance
2015-05-25 10:45ngarciaModules => Core
2015-05-25 10:45ngarciaRegression date => 2015-05-06
2015-05-25 10:45ngarciaRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/5772533f5768eba602eabec0bcc87e86c513f25d [^]
2015-05-25 10:45ngarciaTriggers an Emergency Pack => No
2015-05-25 10:45ngarciaRelationship addedcaused by 0028850
2015-05-25 10:46ngarciaIssue Monitored: networkb
2015-05-25 11:28vmromanosRegression level => Pre packaging ( pi )
2015-05-25 11:28vmromanosRegression introduced in release => pi
2015-05-25 11:29vmromanosRegression introduced in releasepi => main
2015-05-25 11:29vmromanosStatusnew => scheduled
2015-05-25 11:29vmromanosAssigned ToTriage Finance => vmromanos
2015-05-25 11:30vmromanosPriorityurgent => immediate
2015-05-25 12:34vmromanosNote Added: 0077704
2015-05-25 12:47jonalegriaesarteResolution time => 1434664800
2015-06-01 13:10hgbotCheckin
2015-06-01 13:10hgbotNote Added: 0077938
2015-06-01 13:10hgbotStatusscheduled => resolved
2015-06-01 13:10hgbotResolutionopen => fixed
2015-06-01 13:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a9518a8e931b9b0cfa1ed0e38de3126433becf8b [^]
2015-06-01 13:11dmiguelezReview Assigned To => dmiguelez
2015-06-01 13:11dmiguelezNote Added: 0077940
2015-06-01 13:11dmiguelezStatusresolved => closed
2015-06-02 03:42hudsonbotCheckin
2015-06-02 03:42hudsonbotNote Added: 0077966

Notes
(0077704)
vmromanos   
2015-05-25 12:34   
Test plan I:
Go to Product window.
Create a new record:
  Name: SSS
  Stocked: Y

Go to Physical Inventory.
Create a new header. Save it.
Go to lines.
Create a new record.
Open the product selector. Verify the SSS product doesn't appear by default because it doesn't have stock at this moment.
Clear the selector filter. Verify the SSS product is shown now.


Test plan II:
Go to Product window.
Find SSS product previously created.
Set Stocked = N
Save it.

Go to Physical Inventory.
Create a new header. Save it.
Go to lines.
Create a new record.
Open the product selector. Verify the SSS product doesn't appear by default.
Clear the selector filter. Verify the SSS product is NOT shown because is set as Stocked = N
(0077938)
hgbot   
2015-06-01 13:10   
Repository: erp/devel/pi
Changeset: a9518a8e931b9b0cfa1ed0e38de3126433becf8b
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Jun 01 13:08:42 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a9518a8e931b9b0cfa1ed0e38de3126433becf8b [^]

Fixes Issue 29992. Fixes HQL Where Clause in OBUISEL_Selector definition.
It now filters by Products that are Stocked based on the Product definition
rather than the Stocked flag in the Storage Detail.

---
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
M src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
---
(0077940)
dmiguelez   
2015-06-01 13:11   
Code Review + Testing Ok
(0077966)
hudsonbot   
2015-06-02 03:42   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/14de467bd788 [^]
Maturity status: Test