Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031285Retail ModulesWeb POSpublic2015-10-28 17:422016-01-22 12:00
adrianromero 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
RR16Q1 
marvintm
Coding ( Testing )
2015-10-28
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecee7e9e60422cad7386b819160fa9303ef9b3a0 [^]
No
0031285: The printed receipt does not show payment information and prints the label DRAFT
The receipt printed when I pay a receipt/layaway does not have payment information and prints the label DRAFT.

See attached image
Install and configure the Hardware Manager
Create a receipt and print it
See that the payments information does not exist and its printed DRAFT
See attached diff
No tags attached.
depends on backport 0031290RR15Q4 closed marvintm The printed receipt does not show payment information and prints the label DRAFT 
png Captura de pantalla de 2015-10-28 17:41:18.png (84,354) 2015-10-28 17:42
https://issues.openbravo.com/file_download.php?file_id=8660&type=bug
png

patch 318.patch (1,019) 2015-10-29 10:27
https://issues.openbravo.com/file_download.php?file_id=8662&type=bug
Issue History
2015-10-28 17:42adrianromeroNew Issue
2015-10-28 17:42adrianromeroAssigned To => Retail
2015-10-28 17:42adrianromeroFile Added: Captura de pantalla de 2015-10-28 17:41:18.png
2015-10-28 17:42adrianromeroRegression level => Coding ( Testing )
2015-10-28 17:42adrianromeroRegression date => 2015-10-28
2015-10-28 17:42adrianromeroRegression introduced in release => pi
2015-10-28 17:42adrianromeroTriggers an Emergency Pack => No
2015-10-29 10:11OrekariaStatusnew => scheduled
2015-10-29 10:11OrekariaAssigned ToRetail => adrianromero
2015-10-29 10:11OrekariaTypedefect => feature request
2015-10-29 10:13OrekariaTypefeature request => defect
2015-10-29 10:27adrianromeroRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecee7e9e60422cad7386b819160fa9303ef9b3a0 [^]
2015-10-29 10:27adrianromeroProposed Solution updated
2015-10-29 10:27adrianromeroFile Added: 318.patch
2015-10-29 10:43marvintmStatusscheduled => acknowledged
2015-10-29 10:43marvintmStatusacknowledged => scheduled
2015-11-03 16:52hgbotCheckin
2015-11-03 16:52hgbotNote Added: 0081451
2015-11-03 16:52hgbotStatusscheduled => resolved
2015-11-03 16:52hgbotResolutionopen => fixed
2015-11-03 16:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f44a91bb011e5a8229467073ffb33941e03beb1c [^]
2015-11-03 16:54adrianromeroNote Added: 0081455
2015-11-03 16:54adrianromeroStatusresolved => new
2015-11-03 16:54adrianromeroResolutionfixed => open
2015-11-03 16:54adrianromeroStatusnew => scheduled
2015-11-11 12:58hgbotCheckin
2015-11-11 12:58hgbotNote Added: 0081701
2015-11-11 16:46adrianromeroStatusscheduled => resolved
2015-11-11 16:46adrianromeroResolutionopen => fixed
2015-11-11 17:18OrekariaNote Added: 0081721
2015-11-11 17:18OrekariaStatusresolved => new
2015-11-11 17:18OrekariaResolutionfixed => open
2015-11-11 17:18OrekariaStatusnew => scheduled
2015-11-12 09:14hgbotCheckin
2015-11-12 09:14hgbotNote Added: 0081734
2015-11-12 09:14hgbotStatusscheduled => resolved
2015-11-12 09:14hgbotResolutionopen => fixed
2015-11-12 09:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f44a91bb011e5a8229467073ffb33941e03beb1c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/40f6dce4fbf135ec830aeaa8785a9e7152ee0d57 [^]
2015-11-12 12:36marvintmReview Assigned To => marvintm
2015-11-12 12:36marvintmStatusresolved => closed
2015-11-12 12:36marvintmFixed in Version => RR15Q4
2015-11-12 12:36marvintmStatusclosed => new
2015-11-12 12:36marvintmResolutionfixed => open
2015-11-12 12:36marvintmFixed in VersionRR15Q4 =>
2015-11-12 12:37marvintmStatusnew => scheduled
2015-11-12 12:37marvintmStatusscheduled => resolved
2015-11-12 12:37marvintmFixed in Version => RR16Q1
2015-11-12 12:37marvintmResolutionopen => fixed
2015-11-12 12:37marvintmStatusresolved => closed
2016-01-22 12:00hgbotCheckin
2016-01-22 12:00hgbotNote Added: 0083566

Notes
(0081451)
hgbot   
2015-11-03 16:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f44a91bb011e5a8229467073ffb33941e03beb1c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Oct 29 09:22:00 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f44a91bb011e5a8229467073ffb33941e03beb1c [^]

Fixes issue 0031285: The printed receipt does not show payment information and prints the label DRAFT
* Payments were deleted in the cloned receipt sent to the printer. Now payments are properly stored in cloned receipt

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0081455)
adrianromero   
2015-11-03 16:54   
Now it prints the payments but still prints the "DRAFT" label on closed receipts
(0081701)
hgbot   
2015-11-11 12:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1e17d483a24af3b030ab3b4b1ac167a4cef1c6bf
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Nov 05 13:56:29 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1e17d483a24af3b030ab3b4b1ac167a4cef1c6bf [^]

Related to bug 31285: The printed receipt now shows 'You have paid' label
Set 'hasbeenpaid' = Y to the order before sending it to the hardware manager

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0081721)
Orekaria   
2015-11-11 17:18   
hasbeenpaid is not always 'Y'

orderToPrint.set('hasbeenpaid', 'Y');
(0081734)
hgbot   
2015-11-12 09:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 40f6dce4fbf135ec830aeaa8785a9e7152ee0d57
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Nov 12 09:13:17 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/40f6dce4fbf135ec830aeaa8785a9e7152ee0d57 [^]

Fixes issue 0031285: The printed receipt does not show payment information and prints the label DRAFT
* Setting the property hasbeignpaid in the right place

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0083566)
hgbot   
2016-01-22 12:00   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bd82af00a8808971b76788763efc5bac4d5abd32
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Nov 05 13:56:29 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bd82af00a8808971b76788763efc5bac4d5abd32 [^]

Related to bug 31285: The printed receipt now shows 'You have paid' label
Set 'hasbeenpaid' = Y to the order before sending it to the hardware manager

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---