Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041451Retail ModulesWeb POSpublic2019-07-24 18:022023-10-06 09:21
aaroncalero 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041451: Preference Web POS action Print invoices automatically is not taken into account in Pay Open Tickets
The preference Web POS action Print invoices automatically is not taken into account in Pay Open Tickets. When a ticket generates an invoice during pay open tickets, the invoice is always printed regardless of the preference value.
Log in backend, navigate to the Vall Blanca Store organization and configure the invoice template.
Go to the preference window and verify that Web POS action Print invoices automatically is not configured or configured with a value of N

Log in Web POS
Create a new ticket and add a product.
Go to the menu > Invoice this receipt.
Go to the menu > Pay Open Tickets.
Select the current ticket and pay it.
Verify that 2 documents are printed: the ticket, and the invoice for the receipt.
Attached a patch (prepared on a 19Q1 instance) with a possible solution
No tags attached.
diff Issue41451.diff (994) 2019-07-24 18:26
https://issues.openbravo.com/file_download.php?file_id=13173&type=bug
Issue History
2019-07-24 18:02aaroncaleroNew Issue
2019-07-24 18:02aaroncaleroAssigned To => Retail
2019-07-24 18:02aaroncaleroResolution time => 1565128800
2019-07-24 18:02aaroncaleroTriggers an Emergency Pack => No
2019-07-24 18:26aaroncaleroFile Added: Issue41451.diff
2019-07-24 18:26aaroncaleroProposed Solution updated
2019-08-01 21:07rqueraltaAssigned ToRetail => rqueralta
2019-08-01 21:08rqueraltaStatusnew => scheduled
2019-08-04 05:14hgbotCheckin
2019-08-04 05:14hgbotNote Added: 0113801
2019-08-04 05:14hgbotStatusscheduled => resolved
2019-08-04 05:14hgbotResolutionopen => fixed
2019-08-04 05:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b437b91039b02070dbfad2c4d7cd82a82a5a5954 [^]
2019-08-07 08:11marvintmReview Assigned To => marvintm
2019-08-07 08:11marvintmStatusresolved => closed
2019-08-07 08:11marvintmFixed in Version => RR19Q4
2023-10-06 09:21jigsawsowNote Added: 0155604
2023-10-06 09:57aaroncaleroNote Deleted: 0155604

Notes
(0113801)
hgbot   
2019-08-04 05:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b437b91039b02070dbfad2c4d7cd82a82a5a5954
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Aug 01 16:46:47 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b437b91039b02070dbfad2c4d7cd82a82a5a5954 [^]

Fixed issue 41451: Preference Web POS action Print invoices automatically is not
taken into account in Pay Open Tickets

- Checked Preference Web POS action Print before print invoice ticket

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---