Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024363Retail ModulesWeb POSpublic2013-07-18 09:322013-08-07 11:49
jecharri 
marvintm 
urgentmajoralways
closedfixed 
5
 
RMP25RMP25 
guilleaer
No
0024363: Discounts and promotions are not working fine with pricing without taxes
Discounts and promotions are not working fine with pricing without taxes
-Configure one POS terminale to work with one price list without taxes
-Go to window discount and promotions and create a "discretionary fixed percentaje" discount. For example 50% of idscount

-Login in web POS and a product to the ticket

-In my case the product price is 2.64 and I have a tax rate of 6%
2.64*1.06=2.7984 ~ 2.80

-If I apply the discount of 50% the expected value is 1.4 but we will get 1.32 why?

2.64*1.06=2.80 --> 2.80*0.5=1.4 --> (2.64-1.4)*1.06= 1.3144 ~ 1.31
No tags attached.
png discounts.png (143,724) 2013-07-18 09:32
https://issues.openbravo.com/file_download.php?file_id=6267&type=bug
png
Issue History
2013-07-18 09:32jecharriNew Issue
2013-07-18 09:32jecharriAssigned To => marvintm
2013-07-18 09:32jecharriFile Added: discounts.png
2013-07-18 09:32jecharriResolution time => 1380578400
2013-07-18 11:15marvintmNote Added: 0060092
2013-07-18 11:19hgbotCheckin
2013-07-18 11:19hgbotNote Added: 0060093
2013-07-18 11:19hgbotStatusnew => resolved
2013-07-18 11:19hgbotResolutionopen => fixed
2013-07-18 11:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/ec136579fce5678457076fc9979d65a54e331e23 [^]
2013-07-23 17:50guilleaerReview Assigned To => guilleaer
2013-07-23 17:50guilleaerNote Added: 0060187
2013-07-23 17:50guilleaerStatusresolved => closed
2013-07-23 17:50guilleaerFixed in Version => RMP25
2013-08-07 08:53hgbotCheckin
2013-08-07 08:53hgbotNote Added: 0060518
2013-08-07 08:53hgbotStatusclosed => resolved
2013-08-07 08:53hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/ec136579fce5678457076fc9979d65a54e331e23 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts-col/rev/ec136579fce5678457076fc9979d65a54e331e23 [^]
2013-08-07 11:49guilleaerNote Added: 0060525
2013-08-07 11:49guilleaerStatusresolved => closed

Notes
(0060092)
marvintm   
2013-07-18 11:15   
The problem is only happening on discretionary discounts, when using pricing without included taxes. It seems other types of discounts are not affected.
(0060093)
hgbot   
2013-07-18 11:19   
Repository: erp/pmods/org.openbravo.retail.discounts
Changeset: ec136579fce5678457076fc9979d65a54e331e23
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jul 18 11:18:50 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/ec136579fce5678457076fc9979d65a54e331e23 [^]

Fixed issue 24363. Discretionary discounts will work correctly with prices which do not include taxes

---
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
(0060187)
guilleaer   
2013-07-23 17:50   
verified
(0060518)
hgbot   
2013-08-07 08:53   
Repository: erp/pmods/org.openbravo.retail.discounts-col
Changeset: ec136579fce5678457076fc9979d65a54e331e23
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jul 18 11:18:50 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts-col/rev/ec136579fce5678457076fc9979d65a54e331e23 [^]

Fixed issue 24363. Discretionary discounts will work correctly with prices which do not include taxes

---
M web/org.openbravo.retail.discounts/js/promotion-manual.js
---
(0060525)
guilleaer   
2013-08-07 11:49   
reclosing