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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048057
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2021-11-12 17:382021-11-24 09:39
Reportertimothee_catteeuwView Statuspublic 
Assigned Toprakashmurugesan88 
PrioritynormalResolutionfixedFixed in VersionTAP
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionTAP
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048057: JIRA 2492 - Particular issue when returning products with amount = -1

DescriptionThere is a wrong behavior when you want change the quantity of products during a return ticket and quantity of product = - 1.
In that case it is not possible to change the quantity of product. If you press "-" or "+" on the linked pop-in, the article disappears.
Steps To Reproduce1) Connect to https://livebuilds.openbravo.com/retail_pos2_tap_pgsql/web/pos/?terminal=VBS-2 [^] as vallblanca

2) Open a new ticket and click return order button

3) select once "Avalanche transeiver"
4) select twice "Insect Repellent"
5) select 3 times "Multi-tool"

6) click "Multi-tool" on ticket and press "-" button
--> quantity switch to -2 --> OK

7) click "Avalanche transeiver" on ticket and press "-" button
--> product disappears --> OK

8) click again "Multi-tool" on ticket and press "+" button
--> quantity switch to -3 --> OK

9) select again once "Avalanche transeiver" in order to display it in the ticket

10) click "Avalanche transeiver" on ticket and press "+" button
--> product disappears --> KO
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047633 closedjorge-garcia Deleting qty value leaves the app in an inconsistent state 
related to defect 0046622 closedagonzalez [21Q2] The textbox to update the quantity does not limit the maximum amount 
related to defect 0047447 closedagonzalez Cannot add product to a Return order after a removal 
related to defect 0047507 closedhernan-dp Can't add an already added product to ticket if ticket is Return Order 
has duplicate backport 0048063TAP closedRetail JIRA 2492 - Particular issue when returning products with amount = -1 

-  Notes
(0133254)
prakashmurugesan88 (developer)
2021-11-22 12:02

Created following Merge Request,

    https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/merge_requests/75 [^]

    https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/132 [^]
(0133255)
timothee_catteeuw (developer)
2021-11-22 12:10

It is almost fine, behavior is good when switching all the ticket to a return ticket. In that case all the quantities are negative.
--> And then + and - buttons works correctly

But it remains 1 case which does not correctly work, when changing just 1 item of the ticket to a negative quantity.
- Open a new ticket
- add several products
- click on one of them
- Click on button +/- and OK, quantity of this item change to -1
- Click on "-", the item disappears, the quantity should be -2

- Open a new ticket
- add several products
- click on one of them
- Click on button +/- and OK, quantity of this item change to -1
- Click on "+", the quantity is -2, the item should be removed.
(0133324)
guilleaer (manager)
2021-11-24 08:51

The behavior explained in above note is the expected one. Approving MR and closing issue
(0133326)
guilleaer (manager)
2021-11-24 09:39

Fixed by backporting all issues related to this issue

    https://gitlab.com/obcustomers/AGAP/org.openbravo.core2/-/merge_requests/75 [^]
    https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/132 [^]

- Issue History
Date Modified Username Field Change
2021-11-12 17:38 timothee_catteeuw New Issue
2021-11-12 17:38 timothee_catteeuw Assigned To => Retail
2021-11-12 17:38 timothee_catteeuw Triggers an Emergency Pack => No
2021-11-15 14:00 guilleaer Status new => acknowledged
2021-11-15 14:00 guilleaer Status acknowledged => scheduled
2021-11-15 14:00 guilleaer Status scheduled => acknowledged
2021-11-16 12:26 ebecerra Assigned To Retail => ebecerra
2021-11-16 12:27 ebecerra Status acknowledged => scheduled
2021-11-20 07:15 prakashmurugesan88 Relationship added related to 0047633
2021-11-20 07:15 prakashmurugesan88 Relationship added related to 0046622
2021-11-20 07:15 prakashmurugesan88 Relationship added related to 0047447
2021-11-20 07:15 prakashmurugesan88 Relationship added related to 0047507
2021-11-22 12:02 prakashmurugesan88 Note Added: 0133254
2021-11-22 12:10 timothee_catteeuw Note Added: 0133255
2021-11-24 08:51 guilleaer Note Added: 0133324
2021-11-24 08:51 guilleaer Assigned To ebecerra => prakashmurugesan88
2021-11-24 08:51 guilleaer Type defect => backport
2021-11-24 09:38 guilleaer Status scheduled => resolved
2021-11-24 09:38 guilleaer Fixed in Version => TAP
2021-11-24 09:38 guilleaer Resolution open => fixed
2021-11-24 09:39 guilleaer Review Assigned To => guilleaer
2021-11-24 09:39 guilleaer Note Added: 0133326
2021-11-24 09:39 guilleaer Status resolved => closed
2021-12-10 12:37 jarmendariz Relationship replaced has duplicate 0048063


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker