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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039573
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-10-31 09:552019-06-20 14:10
ReporterbarbararoncatoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revision2125dc4341af
ProjectionnoneETAnoneTarget Version
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

0039573: Issue when discount category "Price Adjustment" is active

DescriptionIf the discount type "Price Adjustment" is set as "active" it automatically applies a discount to every product that is added to WebPOS, which causes conflicts when trying to delete a line, for example.

Steps To Reproduce1. Login to backend
2. Open Discounts and Promotions window.
3. Search by Discount/Promotion Type = Price Adjustment.
4. Mark it as active.
5. Login to WebPOS
6. Add any product
--- Note that there is a discount being automatically applied to the product.
7. Click on the product line and try to delete it.
--- The system stops working and it's necessary to refesh the page.

Video: https://www.useloom.com/share/614e2f42baa74bfd89534ed084b04fe0 [^]

Alternative way to reproduce
Backoffice
1) Create New Discounts and Promotions "Price Adjustment Zero" with type as "Price Adjustment", Discount % and Discount Amount as 0
2) Enable "Web POS Save Removed Tickets" preference

POS
1) Add Product (Make sure discount "Price Adjustment Zero" is applied to the line)
2) Remove the line using Delete Button in the Edit tab

POS became inaccessible
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0108797)
hgbot (developer)
2019-01-03 07:54

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2125dc4341af57380adb432434fde00f9f684f2e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 03 12:24:01 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2125dc4341af57380adb432434fde00f9f684f2e [^]

Fixed issue 39573 : Line discountedLinePrice attribute should be removed when the line qty is zero

* If Save Removed Ticket Pref. is enabled, quantity will be zero which result in wrong calculation of discountedLinePrice
  So, when line quantity is zero, attribute discountedLinePrice should be removed from the line

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0108798)
hgbot (developer)
2019-01-03 07:54

Repository: tools/automation/pi-mobile
Changeset: 13834085471920f59cc8cf10e850188dec1fdc61
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jan 03 12:24:25 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/13834085471920f59cc8cf10e850188dec1fdc61 [^]

Verifies issue 39573 : Added Automated Test "I39573_VerifyReceiptWithZeroDiscount"

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I39573_VerifyReceiptWithZeroDiscount.java
---

- Issue History
Date Modified Username Field Change
2018-10-31 09:55 barbararoncato New Issue
2018-10-31 09:55 barbararoncato Assigned To => Retail
2018-10-31 09:55 barbararoncato Triggers an Emergency Pack => No
2018-12-24 13:59 marvintm Resolution time => 1546902000
2018-12-24 14:01 marvintm Severity minor => major
2018-12-27 13:59 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-12-28 11:03 ranjith_qualiantech_com Steps to Reproduce Updated View Revisions
2018-12-28 11:07 ranjith_qualiantech_com Status new => scheduled
2019-01-03 07:54 hgbot Checkin
2019-01-03 07:54 hgbot Note Added: 0108797
2019-01-03 07:54 hgbot Status scheduled => resolved
2019-01-03 07:54 hgbot Resolution open => fixed
2019-01-03 07:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2125dc4341af57380adb432434fde00f9f684f2e [^]
2019-01-03 07:54 hgbot Checkin
2019-01-03 07:54 hgbot Note Added: 0108798
2019-01-03 09:56 guilleaer Review Assigned To => guilleaer
2019-01-03 09:56 guilleaer Status resolved => closed
2019-01-03 09:56 guilleaer Fixed in Version => RR19Q2
2019-06-20 14:10 martinsdan Issue Monitored: martinsdan


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker