Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038015
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajorsometimes2018-02-28 13:112018-03-02 21:18
ReporterdmiguelezView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revision6340f0b9d910
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038015: Referenced Inventory. Attribute Value not copied correctly when Boxing stock

DescriptionReferenced Inventory. Attribute Value not copied correctly when Boxing stock.

The original Attribute Value is lost
Steps To ReproduceAs 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
TagsNo tags attached.
Attached Filesdiff file icon 38015.diff [^] (7,128 bytes) 2018-02-28 13:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00378273.0PR18Q2 closedvmromanos Referenced Inventory 

-  Notes
(0102898)
hgbot (developer)
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 (developer)
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
---
(0102900)
dmiguelez (developer)
2018-03-01 10:43

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
(0102901)
dmiguelez (developer)
2018-03-01 10:43

Code Review + Testing Ok
(0102959)
hudsonbot (developer)
2018-03-02 21:18

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/05dece3dc80b [^]
Maturity status: Test
(0102960)
hudsonbot (developer)
2018-03-02 21:18

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/05dece3dc80b [^]
Maturity status: Test

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker