Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028594Retail ModulesDiscounts and Promotionspublic2015-01-13 17:092015-01-15 18:59
aaroncalero 
marvintm 
normalminorhave not tried
closedfixed 
5
 
main 
Orekaria
Production - Confirmed Stable
2014-07-15
RR14Q3.3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86452b63c53bf157c5747c0cf582966f7b569bb8 [^]
No
0028594: Using price lists not including taxes, the line net amount of lines with discounts shows the net amount without the discount
Using a price list that does not include taxes, if we create a ticket and add a discretionary discount to one of its lines (it also happens with automatic discounts), after synchronizing the receipt the sum of line net amounts in the ERP does not match the receipt net amount.
Login in a terminal in WebPOS using a price list not including taxes.
Create a ticket and add a line.
Add a discretionary discount to the line.
Add more lines to the ticket.
Pay and complete the ticket.
Go to the ERP and find the newly created ticket
Verify that the line net amount does not match the expected value (qty * net unit price) for the line with the discretionary discount.
Verify that the sum of line net amounts does not match the ticket total net amount.
The line net amount should be equal to the line quantity times the net unit price of the product.
No tags attached.
related to defect 0028609RR15Q2 closed marvintm Line net amount is set to 0 with an special configuration 
related to defect 0028900 closed Orekaria 'calculategross()' functions do not reset unnecessary 'net' and 'gross' fields 
Issue History
2015-01-13 17:09aaroncaleroNew Issue
2015-01-13 17:09aaroncaleroAssigned To => marvintm
2015-01-13 17:09aaroncaleroTriggers an Emergency Pack => No
2015-01-15 10:49malsasuaStatusnew => scheduled
2015-01-15 10:49malsasuafix_in_branch => pi
2015-01-15 10:53malsasuaRelationship addedrelated to 0028609
2015-01-15 17:15malsasuaRegression level => Production - Confirmed Stable
2015-01-15 17:15malsasuaRegression date => 2014-07-15
2015-01-15 17:15malsasuaRegression introduced in release => RR14Q3.3
2015-01-15 17:15malsasuaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86452b63c53bf157c5747c0cf582966f7b569bb8 [^]
2015-01-15 17:15malsasuafix_in_branchpi =>
2015-01-15 17:16malsasuaNote Added: 0073532
2015-01-15 17:16malsasuaStatusscheduled => resolved
2015-01-15 17:16malsasuaFixed in Version => main
2015-01-15 17:16malsasuaResolutionopen => fixed
2015-01-15 18:59OrekariaReview Assigned To => Orekaria
2015-01-15 18:59OrekariaStatusresolved => closed
2015-02-10 14:53OrekariaRelationship addedrelated to 0028900

Notes
(0073532)
malsasua   
2015-01-15 17:16   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e8791fdc0d46cc3277051f6e7b3ae6cea555005d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jan 15 17:09:57 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e8791fdc0d46cc3277051f6e7b3ae6cea555005d [^] [^]

Fixed issue 28609. Removed integrity check to ensure that data is not recomputed just before sending orders to the backend.

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---