Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035974 | Retail Modules | Web POS | public | 2017-05-11 13:59 | 2017-05-17 13:54 |
|
Reporter | jorge-garcia | |
Assigned To | jorge-garcia | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR17Q3 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035974: It's possible to apply a manual promotion to a negative or a return line |
Description | It'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 Reproduce | 1) 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) |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0039495 | | closed | jorge-garcia | It is not possible to apply a manual promotion/discount to a negative line | related to | defect | 0051659 | | closed | ranjith_qualiantech_com | Wrong discounts in deleted Lines |
|
Attached Files | |
|
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 |
Notes |
|
(0096579)
|
hgbot
|
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
|
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
|
2017-05-17 13:46
|
|
|