Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041397 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2019-07-18 13:36 | 2019-09-05 20:17 | |||
Reporter | Leyre | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5efebd4c8fc0 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 10998 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0041397: The negative total price should not be allowed in the POS Terminal when manual discounts are applied | |||||||
Description | The negative total price should not be allowed in the POS Terminal when manual discounts are applied | |||||||
Steps To Reproduce | BACKEND: https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^] 1. Configure two discounts: 1.1 Discount Type: User Defined Amount Name: test1(look at the attached image) Discounted Amount: 10 Currency: EUR Product: Insect repellent 1.2 Discount Type: Variable Discount per Total Amount Name: test2(look at the attached image) Amount: 70 Product: Insect repellent WEB POS: https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 1. Add the product 'Insect repellent'. 2. Add the discount 'test1'. 3. Add the discount 'test2'. Verify that the final price is negative -10.00 instead of 0. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0114246) hgbot (developer) 2019-08-23 13:21 |
Repository: erp/pmods/org.openbravo.retail.discounts Changeset: 59bbd8d6518a854cf8560b24ed56b10b1b9d974f Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Thu Aug 22 14:02:39 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/59bbd8d6518a854cf8560b24ed56b10b1b9d974f [^] Fixed issue 41397: The negative total price should not be allowed in the POS Terminal when manual discounts are applied - If ticket gross amount is lower than 0, gross amount is set to 0 --- M web/org.openbravo.retail.discounts/js/promotion-manual.js --- |
(0114247) hgbot (developer) 2019-08-23 13:23 |
Repository: erp/pmods/org.openbravo.retail.discounts.bytotal Changeset: 5efebd4c8fc0edf2dbf71873da1dd3689696c104 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Fri Aug 23 07:10:20 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5efebd4c8fc0edf2dbf71873da1dd3689696c104 [^] Fixed issue 41397: The negative total price should not be allowed in the POS Terminal when manual discounts are applied - If ticket gross amount is lower than 0, gross amount is set to 0 --- M web/org.openbravo.retail.discounts.bytotal/js/promotion-by-total-utils.js --- |
(0114430) hgbot (developer) 2019-09-05 20:17 |
Repository: tools/automation/pi-mobile Changeset: a4d56a19d241244ed2fec8af7b334e5cbb8c7724 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Thu Sep 05 14:16:02 2019 -0400 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a4d56a19d241244ed2fec8af7b334e5cbb8c7724 [^] Related to issue 41397: Added automated test --- A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/discounts_bytotal/I41397_VerifyNoNegativeTotalPriceWithManualDiscounts.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-07-18 13:36 | Leyre | New Issue | |
2019-07-18 13:36 | Leyre | Assigned To | => Retail |
2019-07-18 13:36 | Leyre | File Added: discounts.png | |
2019-07-18 13:36 | Leyre | OBNetwork customer | => Gold |
2019-07-18 13:36 | Leyre | Support ticket | => 10998 |
2019-07-18 13:36 | Leyre | Resolution time | => 1565215200 |
2019-07-18 13:36 | Leyre | Triggers an Emergency Pack | => No |
2019-07-25 10:54 | ngarcia | Relationship added | related to 0040922 |
2019-08-01 21:07 | rqueralta | Assigned To | Retail => rqueralta |
2019-08-01 21:08 | rqueralta | Status | new => scheduled |
2019-08-23 13:21 | hgbot | Checkin | |
2019-08-23 13:21 | hgbot | Note Added: 0114246 | |
2019-08-23 13:21 | hgbot | Status | scheduled => resolved |
2019-08-23 13:21 | hgbot | Resolution | open => fixed |
2019-08-23 13:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/59bbd8d6518a854cf8560b24ed56b10b1b9d974f [^] |
2019-08-23 13:23 | hgbot | Checkin | |
2019-08-23 13:23 | hgbot | Note Added: 0114247 | |
2019-08-23 13:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/59bbd8d6518a854cf8560b24ed56b10b1b9d974f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/5efebd4c8fc0edf2dbf71873da1dd3689696c104 [^] |
2019-09-02 11:21 | marvintm | Review Assigned To | => marvintm |
2019-09-02 11:21 | marvintm | Status | resolved => closed |
2019-09-02 11:21 | marvintm | Fixed in Version | => RR19Q4 |
2019-09-05 20:17 | hgbot | Checkin | |
2019-09-05 20:17 | hgbot | Note Added: 0114430 |
Copyright © 2000 - 2009 MantisBT Group |