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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020159
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2012-03-29 19:242012-04-25 10:43
ReportermaiteView Statuspublic 
Assigned Tojecharri 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision367f4c3538f7
ProjectionnoneETAnoneTarget Version3.0MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020159: Product with mandatory attribute should not generate lines without attribute in m_storage_detail

DescriptionProduct with mandatory attribute should not generate lines without attribute in m_storage_detail
Steps To Reproduce0. 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
Proposed Solutionwhen 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020197 closedjecharri Building the application generated a failure in Jenkins' incremental build 
related to defect 00203673.0MP11 closedjecharri Create Standards can not be executed 
related to defect 00212643.0MP14 closedjecharri Module script DeleteInventoryLines is incomplete and the processes related 
related to defect 0029571 closedjorge-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 closedaferraz Create Inventory Count List process does not insert products without stock if product has a mandatory attribute 

-  Notes
(0047330)
hgbot (developer)
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 (developer)
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 (developer)
2012-04-25 10:43

verified

- Issue History
Date Modified Username Field Change
2012-03-29 19:24 maite New Issue
2012-03-29 19:24 maite Assigned To => vmromanos
2012-03-29 19:24 maite Modules => Core
2012-03-29 19:26 maite Proposed Solution updated
2012-03-29 19:27 maite Target Version => 3.0MP11
2012-03-30 10:35 vmromanos Assigned To vmromanos => jonalegriaesarte
2012-03-30 12:21 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-04-03 11:16 hgbot Checkin
2012-04-03 11:16 hgbot Note Added: 0047330
2012-04-03 11:16 hgbot Status new => resolved
2012-04-03 11:16 hgbot Resolution open => fixed
2012-04-03 11:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/367f4c3538f72d90e2461a213f4795f3a9b5e72f [^]
2012-04-03 18:22 plujan Relationship added related to 0020197
2012-04-17 05:31 hudsonbot Checkin
2012-04-17 05:31 hudsonbot Note Added: 0047601
2012-04-25 10:43 maite Note Added: 0047950
2012-04-25 10:43 maite Status resolved => closed
2012-04-26 18:20 rafademiguel Relationship added related to 0020367
2012-07-31 13:29 VictorVillar Relationship added related to 0021264
2015-04-13 12:59 ngarcia Relationship added related to 0029571
2015-05-27 16:33 ngarcia Relationship added related to 0030033


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker