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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039587
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2018-10-22 12:362018-11-19 15:58
ReporteranderarangurenView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR18Q3.3
StatusclosedFix in branchFixed in SCM revision61e1d7e394ed
ProjectionnoneETAnoneTarget VersionRR18Q3.3
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

0039587: 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
(0107899)
hgbot (developer)
2018-11-14 10:51

Repository: retail/backports/3.0RR18Q3.3/org.openbravo.retail.discounts
Changeset: 61e1d7e394ed8303034bfec3bb9018b36a4f5b9a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Nov 14 10:11:02 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.3/org.openbravo.retail.discounts/rev/61e1d7e394ed8303034bfec3bb9018b36a4f5b9a [^]

Fixed issue 39587: 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
---
(0107900)
hgbot (developer)
2018-11-14 10:51

Repository: retail/backports/3.0RR18Q3.3/org.openbravo.retail.posterminal
Changeset: bbbe226553711432d59b792ad78eee80695bd171
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Nov 14 10:09:02 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.3/org.openbravo.retail.posterminal/rev/bbbe226553711432d59b792ad78eee80695bd171 [^]

Related to issue 39587: 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
---
(0107901)
hgbot (developer)
2018-11-14 10:51

Repository: retail/backports/3.0RR18Q3.3/org.openbravo.retail.sampledata
Changeset: de482f4579364074f059d4dcda96f7ab5e922da4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Nov 14 10:17:53 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.3/org.openbravo.retail.sampledata/rev/de482f4579364074f059d4dcda96f7ab5e922da4 [^]

Related to issue 39587: 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
---

- Issue History
Date Modified Username Field Change
2018-11-05 19:04 marvintm Type defect => backport
2018-11-05 19:04 marvintm Target Version => RR18Q3.3
2018-11-14 10:51 hgbot Checkin
2018-11-14 10:51 hgbot Note Added: 0107899
2018-11-14 10:51 hgbot Status scheduled => resolved
2018-11-14 10:51 hgbot Resolution open => fixed
2018-11-14 10:51 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/fe8ab59ffca2688550e2a9dfbe294339a5acb446 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q3.3/org.openbravo.retail.discounts/rev/61e1d7e394ed8303034bfec3bb9018b36a4f5b9a [^]
2018-11-14 10:51 hgbot Checkin
2018-11-14 10:51 hgbot Note Added: 0107900
2018-11-14 10:51 hgbot Checkin
2018-11-14 10:51 hgbot Note Added: 0107901
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 => RR18Q3.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker