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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055163
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2024-04-11 04:572024-04-26 15:10
ReporterivazquezView Statuspublic 
Assigned ToRajesh_18 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055163: Coupons - Coupon is applied on Layaway at the time of Cancel and Replace

DescriptionWhen you open an old unfilled Layaway and add a coupon, it does not modify the line because the order is not editable, but this coupon stays in the JSON of the order in the "discountsFromUser" field. Then, when you convert the order to a "Cancel and Replace", the order becomes editable again. The system detects that you have the coupon added to be used and this is why it is added to the line.

Video demonstrating the situation:

https://drive.google.com/file/d/18Q8kfcEolGusJrxcwLh_E_DX4zAj98UH/view?usp=sharing [^]
Steps To Reproduce-Creating a layaway in WebPOS
-Once synchronized, search it from the "Open Receipt" button.
-Add a coupon (in livebuilds there is already a coupon created, you can use the code COUPON10).
The coupon will not be added as the Layaway is not editable, but the "This order is not editable" message is not displayed, but the "discountsFromUser" field is added to the JSON of the order.
-Then if you go to the menu and click on "Cancel And Replace" the order becomes editable and the coupon is added.
Proposed SolutionBefore adding the discount to discoutnsFromUser check if the order is editable. If it is not display an error message
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163539)
ivazquez (developer)
2024-04-22 16:08

Dear Team,

Any news?

Regards,
Ignacio Vazquez
(0163822)
hgbot (developer)
2024-04-26 15:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/50 [^]

- Issue History
Date Modified Username Field Change
2024-04-11 04:57 ivazquez New Issue
2024-04-11 04:57 ivazquez Assigned To => Retail
2024-04-11 04:57 ivazquez Triggers an Emergency Pack => No
2024-04-11 05:03 ivazquez Description Updated View Revisions
2024-04-11 07:36 Practics Issue Monitored: Practics
2024-04-22 16:08 ivazquez Note Added: 0163539
2024-04-23 12:38 jorgewederago Proposed Solution updated
2024-04-23 12:38 jorgewederago Status new => acknowledged
2024-04-26 06:28 Rajesh_18 Assigned To Retail => Rajesh_18
2024-04-26 06:28 Rajesh_18 Status acknowledged => scheduled
2024-04-26 15:10 hgbot Note Added: 0163822


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker