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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039586
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-10-22 12:362018-11-19 15:58
ReporteranderarangurenView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q4
StatusclosedFix in branchFixed in SCM revision0a293d94518c
ProjectionnoneETAnoneTarget VersionRR18Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039586: It is not possible to apply a manual promotion/discount to a negative line

DescriptionIt is not possible to apply a manual promotion/discount to a negative line
Steps To Reproduce1) 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0039495 closedjorge-garcia It is not possible to apply a manual promotion/discount to a negative line 

-  Notes
(0107986)
hgbot (developer)
2018-11-19 15:42

Repository: retail/backports/3.0RR18Q4/org.openbravo.retail.sampledata
Changeset: 7d99f5387f73072886d9d51495c513b992edb3a2
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Nov 19 15:30:26 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4/org.openbravo.retail.sampledata/rev/7d99f5387f73072886d9d51495c513b992edb3a2 [^]

Related to issue 39586: It is not possible to apply a manual promotion/discount
to a negative line

Add sampledata due to new column definition.

---
M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml
---
(0107987)
hgbot (developer)
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 (developer)
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
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker