Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028503Openbravo ERP07. Sales managementpublic2014-12-30 12:092015-05-07 22:16
ngarcia 
reinaldoguerra 
highminoralways
closedfixed 
5
 
3.0PR15Q3pi 
umartirena
Core
No
0028503: Not stocked BOM included in another not stocked BOM is not automatically exploded
Not stocked BOM included in another not stocked BOM is not automatically exploded
As group admin role:
   Create a product set as Stocked = 'N' and Bill Of Materials = 'Y'
   Add a product in the Bill Of Materials tab and Verify BOM
   Create another product set as Stocked = 'N' and Bill Of Materials = 'Y'
   Include the previously created BOM on the Bill Of Materials tab and Verify BOM
   Create a Sales Order and add the second BOM to it
   Book it and check the included BOM is not exploded
   Reactivate the order and book it again
   In this case the included BOM is exploded
   
No tags attached.
Issue History
2014-12-30 12:09ngarciaNew Issue
2014-12-30 12:09ngarciaAssigned To => AtulOpenbravo
2014-12-30 12:09ngarciaModules => Core
2014-12-30 12:09ngarciaResolution time => 1426460400
2014-12-30 12:09ngarciaTriggers an Emergency Pack => No
2014-12-30 12:10ngarciaIssue Monitored: networkb
2015-01-13 18:56ngarciaTarget Version => 3.0PR15Q2
2015-02-23 13:30jonalegriaesarteTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-02-25 14:39reinaldoguerraAssigned ToAtulOpenbravo => reinaldoguerra
2015-02-25 14:39reinaldoguerraStatusnew => scheduled
2015-02-26 19:01reinaldoguerraNote Added: 0074996
2015-04-27 17:59hgbotCheckin
2015-04-27 17:59hgbotNote Added: 0076789
2015-04-27 17:59hgbotStatusscheduled => resolved
2015-04-27 17:59hgbotResolutionopen => fixed
2015-04-27 17:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6b1ef0d4ac1baed602ce51a34ec38f7be665213f [^]
2015-04-27 18:01umartirenaReview Assigned To => umartirena
2015-04-27 18:01umartirenaNote Added: 0076792
2015-04-27 18:01umartirenaStatusresolved => closed
2015-04-27 18:01umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077162

Notes
(0074996)
reinaldoguerra   
2015-02-26 19:01   
Test plan used:
1- Login into Openbravo ERP
2- Go to Product window and create a new one, set it as Stocked = 'N' and Bill Of Materials = 'Y'
3- Go to price tab and create a new register selecting Tarifa de Ventas as Price List Version
4- Add a product, for example, Zumo de PiƱa 0,5L, in the Bill Of Materials tab and click on Verify BOM button
5- Create another product, set it again as Stocked = 'N' and Bill Of Materials = 'Y'
6- Go to price tab and create a new register selecting Tarifa de Ventas as Price List Version
7- Include the previously created BOM product on the Bill Of Materials tab and click on Verify BOM button
8- Go to Sales Order window and create a new header.
9- Go to lines tab and add the second BOM product created to it.
10- Book it and check the included BOM (the first BOM product created) is now exploded successfuly.
(0076789)
hgbot   
2015-04-27 17:59   
Repository: erp/devel/pi
Changeset: 6b1ef0d4ac1baed602ce51a34ec38f7be665213f
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Mon Apr 27 17:58:00 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6b1ef0d4ac1baed602ce51a34ec38f7be665213f [^]

Fixed bug 28503: Not BOM included in another BOM, is not automatically exploded.

Stored procedure called M_EXPLODEBOMNOTSTOCK, was changed to make a recursive call to itself, while a new order line is created with BOM and not stocked products.
Now a not stocked BOM product included in another not stocked BOM product, is automatically exploded, when booking order lines.
This change also affects the explode direct process called from Explode button in order lines tab.

---
M src-db/database/model/functions/M_EXPLODEBOMNOTSTOCK.xml
---
(0076792)
umartirena   
2015-04-27 18:01   
Issue Fixed by Reinaldo Guerra.

Code Review + Testing OK
(0077162)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test