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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044404
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-06-18 08:302020-07-13 17:36
ReportercdehenView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionRR20Q1.2SCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044404: Crash when we try to use a promotion with a particular promotion Type

DescriptionWhen you try to use a promotion with a promotion type 'Variable Discount per Total Amount' and field amount without value (null) to allow at the user to set himself the value of the discount in WebPOS.

In WebPOS, in version 20Q1 you have a popup information message, in 20Q2 you have a null pointer in JS even if the user sets a value for the discount.

To fix it, it is possible to add in promotion a 0 value in the field amount. In this case, you don't have the error message or the null pointer but the discount is never apply (apply with 0 value) even if you set another value when you try to apply the discount.

To fix it again, it is possible to set a value in the field amount different of 0 (for example 0.01). If you do this now, it is possible to set a value for the discount in WebPOS and this time the discount is apply correctly.
Steps To ReproduceIn BO : Setup a promotion in Window 'Discounts and Promotions' with a promotion type 'Variable Discount per Total Amount' and without value in the field amount.

In WebPOS :
Start a ticket with one or several products
Use Discount Button
Select the new Discount (created previously)
Set a value
And apply the discount

In 20Q1 you have an information message
In 20Q2 you have a null pointer in JS
TagsNo tags attached.
Attached Filespdf file icon Issue 91 - 20Q1.pdf [^] (498,601 bytes) 2020-06-18 08:30

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0043635 closedranjith_qualiantech_com The Variable Discounts per Total do not work if amount/percentage is not defined. 
related to defect 0042630 closedrqueralta Variable Percentage Discount per Total Amount uses hidden percentage discount as default percentage 

-  Notes
(0121426)
adrianromero (manager)
2020-07-13 17:36

This issue is already fixed in 20Q3. Related issues fixes also fix this issue.

- Issue History
Date Modified Username Field Change
2020-06-18 08:30 cdehen New Issue
2020-06-18 08:30 cdehen Assigned To => Retail
2020-06-18 08:30 cdehen File Added: Issue 91 - 20Q1.pdf
2020-06-18 08:30 cdehen Triggers an Emergency Pack => No
2020-07-02 15:43 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-07-03 07:43 ranjith_qualiantech_com Relationship added related to 0043635
2020-07-10 12:04 ranjith_qualiantech_com Relationship added related to 0042630
2020-07-13 17:36 adrianromero Review Assigned To => adrianromero
2020-07-13 17:36 adrianromero Note Added: 0121426
2020-07-13 17:36 adrianromero Status new => closed
2020-07-13 17:36 adrianromero Resolution open => fixed
2020-07-13 17:36 adrianromero Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker