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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035974
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-05-11 13:592017-05-17 13:54
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision12a71cc328da
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035974: It's possible to apply a manual promotion to a negative or a return line

DescriptionIt's possible to apply a discretionary promotion to a negative or a return line.

In general, the negative lines are not being considered by automatic promotions. Manual promotions should work the same
Steps To Reproduce1) Log in the WebPOS
2) Add four different products to a ticket
3) Select one line a click on Return Line button.
4) Go to menu and click on receipt discounts.
5) Select promotion variable 5% and click on apply all lines checkbox.. Finally click on apply button
6) Check the negative line has a promotion.(This is wrong)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039495 closedjorge-garcia It is not possible to apply a manual promotion/discount to a negative line 
related to defect 0051659 closedranjith_qualiantech_com Wrong discounts in deleted Lines 

-  Notes
(0096579)
hgbot (developer)
2017-05-15 09:03

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 12a71cc328da555c033b2c944ac68c61990fd4b6
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu May 11 14:01:22 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/12a71cc328da555c033b2c944ac68c61990fd4b6 [^]

Fixed issue 35974: It's possible to apply a manual promotion to a negative
or a return line

The solution is to avoid to apply lines to negative lines even if it has been
selected by the user.

A warning message is shown to indicate the promotions has not been applied
for negative lines.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/discounts.js
---
(0096580)
hgbot (developer)
2017-05-15 09:03

Repository: tools/automation/pi-mobile
Changeset: 40acd0c10f87691495f0908b00630151c5917b6f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri May 12 12:08:48 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/40acd0c10f87691495f0908b00630151c5917b6f [^]

Verifies issue 35974: It's possible to apply a manual promotion to a negative or
a return line

Remove four test from pi-mobile because essentially was doing the same checks.

Added two test, executed in highvol and normal flow, to test the new way manual
promotions works with return or negative lines.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28100_DiscountsNotAppliedToReturnLines.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28164_DiscountsRemovedWhenReturnPresent.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28100_DiscountsNotAppliedToReturnLinesI.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28100_DiscountsNotAppliedToReturnLinesII.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28164_DiscountsRemovedWhenReturnPresentI.java
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I28164_DiscountsRemovedWhenReturnPresentII.java
---
(0096642)
hgbot (developer)
2017-05-17 13:46

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3289e74e7cf9d43fbe0d52eeffcffcbf7c2deb1f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed May 17 13:45:42 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3289e74e7cf9d43fbe0d52eeffcffcbf7c2deb1f [^]

Related to issue 35974. Improved message.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
---

- Issue History
Date Modified Username Field Change
2017-05-11 13:59 jorge-garcia New Issue
2017-05-11 13:59 jorge-garcia Assigned To => jorge-garcia
2017-05-11 13:59 jorge-garcia Resolution time => 1496268000
2017-05-11 13:59 jorge-garcia Triggers an Emergency Pack => No
2017-05-11 16:17 jorge-garcia Status new => scheduled
2017-05-15 09:03 hgbot Checkin
2017-05-15 09:03 hgbot Note Added: 0096579
2017-05-15 09:03 hgbot Status scheduled => resolved
2017-05-15 09:03 hgbot Resolution open => fixed
2017-05-15 09:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/12a71cc328da555c033b2c944ac68c61990fd4b6 [^]
2017-05-15 09:03 hgbot Checkin
2017-05-15 09:03 hgbot Note Added: 0096580
2017-05-17 13:46 hgbot Checkin
2017-05-17 13:46 hgbot Note Added: 0096642
2017-05-17 13:54 marvintm Review Assigned To => marvintm
2017-05-17 13:54 marvintm Status resolved => closed
2017-05-17 13:54 marvintm Fixed in Version => RR17Q3
2018-10-22 12:50 anderaranguren Relationship added related to 0039495
2023-02-21 15:01 gorkaion Relationship added related to 0051659


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker