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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055002
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2024-03-20 00:432024-04-05 09:53
ReporterivazquezView Statuspublic 
Assigned ToRajesh_18 
PriorityhighResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q3.4SCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055002: Error when trying to change line quantity after deleting an order

DescriptionIn NOR, after deleting an order, if you try to change the quantity of the line, it does not do it and the only way to do it is to perform a "refresh data"
Steps To ReproduceFirst part:

-Create a new order and add a new line
-Select this line and click on the "Discounts" button to open the pop-up to select a new discount
-Close this pop-up without adding any discount.
-Check if you can change the quantity of the line (you should be able to do it)
-Delete the order
 
Second part: (AT THIS POINT, THE PROBLEM IS REPRODUCIBLE)

-Create a new order and add a new line
-Select this line and try to change the quantity. (you shouldn't be able to do it)

This is the conditional that gives TRUE after the first part and makes it impossible to update the amount of the line:

changequantity.js

if (
    !selectedReceiptLine ||
     !receipt.get('lines').models.find(function(l) {
       return selectedReceiptLine.get('id') === l.get('id');
     })
) {
  return;
}
TagsNOR
Attached Filespng file icon conditionalSecondPart.png [^] (11,929 bytes) 2024-03-20 00:45


png file icon conditionalFirstPart.png [^] (11,878 bytes) 2024-03-20 00:46

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0043481 closedranjith_qualiantech_com Order Error Deleting Lines With SUPR key 
related to defect 0044773 closedranjith_qualiantech_com Delete Ticket does not wait for the CalculateReceipt execution 

-  Notes
(0162447)
jorgewederago (developer)
2024-03-21 08:59

For this issue please contact Victor Perez in order to ask for access to a terminal where it can be reproduced before trying anything else.
(0162859)
ivazquez (developer)
2024-04-05 01:09

Attached patch provided by the developer, it's works fine.
(0162873)
marvintm (manager)
2024-04-05 09:53

Problem only happened in older versions

- Issue History
Date Modified Username Field Change
2024-03-20 00:43 ivazquez New Issue
2024-03-20 00:43 ivazquez Assigned To => Retail
2024-03-20 00:43 ivazquez Triggers an Emergency Pack => No
2024-03-20 00:45 ivazquez Relationship added related to 0043481
2024-03-20 00:45 ivazquez Relationship added related to 0044773
2024-03-20 00:45 ivazquez Tag Attached: NOR
2024-03-20 00:45 ivazquez File Added: conditionalSecondPart.png
2024-03-20 00:46 ivazquez File Added: conditionalFirstPart.png
2024-03-20 00:46 ivazquez Steps to Reproduce Updated View Revisions
2024-03-21 08:59 jorgewederago Note Added: 0162447
2024-03-21 08:59 jorgewederago Status new => acknowledged
2024-03-26 07:50 Rajesh_18 Assigned To Retail => Rajesh_18
2024-03-26 07:50 Rajesh_18 Status acknowledged => scheduled
2024-04-05 01:09 ivazquez Note Added: 0162859
2024-04-05 09:53 marvintm Review Assigned To => marvintm
2024-04-05 09:53 marvintm Note Added: 0162873
2024-04-05 09:53 marvintm Status scheduled => closed
2024-04-05 09:53 marvintm Resolution open => out of date


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker