Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020159Openbravo ERP04. Warehouse managementpublic2012-03-29 19:242012-04-25 10:43
maite 
jecharri 
urgentmajoralways
closedfixed 
5
 
3.0MP11 
Core
No
0020159: Product with mandatory attribute should not generate lines without attribute in m_storage_detail
Product with mandatory attribute should not generate lines without attribute in m_storage_detail
0. Create Attribute COLOR defined as List. Add Attribute Value.
1. Define Attribute Set with "Require At Least One Value". Add Attribute COLOR
2. Create product and associate created "Attribute Set"
3. Create Goods Receipt. Add line for that product.
4. Try to process receipt and you will obtain proper error. But realize that "wrong" line has been inserted in m_storage_detail
5. Define any attribute and save line
6. Realize that new line in m_storage_detail has been inserted but "wrong" line continues with qty=0 and has not been delete
when m_update_inventory process, updates a m_storage_detail line and this line stay with qtyonhand=0 and preqtyonhand =0 and has m_attributesetinstance= '0' or null and is from a product with mandatory attributes, this line should be deleted
No tags attached.
related to defect 0020197 closed jecharri Building the application generated a failure in Jenkins' incremental build 
related to defect 00203673.0MP11 closed jecharri Create Standards can not be executed 
related to defect 00212643.0MP14 closed jecharri Module script DeleteInventoryLines is incomplete and the processes related 
related to defect 0029571 closed jorge-garcia In Physical Inventory Lines, Book Quantity is not updated to 0 by Update Quantity process if product has a mandatory attribute 
related to defect 0030033 closed aferraz Create Inventory Count List process does not insert products without stock if product has a mandatory attribute 
Issue History
2012-03-29 19:24maiteNew Issue
2012-03-29 19:24maiteAssigned To => vmromanos
2012-03-29 19:24maiteModules => Core
2012-03-29 19:26maiteProposed Solution updated
2012-03-29 19:27maiteTarget Version => 3.0MP11
2012-03-30 10:35vmromanosAssigned Tovmromanos => jonalegriaesarte
2012-03-30 12:21jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-04-03 11:16hgbotCheckin
2012-04-03 11:16hgbotNote Added: 0047330
2012-04-03 11:16hgbotStatusnew => resolved
2012-04-03 11:16hgbotResolutionopen => fixed
2012-04-03 11:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/367f4c3538f72d90e2461a213f4795f3a9b5e72f [^]
2012-04-03 18:22plujanRelationship addedrelated to 0020197
2012-04-17 05:31hudsonbotCheckin
2012-04-17 05:31hudsonbotNote Added: 0047601
2012-04-25 10:43maiteNote Added: 0047950
2012-04-25 10:43maiteStatusresolved => closed
2012-04-26 18:20rafademiguelRelationship addedrelated to 0020367
2012-07-31 13:29VictorVillarRelationship addedrelated to 0021264
2015-04-13 12:59ngarciaRelationship addedrelated to 0029571
2015-05-27 16:33ngarciaRelationship addedrelated to 0030033

Notes
(0047330)
hgbot   
2012-04-03 11:16   
Repository: erp/devel/pi
Changeset: 367f4c3538f72d90e2461a213f4795f3a9b5e72f
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Mon Apr 02 10:50:35 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/367f4c3538f72d90e2461a213f4795f3a9b5e72f [^]

Fixes issue 20159: Product with mandatory attribute should not generate lines without attribute in m_storage_detail

---
M src-db/database/model/functions/M_UPDATE_INVENTORY.xml
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteInventoryLines.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/DeleteInventoryLinesData.class
A src-util/modulescript/src/org/openbravo/modulescript/DeleteInventoryLines.java
A src-util/modulescript/src/org/openbravo/modulescript/DeleteInventoryLines_data.xsql
---
(0047601)
hudsonbot   
2012-04-17 05:31   
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/cedf57621434 [^]

Maturity status: Test
(0047950)
maite   
2012-04-25 10:43   
verified