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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034578
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2016-11-18 12:532018-05-30 13:30
ReporternaiaramartinezView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision6b3cb416f41f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034578: when working with PricesIncludes taxes, the net amount are not calculated correctly

Descriptionwhen working with PricesIncludes taxes, the net amount are not calculated correctly.
Steps To ReproduceIn 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).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0091774)
ranjith_qualiantech_com (developer)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2016-11-18 12:53 naiaramartinez New Issue
2016-11-18 12:53 naiaramartinez Assigned To => Retail
2016-11-18 12:53 naiaramartinez Resolution time => 1480028400
2016-11-18 12:53 naiaramartinez Triggers an Emergency Pack => No
2016-11-18 13:24 naiaramartinez Assigned To Retail => marvintm
2016-11-21 09:44 xabiermerino Resolution time 1480028400 => 1480546800
2016-11-21 09:50 marvintm Assigned To marvintm => Retail
2016-11-24 11:40 ranjith_qualiantech_com Note Added: 0091774
2016-11-24 11:40 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-11-24 11:41 ranjith_qualiantech_com Status new => scheduled
2016-11-25 11:08 hgbot Checkin
2016-11-25 11:08 hgbot Note Added: 0091826
2016-11-25 11:08 hgbot Status scheduled => resolved
2016-11-25 11:08 hgbot Resolution open => fixed
2016-11-25 11:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6b3cb416f41f01f0fbbd0d2e0c1e73c0c22f3b59 [^]
2016-11-25 11:08 hgbot Checkin
2016-11-25 11:08 hgbot Note Added: 0091827
2016-11-25 14:11 marvintm Review Assigned To => marvintm
2016-11-25 14:11 marvintm Status resolved => closed
2016-11-25 14:11 marvintm Fixed in Version => RR17Q1
2018-05-30 13:30 ngarcia Issue Monitored: ngarcia


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker