Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034578Retail ModulesWeb POSpublic2016-11-18 12:532018-05-30 13:30
naiaramartinez 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR17Q1 
marvintm
No
0034578: when working with PricesIncludes taxes, the net amount are not calculated correctly
when working with PricesIncludes taxes, the net amount are not calculated correctly.
In the backend defined a product where the price is 30. The price list should be 'Price includes taxes). Define a 'discount & promotion' for this product where the type is 'Ajustement de prix' and the discount is 10%.

Login in the webPOS:

* select the previously configured product
* Modify the price of the product and put 60
* Notice that the total amount of ticket is 54.


This is the result in the c_orderline table:
pricelist : 25
grossPricelist: 30

priceStd:25
grosspriceStd:60

priceActual:45
GrossUnitPrice:54

Notice that priceStd is not correct. It should be 50 (in fact the net of 60 is 50 and not 25).
No tags attached.
Issue History
2016-11-18 12:53naiaramartinezNew Issue
2016-11-18 12:53naiaramartinezAssigned To => Retail
2016-11-18 12:53naiaramartinezResolution time => 1480028400
2016-11-18 12:53naiaramartinezTriggers an Emergency Pack => No
2016-11-18 13:24naiaramartinezAssigned ToRetail => marvintm
2016-11-21 09:44xabiermerinoResolution time1480028400 => 1480546800
2016-11-21 09:50marvintmAssigned Tomarvintm => Retail
2016-11-24 11:40ranjith_qualiantech_comNote Added: 0091774
2016-11-24 11:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-11-24 11:41ranjith_qualiantech_comStatusnew => scheduled
2016-11-25 11:08hgbotCheckin
2016-11-25 11:08hgbotNote Added: 0091826
2016-11-25 11:08hgbotStatusscheduled => resolved
2016-11-25 11:08hgbotResolutionopen => fixed
2016-11-25 11:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6b3cb416f41f01f0fbbd0d2e0c1e73c0c22f3b59 [^]
2016-11-25 11:08hgbotCheckin
2016-11-25 11:08hgbotNote Added: 0091827
2016-11-25 14:11marvintmReview Assigned To => marvintm
2016-11-25 14:11marvintmStatusresolved => closed
2016-11-25 14:11marvintmFixed in Version => RR17Q1
2018-05-30 13:30ngarciaIssue Monitored: ngarcia

Notes
(0091774)
ranjith_qualiantech_com   
2016-11-24 11:40   
Dicussed with antonio,
If priceIncludeTax is enabled, then in orderline pricelist & pricestd should be updated with value 0
(0091826)
hgbot   
2016-11-25 11:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6b3cb416f41f01f0fbbd0d2e0c1e73c0c22f3b59
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 25 15:37:31 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6b3cb416f41f01f0fbbd0d2e0c1e73c0c22f3b59 [^]

Fixes issue 34578 : Reset listPrice, standardPrice to 0 if the priceIncludeTax is enabled

* For receipt priceIncludeTax is enabled, listPrice and standardPrice has to be set as 0 in orderline

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0091827)
hgbot   
2016-11-25 11:08   
Repository: tools/automation/pi-mobile
Changeset: 8cd5412986a42b13cd0c3445fd961af52b8f6ece
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 25 15:35:25 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8cd5412986a42b13cd0c3445fd961af52b8f6ece [^]

Verifies issue 34578 : Added automated test 'I34578_VerifyReceiptLinePrices'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/initialchecks/VerifySimpleReturn.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34578_VerifyReceiptLinePrices.java
---