Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027492Retail ModulesWeb POSpublic2014-08-28 15:502014-10-02 17:25
jecharri 
szapata 
urgentmajorrandom
closedfixed 
5
RR14Q3 
RR14Q4RR14Q4 
migueldejuana
No
0027492: Invoices created with wrong totals at line level and also header level
Invoices created with wrong totals at line level and also header level

Sometimes, it seems that with orders with big quantity of lines, orders lines are synchronized with Net Unit prize equal to 0. This is creating the problem that total invoice is 0.

Confirmed that orders have not any discount applied.
-
Improve the validation function in issue 26781. Include the case when the totals are cero but any discount has been applied
No tags attached.
related to defect 0026781RR14Q4 closed Orekaria Prevent completing order with grandtotal different than the sumatory of the lines plus the tax amounts for the order 
related to defect 0027695 closed marvintm "Invoice Paid" field at Payment schedule Details level is not properly set by Cash Up process 
causes defect 0028006RR14Q4 closed marvintm An error popup appears when you try to complete a receipt with 0.00 total amount 
png Selection_123.png (147,778) 2014-08-28 15:50
https://issues.openbravo.com/file_download.php?file_id=7171&type=bug
png
Issue History
2014-08-28 15:50jecharriNew Issue
2014-08-28 15:50jecharriAssigned To => marvintm
2014-08-28 15:50jecharriFile Added: Selection_123.png
2014-08-28 15:50jecharriResolution time => 1409781600
2014-08-28 15:50jecharriTriggers an Emergency Pack => No
2014-08-28 16:24jecharriRelationship addedrelated to 0026781
2014-08-28 16:24jecharriProposed Solution updated
2014-08-28 16:28jecharriProposed Solution updated
2014-09-11 01:20szapataNote Added: 0070076
2014-09-11 01:20szapataStatusnew => feedback
2014-09-11 01:24jecharriStatusfeedback => new
2014-09-11 01:33szapataNote Added: 0070078
2014-09-12 01:28hgbotCheckin
2014-09-12 01:28hgbotNote Added: 0070092
2014-09-12 01:28hgbotStatusnew => resolved
2014-09-12 01:28hgbotResolutionopen => fixed
2014-09-12 01:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7 [^]
2014-09-16 08:38OrekariaReview Assigned To => Orekaria
2014-09-16 08:38OrekariaStatusresolved => closed
2014-09-16 08:38OrekariaFixed in Version => RR14Q4
2014-09-26 15:10OrekariaRelationship addedrelated to 0027695
2014-09-29 17:43migueldejuanaAssigned Tomarvintm => szapata
2014-09-29 17:43migueldejuanaNote Added: 0070503
2014-09-29 17:43migueldejuanaStatusclosed => new
2014-09-29 17:43migueldejuanaResolutionfixed => open
2014-09-29 17:43migueldejuanaFixed in VersionRR14Q4 =>
2014-10-01 22:49hgbotCheckin
2014-10-01 22:49hgbotNote Added: 0070632
2014-10-01 22:49hgbotStatusnew => resolved
2014-10-01 22:49hgbotResolutionopen => fixed
2014-10-01 22:49hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/225553f3f1e070f271424c731b044d800d0eb21b [^]
2014-10-02 17:08hgbotCheckin
2014-10-02 17:08hgbotNote Added: 0070668
2014-10-02 17:08hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/225553f3f1e070f271424c731b044d800d0eb21b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa86c7ba673d791981d768b11368d468fafa27b9 [^]
2014-10-02 17:25migueldejuanaReview Assigned ToOrekaria => migueldejuana
2014-10-02 17:25migueldejuanaNote Added: 0070669
2014-10-02 17:25migueldejuanaStatusresolved => closed
2014-10-02 17:25migueldejuanaFixed in Version => RR14Q4
2014-11-17 13:21mtaalRelationship addedcauses 0028006

Notes
(0070076)
szapata   
2014-09-11 01:20   
Is there any steps to reproduce I'm missing?
Not able to reproduce.
(0070078)
szapata   
2014-09-11 01:33   
Is there any environment to see the problem?
Thanks
(0070092)
hgbot   
2014-09-12 01:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Fri Sep 12 01:27:59 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8a47e6f0b72c07bd61ce8e3b1ce8dbf2b6c0e0b7 [^]

Fixed issue 27492: If oldGross = 0 means that no discount has been applied, so it is an incorrect amount for an order

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0070503)
migueldejuana   
2014-09-29 17:43   
One case that order gross can be 0:

- Add a line
- Add a 100% discount to this line
- Total of the ticket is 0
- ERROR: We cannot process this order

We should be able to process this order.
(0070632)
hgbot   
2014-10-01 22:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 225553f3f1e070f271424c731b044d800d0eb21b
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Wed Oct 01 17:48:13 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/225553f3f1e070f271424c731b044d800d0eb21b [^]

Fixed issue 27492: restriction valid only if no promotions found

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0070668)
hgbot   
2014-10-02 17:08   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fa86c7ba673d791981d768b11368d468fafa27b9
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Thu Oct 02 12:07:33 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa86c7ba673d791981d768b11368d468fafa27b9 [^]

Fixed issue 27492: Check also if the promotion is by the 100% of the amount, if not, it should fail

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---
(0070669)
migueldejuana   
2014-10-02 17:25   
Tested and reviewed in 7df701d05751