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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037265
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Auto BOM For Retailmajoralways2017-11-08 17:432017-12-01 08:39
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision6acba4b36a2e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037265: Related entry in Transactions tab is being created for not Stocked consumed products and it should not

DescriptionRelated entry in Transactions tab is being created for not Stocked consumed products and it should not
Steps To ReproduceIn the backend:
   Create a new product (BOMPart) and set it as:
      Stocked: 'N'
   Create a new product (BOM)and set it as:
      Product type: Item
      Stocked: 'Y'
      Bill Of Materials: 'Y'
      Auto Generate BOM: Y
   Add the previously created product (BOMPart) in Bill Of Materials tab of BOM product 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
   Go to Product window and check a transaction has been created for consumed product (not stocked products should not have entries in M_TRANSACTION table)
Proposed SolutionDo not generate a entry in M_TRANSACTION for consumed products
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037237 closedrqueralta Bill Of Materials production and related entry in Transactions tab are being created for Not Stocked produced products 

-  Notes
(0100633)
hgbot (developer)
2017-11-20 22:13

Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 6acba4b36a2e813977fe6a3228032aec569196b7
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Mon Nov 20 16:10:38 2017 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/6acba4b36a2e813977fe6a3228032aec569196b7 [^]

Fixed issue 37265: Related entry in Transactions tab is being created for not
Stocked consumed products and it should not

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---
(0100834)
marvintm (manager)
2017-11-30 13:29

The fix is not correct. Instead of avoiding generating the production, we just want to avoid generating the movement transaction.

Therefore, the added check should be reverted, and instead, the "processProduction" method should be modified so that it ignores products which are either not "item", or not stocked.
(0100850)
hgbot (developer)
2017-11-30 22:01

Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 66639ce8e6777f4ee85a0754d0e752a01efa5115
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Thu Nov 30 16:00:15 2017 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/66639ce8e6777f4ee85a0754d0e752a01efa5115 [^]

Related to issue 37265: Related entry in Transactions tab is being created for
not Stocked consumed products and it should not

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---

- Issue History
Date Modified Username Field Change
2017-11-08 17:43 ngarcia New Issue
2017-11-08 17:43 ngarcia Assigned To => Retail
2017-11-08 17:43 ngarcia Resolution time => 1511823600
2017-11-08 17:43 ngarcia Triggers an Emergency Pack => No
2017-11-08 17:43 ngarcia Issue generated from 0037237
2017-11-08 17:44 ngarcia Relationship added related to 0037237
2017-11-08 18:08 ngarcia Issue Monitored: networkb
2017-11-20 22:13 hgbot Checkin
2017-11-20 22:13 hgbot Note Added: 0100633
2017-11-20 22:13 hgbot Status new => resolved
2017-11-20 22:13 hgbot Resolution open => fixed
2017-11-20 22:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/6acba4b36a2e813977fe6a3228032aec569196b7 [^]
2017-11-21 13:13 marvintm Assigned To Retail => rqueralta
2017-11-30 13:29 marvintm Note Added: 0100834
2017-11-30 13:29 marvintm Status resolved => new
2017-11-30 13:29 marvintm Resolution fixed => open
2017-11-30 22:01 hgbot Checkin
2017-11-30 22:01 hgbot Note Added: 0100850
2017-12-01 08:39 marvintm Status new => scheduled
2017-12-01 08:39 marvintm Status scheduled => resolved
2017-12-01 08:39 marvintm Fixed in Version => RR18Q1
2017-12-01 08:39 marvintm Resolution open => fixed
2017-12-01 08:39 marvintm Review Assigned To => marvintm
2017-12-01 08:39 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker