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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043895
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Auto BOM For Retailmajorhave not tried2020-04-29 09:042020-05-25 13:11
ReportergorkaionView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043895: Cancel and replace of an AutoBOM products creates an extra BOM Production

DescriptionWhen a cancel and replace of a order containing a AutoBOM product the product is produced twice instead of reusing the units reused on the original order.
Steps To ReproduceOn live retail with modules instance.

1. Check that product Veg Burger with the AutoBOm enabled is available.
2. Ensure that there is stock of the 4 products defined on its Bill of Materials definition.
3. Open the POS and create a ticket selling 1 unit of Veg Burger
4. Notice in the backend on Product window Transactions tab that for Veg Burger product a "Production +" is generated.
5. On the POS load the ticket and do a Cancel and Replace.
6. Add a new product to the ticket and pay it.
7. Check again the transactions tab and notice that an additional "Production +" is done.
8. Check any of the products of the Bill of Materials list (Veg Plain Patty for example). Notice that 2 units have been consumed although only 1 burger has been sold.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0120146)
hgbot (developer)
2020-05-21 19:33

Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 7a47a717661fd4cfa537e07066b8be8ef9387de0
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 21 23:03:26 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/7a47a717661fd4cfa537e07066b8be8ef9387de0 [^]

Related to issue-43895 : ProductionPlan should be created only for non-delivered quantity

* For Autobom products, When doing Cancel and Replace,
  ProductionPlan should be created only for non-delivered quantity

---
M src/org/openbravo/retail/autobom/process/BOMProcess.java
---
(0120237)
jorge-garcia (developer)
2020-05-25 13:11

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2020-04-29 09:04 gorkaion New Issue
2020-04-29 09:04 gorkaion Assigned To => Retail
2020-04-29 09:04 gorkaion Triggers an Emergency Pack => No
2020-04-29 19:09 ahernandezgil Issue Monitored: ahernandezgil
2020-05-19 14:07 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-05-19 14:41 ranjith_qualiantech_com Status new => scheduled
2020-05-21 19:33 hgbot Checkin
2020-05-21 19:33 hgbot Note Added: 0120146
2020-05-22 03:48 ranjith_qualiantech_com Status scheduled => resolved
2020-05-22 03:48 ranjith_qualiantech_com Resolution open => fixed
2020-05-25 12:03 jorge-garcia Review Assigned To => jorge-garcia
2020-05-25 13:11 jorge-garcia Note Added: 0120237
2020-05-25 13:11 jorge-garcia Status resolved => closed
2020-05-25 13:11 jorge-garcia Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker