Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036955 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 04. Warehouse management | minor | have not tried | 2017-08-25 16:50 | 2017-09-26 14:26 | |||
Reporter | markmm82 | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR17Q3.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0c0cf571d7ae | ||||
Projection | none | ETA | none | Target Version | 3.0PR17Q3.1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036955: New storage bins are created with Undefined-Overissue inventory status instead of Undefined by default | |||||||
Description | When new storage bin is created, it set as Undefined-Overissue its inventory status by default. This allow negative stock in those locators and it shouldn't be the default behaviour. By default, new storage bins created should be set with Undefined inventory status to don't allow negative stock. Note: InitializeInventoryStatus.java modulescript should be adapted to set the inventory status with Undefined-Overissue if related client allows negative stock. Right now it is setting inventory status as Undefined if client doesn't allows negative stock. | |||||||
Steps To Reproduce | Create a new warehouse. Create a new Storage Bin to it, and notice inventory status field has Undefined-Overissue status by default. | |||||||
Proposed Solution | Set Undefined as default inventory status when a new storagebin is created. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0099581) hgbot (developer) 2017-09-26 14:24 |
Repository: erp/backports/3.0PR17Q3.1 Changeset: 0c0cf571d7ae4ab035202ae31e6800b068d82206 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Thu Sep 21 20:24:21 2017 +0530 URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/0c0cf571d7ae4ab035202ae31e6800b068d82206 [^] Fixes issue 36955: New storage bins are created with Undefined-Overissue status instead of Undefined by default ** Set id of Undefined inventory status as default value for column m_inventorystatus_id in m_locator table as well as tables and columns in application dictionary ** Adapt Initialize Inventory Status modulescript to set Undefined-overdue status to locator of the clients where allow negative stock flag is set as Yes --- M src-db/database/model/tables/M_LOCATOR.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java --- |
(0099582) hgbot (developer) 2017-09-26 14:24 |
Repository: erp/backports/3.0PR17Q3.1 Changeset: c36f90271c606c8f3603613edc76ff839d343dfc Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Sep 21 18:57:37 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/c36f90271c606c8f3603613edc76ff839d343dfc [^] Related to issue 36955: Fix modulescript limits --- M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java --- |
(0099583) hgbot (developer) 2017-09-26 14:24 |
Repository: erp/backports/3.0PR17Q3.1 Changeset: 6bc3f019779dbcfc3c655f46994b1523abde116f Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Tue Sep 26 12:55:18 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/6bc3f019779dbcfc3c655f46994b1523abde116f [^] Related to issue 36955: Add preference to execute modulescript only once --- M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatus.class M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatusData.class M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus.java M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus_data.xsql --- |
(0099584) hgbot (developer) 2017-09-26 14:25 |
Repository: erp/backports/3.0PR17Q3.1 Changeset: 53c792d3f7815bd897344877f86d162be54888d5 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Tue Sep 26 13:26:43 2017 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/53c792d3f7815bd897344877f86d162be54888d5 [^] Related to issue 36955: Use attribute to create preference instead of property --- M src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInventoryStatusData.class M src-util/modulescript/src/org/openbravo/modulescript/InitializeInventoryStatus_data.xsql --- |
(0099585) aferraz (viewer) 2017-09-26 14:26 |
Code review + Testing OK |
![]() |
|||
Date Modified | Username | Field | Change |
2017-09-26 14:06 | aferraz | Type | defect => backport |
2017-09-26 14:06 | aferraz | Target Version | => 3.0PR17Q3.1 |
2017-09-26 14:14 | aferraz | Assigned To | markmm82 => AtulOpenbravo |
2017-09-26 14:24 | hgbot | Checkin | |
2017-09-26 14:24 | hgbot | Note Added: 0099581 | |
2017-09-26 14:24 | hgbot | Status | scheduled => resolved |
2017-09-26 14:24 | hgbot | Resolution | open => fixed |
2017-09-26 14:24 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/757a15bcdfb8a4fef656859cca918e07c9011e36 [^] => http://code.openbravo.com/erp/backports/3.0PR17Q3.1/rev/0c0cf571d7ae4ab035202ae31e6800b068d82206 [^] |
2017-09-26 14:24 | hgbot | Checkin | |
2017-09-26 14:24 | hgbot | Note Added: 0099582 | |
2017-09-26 14:24 | hgbot | Checkin | |
2017-09-26 14:24 | hgbot | Note Added: 0099583 | |
2017-09-26 14:25 | hgbot | Checkin | |
2017-09-26 14:25 | hgbot | Note Added: 0099584 | |
2017-09-26 14:26 | aferraz | Note Added: 0099585 | |
2017-09-26 14:26 | aferraz | Status | resolved => closed |
2017-09-26 14:26 | aferraz | Fixed in Version | => 3.0PR17Q3.1 |
Copyright © 2000 - 2009 MantisBT Group |