Openbravo Issue Tracking System - Retail Modules
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0040191||Retail Modules||Web POS||public||2019-02-11 18:31||2019-03-05 17:31|
|Target Version||RR19Q1||Fixed in Version|
|Review Assigned To||jorge-garcia|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
|Summary||0040191: Closed Invoice template is no longer used when reprinting invoices in Web POS|
|Description||Closed Invoice template is no longer used when reprinting invoices in Web POS. When an invoice is printed, the Closed Receipt template is used.|
|Steps To Reproduce||Login in Web POS|
Create a new ticket
Go to the menu and click on Invoice this receipt
Add a product to the ticket
Pay and complete the receipt.
Load the receipt again.
Go to the menu > Print this receipt
Select the invoice and click on Print Invoices
Verify on the Network tab of devtools that the printclosedreceipt.xml file has been requested, instead of printclosedinvoice.xml
|Proposed Solution||When a ticket is printed, the code looks for an isInvoice flag to see if the printed model is an invoice.|
This flag only exists when an invoice is generated for the first time (during the synchronization of the receipt).
When the OpenInvoices process is called to load the invoices to be printed, and the invoice models are generated, the isInvoice flag needs to be set.
|Tags||No tags attached.|
|2019-02-13 15:32||marvintm||Type||defect => backport|
|2019-02-13 15:32||marvintm||Target Version||=> RR19Q1|
|2019-03-04 15:00||hgbot||Note Added: 0110194|
|2019-03-04 15:00||hgbot||Status||scheduled => resolved|
|2019-03-04 15:00||hgbot||Resolution||open => fixed|
|2019-03-04 15:00||hgbot||Fixed in SCM revision||http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a67707bed965a7471bd4277a2e21d56058f7f3cd [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/c4f8121f30707fed7a68ebb2d5bdb8bfb133020a [^]|
|2019-03-05 17:31||jorge-garcia||Review Assigned To||=> jorge-garcia|
|2019-03-05 17:31||jorge-garcia||Note Added: 0110238|
|2019-03-05 17:31||jorge-garcia||Status||resolved => closed|