Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041139Retail ModulesWeb POSpublic2019-06-20 16:422019-07-11 18:32
joniturralde93 
rqueralta 
urgentmajoralways
closedfixed 
5
pi 
piRR19Q4 
guilleaer
No
0041139: Web POS action Print receipt preference doesn't work (attached possible fix)
The value of this preference is not considered in Web POS. The menu button "print this receipt" will print the ticket regardless of the value of this preference.

This is due to the condition being:

    if (OB.MobileApp.model.hasPermission('OBPOS_print.receipt')) {

This doesn't check the value of the preference.

Possible fix attached.
1. Check as system admin that this preference is set to 'N'
2. Go to Web POS and add a product to the order
3. Menu -> Print this receipt

You can debug this line:
    if (OB.MobileApp.model.hasPermission('OBPOS_print.receipt')) {
No tags attached.
related to defect 0042414 closed ranjith_qualiantech_com Menu > Print This Receipt does not work in Live Builds with new skin 
diff 41139.diff (1,108) 2019-06-20 16:43
https://issues.openbravo.com/file_download.php?file_id=13031&type=bug
Issue History
2019-06-20 16:42joniturralde93New Issue
2019-06-20 16:42joniturralde93Assigned To => Retail
2019-06-20 16:42joniturralde93Resolution time => 1562796000
2019-06-20 16:42joniturralde93Triggers an Emergency Pack => No
2019-06-20 16:43joniturralde93File Added: 41139.diff
2019-06-24 05:15rqueraltaAssigned ToRetail => rqueralta
2019-06-24 05:16rqueraltaStatusnew => scheduled
2019-07-08 14:54hgbotCheckin
2019-07-08 14:54hgbotNote Added: 0113213
2019-07-08 14:54hgbotStatusscheduled => resolved
2019-07-08 14:54hgbotResolutionopen => fixed
2019-07-08 14:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8265bbd36c3eb906bcddda12578dab35660786bc [^]
2019-07-08 18:44guilleaerReview Assigned To => guilleaer
2019-07-08 18:44guilleaerStatusresolved => closed
2019-07-08 18:44guilleaerFixed in Version => RR19Q4
2019-07-09 11:41hgbotCheckin
2019-07-09 11:41hgbotNote Added: 0113239
2019-07-11 15:32hgbotCheckin
2019-07-11 15:32hgbotNote Added: 0113287
2019-07-11 15:32hgbotStatusclosed => resolved
2019-07-11 15:32hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8265bbd36c3eb906bcddda12578dab35660786bc [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/8265bbd36c3eb906bcddda12578dab35660786bc [^]
2019-07-11 18:32guilleaerNote Deleted: 0113287
2019-07-11 18:32guilleaerNote Added: 0113295
2019-07-11 18:32guilleaerStatusresolved => closed
2019-12-02 14:18ranjith_qualiantech_comRelationship addedrelated to 0042414

Notes
(0113213)
hgbot   
2019-07-08 14:54   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8265bbd36c3eb906bcddda12578dab35660786bc
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Jul 05 15:04:52 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8265bbd36c3eb906bcddda12578dab35660786bc [^]

Fixed issue 41139: 41139: Web POS action Print receipt preference doesn't work

- Change preference verification parameters

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0113239)
hgbot   
2019-07-09 11:41   
Repository: tools/automation/pi-mobile
Changeset: 618d0b4fedca7c3384f76199641880d3f62dc11f
Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Jul 09 10:06:11 2019 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/618d0b4fedca7c3384f76199641880d3f62dc11f [^]

Related to issue 41139: Enable OBPOS_print.receipt preference in OBCFRTicket.xTicketReprint test

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/certification_france/OBCFRTestBase.java
---
(0113295)
guilleaer   
2019-07-11 18:32   
reclosed