Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039586 | Retail Modules | Web POS | public | 2018-10-22 12:36 | 2018-11-19 15:58 |
|
Reporter | anderaranguren | |
Assigned To | jorge-garcia | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | RR18Q4 | Fixed in Version | RR18Q4 | |
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 | 0039586: It is not possible to apply a manual promotion/discount to a negative line |
Description | It is not possible to apply a manual promotion/discount to a negative line |
Steps To Reproduce | 1) Log in the WebPOS
2) Add a gps handheld and see that a discount is applied to the line
3) Go to menu and click on return this ticket.
4) The discount dissapears |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0039495 | | closed | jorge-garcia | It is not possible to apply a manual promotion/discount to a negative line |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-11-05 19:04 | marvintm | Type | defect => backport |
2018-11-05 19:04 | marvintm | Target Version | => RR18Q4 |
2018-11-19 15:42 | hgbot | Checkin | |
2018-11-19 15:42 | hgbot | Note Added: 0107986 | |
2018-11-19 15:43 | hgbot | Checkin | |
2018-11-19 15:43 | hgbot | Note Added: 0107987 | |
2018-11-19 15:43 | hgbot | Checkin | |
2018-11-19 15:43 | hgbot | Note Added: 0107988 | |
2018-11-19 15:43 | hgbot | Status | scheduled => resolved |
2018-11-19 15:43 | hgbot | Resolution | open => fixed |
2018-11-19 15:43 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/fe8ab59ffca2688550e2a9dfbe294339a5acb446 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.retail.discounts/rev/0a293d94518c94dc05ee64e0a783b54e6c7895b8 [^] |
2018-11-19 15:58 | marvintm | Review Assigned To | => marvintm |
2018-11-19 15:58 | marvintm | Status | resolved => closed |
2018-11-19 15:58 | marvintm | Fixed in Version | => RR18Q4 |
Notes |
|
(0107986)
|
hgbot
|
2018-11-19 15:42
|
|
|
|
(0107987)
|
hgbot
|
2018-11-19 15:43
|
|
Repository: retail/backports/3.0RR18Q4/org.openbravo.retail.posterminal
Changeset: 097f3c246c5daa82f7ccef42bfdc556878a95221
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Nov 19 15:27:35 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.retail.posterminal/rev/097f3c246c5daa82f7ccef42bfdc556878a95221 [^]
Related to issue 39586: It is not possible to apply a manual promotion/discount
to a negative line
Change message to indicate current promotion could not be applied to negative
lines.
Use new flag definition to allow or to deny apply a manual promotion to a
negative line.
Save flag value in promotion applied.
If the user change the quantity of the line using Return Line button or Return
this receipt, even if the manual promotion is marked to be applied in negative
lines, the discount disappears.
The problem now is fixed for both cases.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/model/discounts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
|
|
|
(0107988)
|
hgbot
|
2018-11-19 15:43
|
|
Repository: retail/backports/3.0RR18Q4/org.openbravo.retail.discounts
Changeset: 0a293d94518c94dc05ee64e0a783b54e6c7895b8
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Nov 19 15:25:08 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.retail.discounts/rev/0a293d94518c94dc05ee64e0a783b54e6c7895b8 [^]
Fixed issue 39586: It is not possible to apply a manual promotion/discount
to a negative line
This commit includes:
* Definition of a new column in m_offer table
* A new field in discounts and promotions to allow to apply manual promotions
to negative lines.
* Change manual percentage calculation to work with negative lines.
---
M src-db/database/model/modifiedTables/M_OFFER.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
|
|