Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037237Retail ModulesAuto BOM For Retailpublic2017-11-07 10:262017-11-30 13:28
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037237: Bill Of Materials production and related entry in Transactions tab are being created for Not Stocked produced products
Bill Of Materials production and related entry in Transactions tab are being created for Not Stocked produced products
In the backend:
   Create a new product and set it as:
      Product type: Item
      Stocked: 'N'
      Bill Of Materials: 'Y'
      Auto Generate BOM: Y
   Add two products in Bill Of Materials tab and Verify BOM
   Add a price in Vall Blanca Store price list and add the product to the assortment
   Add a storage bin for Vall Blanca Store in Product - Manufacturing tab
   Set the 'Auto BOM: Allow negative stock in raw materials' preference to Y

In the POS:
   Create a new ticket, add the previously created product and pay it

In the backend:
   Check a Bill Of Materials document has been created for the product
   The product is shown as ** as it does not comply with the validation
   Go to Product window and check a transaction has been created (not stocked products should not have entries in M_TRANSACTION table)
Auto Generate BOM option should only be available for stocked products
No tags attached.
related to defect 0037265 closed rqueralta Related entry in Transactions tab is being created for not Stocked consumed products and it should not 
Issue History
2017-11-07 10:26ngarciaNew Issue
2017-11-07 10:26ngarciaAssigned To => Retail
2017-11-07 10:26ngarciaResolution time => 1511823600
2017-11-07 10:26ngarciaTriggers an Emergency Pack => No
2017-11-07 10:26ngarciaIssue Monitored: networkb
2017-11-08 17:43ngarciaIssue cloned0037265
2017-11-08 17:44ngarciaRelationship addedrelated to 0037265
2017-11-08 17:45ngarciaSummaryBill Of Materials production and related entry in Transactions tab are being created for Not Stocked products => Bill Of Materials production and related entry in Transactions tab are being created for Not Stocked produced products
2017-11-08 17:45ngarciaDescription Updatedbug_revision_view_page.php?rev_id=16255#r16255
2017-11-08 22:59rqueraltaAssigned ToRetail => rqueralta
2017-11-17 20:55hgbotCheckin
2017-11-17 20:55hgbotNote Added: 0100601
2017-11-17 20:55hgbotStatusnew => resolved
2017-11-17 20:55hgbotResolutionopen => fixed
2017-11-17 20:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/a95843a49c75eed8cb1effca309323785749e8cf [^]
2017-11-30 13:28marvintmReview Assigned To => marvintm
2017-11-30 13:28marvintmStatusresolved => closed
2017-11-30 13:28marvintmFixed in Version => RR18Q1

Notes
(0100601)
hgbot   
2017-11-17 20:55   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: a95843a49c75eed8cb1effca309323785749e8cf
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Fri Nov 17 14:22:51 2017 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/a95843a49c75eed8cb1effca309323785749e8cf [^]

Fixed issue 37237: Bill Of Materials production and related entry in
Transactions tab are being created for Not Stocked produced products

---
M src-db/database/sourcedata/AD_MESSAGE.xml
A src/org/openbravo/retail/autobom/event/ProductEventHandler.java
---