Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020367Openbravo ERP05. Production managementpublic2012-04-26 18:182012-04-30 12:21
rafademiguel 
jecharri 
immediatemajoralways
closedfixed 
5
pi 
3.0MP113.0MP11 
Core
No
0020367: Create Standards can not be executed
Create Standards can not be executed using products with attributes

See error.txt

Related Issue:
https://issues.openbravo.com/view.php?id=20159 [^]
Execute Create Standards using products with attributes
Regression QA
related to defect 00201593.0MP11 closed jecharri Product with mandatory attribute should not generate lines without attribute in m_storage_detail 
txt error.txt (3,789) 2012-04-26 18:18
https://issues.openbravo.com/file_download.php?file_id=5175&type=bug
Issue History
2012-04-26 18:18rafademiguelNew Issue
2012-04-26 18:18rafademiguelAssigned To => jecharri
2012-04-26 18:18rafademiguelFile Added: error.txt
2012-04-26 18:18rafademiguelModules => Core
2012-04-26 18:20rafademiguelTag Attached: Regression QA
2012-04-26 18:20rafademiguelRelationship addedrelated to 0020159
2012-04-27 14:53hgbotCheckin
2012-04-27 14:53hgbotNote Added: 0048150
2012-04-27 14:53hgbotStatusnew => resolved
2012-04-27 14:53hgbotResolutionopen => fixed
2012-04-27 14:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ef9b9a588ce3b8a71acd7d2d09aea4301194a43d [^]
2012-04-28 02:31hudsonbotCheckin
2012-04-28 02:31hudsonbotNote Added: 0048180
2012-04-30 12:21rafademiguelNote Added: 0048196
2012-04-30 12:21rafademiguelStatusresolved => closed
2012-04-30 12:21rafademiguelFixed in Version => 3.0MP11

Notes
(0048150)
hgbot   
2012-04-27 14:53   
Repository: erp/devel/pi
Changeset: ef9b9a588ce3b8a71acd7d2d09aea4301194a43d
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Apr 27 14:52:20 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ef9b9a588ce3b8a71acd7d2d09aea4301194a43d [^]

Fixes issue 20367: Create Standards can not be executed.
The problem was that in the create standares process, application create one record in m_storage_detail with one product without any atrributeset and with qty's zero.
So the m_update_inventory tries to delete but it has a related record in m_stock_aux

---
M src-db/database/model/functions/M_UPDATE_INVENTORY.xml
M src-db/database/model/functions/M_UPDATE_STOCKAUX.xml
---
(0048180)
hudsonbot   
2012-04-28 02: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/cd923b317af4 [^]

Maturity status: Test
(0048196)
rafademiguel   
2012-04-30 12:21   
Verified