Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035080Openbravo ERP04. Warehouse managementpublic2017-01-30 10:472017-03-15 20:18
ngarcia 
collazoandy4 
immediatemajoralways
closedfixed 
5
 
3.0PR17Q2 
markmm82
Core
Production - QA Approved
2016-07-01
3.0PR16Q4
https://code.openbravo.com/erp/devel/pi/rev/a1ae555f0807 [^]
No
0035080: Cannot set an attribute set value in a warehouse document line in case it does not contain an instance attribute
Cannot set an attribute set value in a warehouse document line in case it does not contain an instance attribute. The attribute sets set as Lot, Serial No, or Expiration Date are also instance attributes.
As group admin role:
   Create a new Attribute
      Instance Attribute: N
      List: N
      Mandatory: Y
   Create a new Attribute Set
      Lot: N
      Serial No.: N
      Expiration Date: N
   Add the previously created attribute to it
   Create a new product and assign the previously created attribute set to it
   Create a Goods Receipt, add the previously created product and check the Attribute Set Value field is shown
   Open it and add a value to its attribute
   Check the value is not shown when closing the pop-up
No tags attached.
related to defect 0035081 closed collazoandy4 Wrong behaviour when the attribute included in an attribute set is named lot, serno or DateFrom 
depends on backport 00350923.0PR17Q1 closed collazoandy4 Cannot set an attribute set value in a warehouse document line in case it does not contain an instance attribute 
depends on backport 00350933.0PR16Q4.3 closed collazoandy4 Cannot set an attribute set value in a warehouse document line in case it does not contain an instance attribute 
caused by defect 0033296 closed Sanjota The information on the attribute value set on inventory line is not properly shown. 
Issue History
2017-01-30 10:47ngarciaNew Issue
2017-01-30 10:47ngarciaAssigned To => Triage Finance
2017-01-30 10:47ngarciaModules => Core
2017-01-30 10:47ngarciaResolution time => 1487545200
2017-01-30 10:47ngarciaTriggers an Emergency Pack => No
2017-01-30 10:48ngarciaIssue Monitored: networkb
2017-01-30 10:48ngarciaRelationship addedcaused by 0033296
2017-01-30 10:57ngarciaRelationship addedrelated to 0035081
2017-01-30 15:54markmm82Assigned ToTriage Finance => collazoandy4
2017-01-30 22:07collazoandy4Statusnew => scheduled
2017-01-30 22:15collazoandy4Regression level => Production - Confirmed Stable
2017-01-30 22:15collazoandy4Regression date => 2016-07-01
2017-01-30 22:15collazoandy4Regression introduced in release => 3.0PR16Q4
2017-01-30 22:15collazoandy4Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/a1ae555f0807 [^]
2017-01-31 19:15collazoandy4Note Added: 0093968
2017-02-01 19:10hgbotCheckin
2017-02-01 19:10hgbotNote Added: 0093996
2017-02-01 19:10hgbotStatusscheduled => resolved
2017-02-01 19:10hgbotResolutionopen => fixed
2017-02-01 19:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1c5c1be850c787430a2ec9650afc786517b6433a [^]
2017-02-01 19:21markmm82Review Assigned To => markmm82
2017-02-01 19:21markmm82Note Added: 0094002
2017-02-01 19:21markmm82Statusresolved => closed
2017-02-01 19:21markmm82Fixed in Version => 3.0PR17Q2
2017-02-23 16:30plujanRegression levelProduction - Confirmed Stable => Production - QA Approved
2017-02-23 16:30plujanNote Added: 0094578
2017-03-15 20:18hudsonbotCheckin
2017-03-15 20:18hudsonbotNote Added: 0095150

Notes
(0093968)
collazoandy4   
2017-01-31 19:15   
Test Plan 1:

As F&B International Group Admin Role:
  - Go to Attribute window
        Create a new Record
         Name: Attribute
      Instance Attribute: N
      List: N
      Mandatory: Y
  - Go to Attribute Set window
     Create a new Record
      Name: Attribute set
      Lot: N
      Serial No.: N
      Expiration Date: N
     Create a new Line
      Attribute: Attribute
  - Go to product window
     Create a new Record
      Search key / Name : Product
      Attribute set: Attribute set
  - Go to Goods Receipt window
     Create a new Record
       BP: Bebidas Alegres. S.A
     Create a new Line
       Product: Product
       Atribute set value: value
  Check the value is shown when closing the Pop up

Test Plan 2

- Create a new attribute set.
   name: name1
   Lot = N
   serial no = N
   expiration date = Y
   requite at least one value = N

- Create a new product and assign the attribute set created previously

- Make a goods receipt
   Create one line with the previous product and without select the attribute set value
   Create another line with the same product by defining on the attribute set an expiration date
   Create another line with the same product. ON that case open the attribute set selector and click ok without filling the data.

- Process the goods receipt

- Create a physical inventory and click on the process "create inventory count list"

- See that there will be 2 entries for the product used on the previous goods receipt. ONe have the attribute set defined and the other entry will have sum of qty of 2 GR lines that don't have attribute set value.
(0093996)
hgbot   
2017-02-01 19:10   
Repository: erp/devel/pi
Changeset: 1c5c1be850c787430a2ec9650afc786517b6433a
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Tue Jan 31 11:19:49 2017 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/1c5c1be850c787430a2ec9650afc786517b6433a [^]

Fixes issue 35080: Set value in a warehouse document line with empty attribute

In a warehouse document line now can set value in a warehouse document line in case
it does not contain an instance attribute

---
M src/org/openbravo/erpCommon/info/AttributeSetInstance.java
---
(0094002)
markmm82   
2017-02-01 19:21   
Code review + Testing OK
(0094578)
plujan   
2017-02-23 16:30   
16Q4 has not been promoted to confirmed stable yet so I am changing the regression level back to QA Approved.
(0095150)
hudsonbot   
2017-03-15 20: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/54e102bef53e [^]
Maturity status: Test