Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027910Retail ModulesWeb POSpublic2014-10-17 19:102014-10-23 15:59
jecharri 
Orekaria 
immediatemajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
malsasua
Production - Confirmed Stable
2014-09-03
RR14Q2.3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b0f48be3005029a24c7d6dce8978bb6e913a6dfd [^]
No
0027910: The modulescript in issue 27425 will mark credit ticket as paid
The modulescript in issue 27425 will mark credit ticket as paid

If you have an order created created in Web POS and you chose to pay on credit the invoice will be created as not paid. This is something that it is fine.

The problem is that the modulescript will mark the invoice as paid and also updating related fields to mark the invoice as paid
-Go to Web POS
-Create and order and pay on credit

Execute the module script, verify that invoice is changed to payed status

Only completely paid invoices should be affected
No tags attached.
caused by defect 0027425 closed Orekaria Cash up invoices are created as not paid since Q2.2 
Issue History
2014-10-17 19:10jecharriNew Issue
2014-10-17 19:10jecharriAssigned To => Orekaria
2014-10-17 19:10jecharriResolution time => 1413842400
2014-10-17 19:10jecharriRegression level => Production - Confirmed Stable
2014-10-17 19:10jecharriRegression date => 2014-09-03
2014-10-17 19:10jecharriRegression introduced in release => RR14Q2.3
2014-10-17 19:10jecharriRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b0f48be3005029a24c7d6dce8978bb6e913a6dfd [^]
2014-10-17 19:10jecharriTriggers an Emergency Pack => No
2014-10-17 19:11jecharriRelationship addedcaused by 0027425
2014-10-17 19:15jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6841#r6841
2014-10-20 12:33hgbotCheckin
2014-10-20 12:33hgbotNote Added: 0071044
2014-10-20 12:33hgbotStatusnew => resolved
2014-10-20 12:33hgbotResolutionopen => fixed
2014-10-20 12:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54e8be8ebf45f16b40a8a7d6e47e6c42008362f5 [^]
2014-10-20 17:20hgbotCheckin
2014-10-20 17:20hgbotNote Added: 0071053
2014-10-20 17:20jecharriNote Added: 0071054
2014-10-20 18:44hgbotCheckin
2014-10-20 18:44hgbotNote Added: 0071063
2014-10-20 22:16malsasuaReview Assigned To => malsasua
2014-10-20 22:16malsasuaNote Added: 0071066
2014-10-20 22:16malsasuaStatusresolved => closed
2014-10-20 22:16malsasuaFixed in Version => RR14Q4
2014-10-23 15:59ngarciaIssue Monitored: ngarcia

Notes
(0071044)
hgbot   
2014-10-20 12:33   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 54e8be8ebf45f16b40a8a7d6e47e6c42008362f5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 20 12:32:54 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54e8be8ebf45f16b40a8a7d6e47e6c42008362f5 [^]

Fixed issue 27910. The modulescript will mark as paid not all invoices, but only the ones whose payments sum the grand total amount of the invoice.

---
M build/classes/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425Data.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425_Data.xsql
---
(0071053)
hgbot   
2014-10-20 17:20   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3f42693e337fd7bee327922872d5ecb33ef7e9f3
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 20 17:20:12 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3f42693e337fd7bee327922872d5ecb33ef7e9f3 [^]

Related to issue 27910. Fixed small typo in Oracle.

---
M build/classes/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425Data.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425_Data.xsql
---
(0071054)
jecharri   
2014-10-20 17:20   
Also it will be necessary to create a script to fix the data that previous one broke
(0071063)
hgbot   
2014-10-20 18:44   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dc09f9595d0b511939e6bdf60f1968d84cc2d69a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 20 18:44:41 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc09f9595d0b511939e6bdf60f1968d84cc2d69a [^]

Related to issue 27910. Corrected query to take into account the case of multiple orders included in the invoice.

---
M build/classes/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425Data.class
M src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/FixDataIssue27425_Data.xsql
---
(0071066)
malsasua   
2014-10-20 22:16   
verified