Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038015 | Openbravo ERP | 04. Warehouse management | public | 2018-02-28 13:11 | 2018-03-02 21:18 |
|
Reporter | dmiguelez | |
Assigned To | vmromanos | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038015: Referenced Inventory. Attribute Value not copied correctly when Boxing stock |
Description | Referenced Inventory. Attribute Value not copied correctly when Boxing stock.
The original Attribute Value is lost |
Steps To Reproduce | As F&B Admin
Create a new Referenced Inventory Type without sequence
Create a new Attribute Set With the flags Require At Leas One Value and SerialNo. checked
Create one Product that uses the created Attribute Set
Create another Product without any Attribute Set
Create a Goods Receipt with two lines, one for each Product, with 10 as quantity and an Attribute value for the Product with Attribute Set
Create a Reference Inventory and click on Box
Select the Product without Attribute and set 5 units
Select the Product with Attribute and set 5 units
Set any Storage Bin and click on done
Check in the Contents Tab that the Product with an Attribute has lost the original Attribute Set Value, it only has the value of the box
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0037827 | 3.0PR18Q2 | closed | vmromanos | Referenced Inventory |
|
Attached Files | 38015.diff (7,128) 2018-02-28 13:49 https://issues.openbravo.com/file_download.php?file_id=11606&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-28 13:11 | dmiguelez | New Issue | |
2018-02-28 13:11 | dmiguelez | Assigned To | => Triage Finance |
2018-02-28 13:11 | dmiguelez | Modules | => Core |
2018-02-28 13:11 | dmiguelez | Triggers an Emergency Pack | => No |
2018-02-28 13:12 | dmiguelez | Assigned To | Triage Finance => vmromanos |
2018-02-28 13:42 | vmromanos | Reproducibility | always => sometimes |
2018-02-28 13:42 | vmromanos | Status | new => scheduled |
2018-02-28 13:49 | vmromanos | File Added: 38015.diff | |
2018-02-28 13:49 | vmromanos | Relationship added | related to 0037827 |
2018-03-01 10:30 | hgbot | Checkin | |
2018-03-01 10:30 | hgbot | Note Added: 0102898 | |
2018-03-01 10:30 | hgbot | Status | scheduled => resolved |
2018-03-01 10:30 | hgbot | Resolution | open => fixed |
2018-03-01 10:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6340f0b9d91026172740f9bc72b78c833156b836 [^] |
2018-03-01 10:40 | hgbot | Checkin | |
2018-03-01 10:40 | hgbot | Note Added: 0102899 | |
2018-03-01 10:43 | dmiguelez | Note Added: 0102900 | |
2018-03-01 10:43 | dmiguelez | Review Assigned To | => dmiguelez |
2018-03-01 10:43 | dmiguelez | Note Added: 0102901 | |
2018-03-01 10:43 | dmiguelez | Status | resolved => closed |
2018-03-01 10:43 | dmiguelez | Fixed in Version | => 3.0PR18Q2 |
2018-03-02 21:18 | hudsonbot | Checkin | |
2018-03-02 21:18 | hudsonbot | Note Added: 0102959 | |
2018-03-02 21:18 | hudsonbot | Checkin | |
2018-03-02 21:18 | hudsonbot | Note Added: 0102960 | |
Notes |
|
(0102898)
|
hgbot
|
2018-03-01 10:30
|
|
Repository: erp/devel/pi
Changeset: 6340f0b9d91026172740f9bc72b78c833156b836
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Feb 28 13:48:35 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6340f0b9d91026172740f9bc72b78c833156b836 [^]
Fixed bug 38015: [ri] Attribute Set sometimes is not copied when multiboxing
When calculating the new attribute set instance per storage detail for boxing, the system first tries to recover any previously cloned attribute set instance for this referenced inventory.
It can find it either in the cache created in this boxing execution, or by searching in the database for an existing attribute from a previous boxing activity for the same attribute.
If a previously cloned attribute set instance is not found, it creates a new one.
The existing index has been extended to perform properly in the query to search for an existing cloned attribute set instance.
---
M src-db/database/model/tables/M_ATTRIBUTESETINSTANCE.xml
M src/org/openbravo/materialmgmt/refinventory/BoxProcessor.java
M src/org/openbravo/materialmgmt/refinventory/ReferencedInventoryUtil.java
---
|
|
|
(0102899)
|
hgbot
|
2018-03-01 10:40
|
|
Repository: erp/devel/pi
Changeset: cfce67ebea69df936e0c2fc88be86c49d97f7340
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Mar 01 10:39:18 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cfce67ebea69df936e0c2fc88be86c49d97f7340 [^]
Related to Issue 38015. Ensure that the new Attribute is always active.
This can happen when cloning the Attribute set instance with id 0,
that can be not active.
---
M src/org/openbravo/materialmgmt/refinventory/ReferencedInventoryUtil.java
---
|
|
|
|
Test Plan:
As F&B Admin
Create a new Referenced Inventory Type without sequence
Create a new Attribute Set With the flags Require At Leas One Value and SerialNo. checked
Create one Product that uses the created Attribute Set
Create another Product without any Attribute Set
Create a Goods Receipt with two lines, one for each Product, with 10 as quantity and an Attribute value for the Product with Attribute Set
Create a Reference Inventory and click on Box
Select the Product without Attribute and set 5 units
Select the Product with Attribute and set 5 units
Set any Storage Bin and click on done
Check in the Contents Tab that the Product with an Attribute has kept the original Attribute Set Value, it has both the values of the original attribute and the box |
|
|
|
|
|
|
|
|
|
|