Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035379Retail ModulesWeb POSpublic2017-02-28 13:422017-03-08 18:21
adrianromero 
ranjith_qualiantech_com 
urgentmajorhave not tried
closedfixed 
5
 
RR17Q2 
marvintm
No
0035379: [SER-QA 2496] Cancelled documents cannot print the negative document no
The assignment of the negative document no in a cancelled document is wrong:

https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b422395a0121/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js#l318 [^]
N/A
Replace in pointofsale-print.js. See attached patch

var negativeDocNo = receipt.get('negativeDocNo').documentNo;

by

var negativeDocNo = receipt.get('negativeDocNo');
SER-QA
diff Issue35379.diff (1,502) 2017-02-28 13:45
https://issues.openbravo.com/file_download.php?file_id=10511&type=bug
Issue History
2017-02-28 13:42adrianromeroNew Issue
2017-02-28 13:42adrianromeroAssigned To => Retail
2017-02-28 13:42adrianromeroResolution time => 1489446000
2017-02-28 13:42adrianromeroTriggers an Emergency Pack => No
2017-02-28 13:42adrianromeroTag Attached: SER-QA
2017-02-28 13:45adrianromeroProposed Solution updated
2017-02-28 13:45adrianromeroFile Added: Issue35379.diff
2017-03-02 15:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-03-02 15:54ranjith_qualiantech_comStatusnew => scheduled
2017-03-07 07:07hgbotCheckin
2017-03-07 07:07hgbotNote Added: 0094778
2017-03-07 07:07hgbotStatusscheduled => resolved
2017-03-07 07:07hgbotResolutionopen => fixed
2017-03-07 07:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3f17b39e5ce06e58d5a491fed87766c2813799b [^]
2017-03-08 18:21marvintmReview Assigned To => marvintm
2017-03-08 18:21marvintmStatusresolved => closed
2017-03-08 18:21marvintmFixed in Version => RR17Q2

Notes
(0094778)
hgbot   
2017-03-07 07:07   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b3f17b39e5ce06e58d5a491fed87766c2813799b
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Mar 07 11:36:41 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3f17b39e5ce06e58d5a491fed87766c2813799b [^]

Fixes issue 0035379: [SER-QA 2496] Cancelled documents cannot print the negative document no

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