Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-02-11 18:312019-02-28 08:54
ReporteraaroncaleroView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revisiona67707bed965
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0040181: Closed Invoice template is no longer used when reprinting invoices in Web POS

DescriptionClosed 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 ReproduceLogin 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 SolutionWhen 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0040191RR19Q1 closedrqueralta Closed Invoice template is no longer used when reprinting invoices in Web POS 

-  Notes
hgbot (developer)
2019-02-13 05:19

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a67707bed965a7471bd4277a2e21d56058f7f3cd
Author: Rafael Queralta <rafaelcuba81 <at>>
Date: Mon Feb 11 16:35:31 2019 -0500
URL: [^]

Fixed issue 40181: Closed Invoice template is no longer used when reprinting
invoices in Web POS

- isinvoice property was seted into OpenInvoices process

M web/org.openbravo.retail.posterminal/js/components/modalinvoices.js
jorge-garcia (developer)
2019-02-28 08:54

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2019-02-11 18:31 aaroncalero New Issue
2019-02-11 18:31 aaroncalero Assigned To => Retail
2019-02-11 18:31 aaroncalero Triggers an Emergency Pack => No
2019-02-11 20:46 rqueralta Assigned To Retail => rqueralta
2019-02-11 20:47 rqueralta Status new => scheduled
2019-02-13 05:19 hgbot Checkin
2019-02-13 05:19 hgbot Note Added: 0109785
2019-02-13 05:19 hgbot Status scheduled => resolved
2019-02-13 05:19 hgbot Resolution open => fixed
2019-02-13 05:19 hgbot Fixed in SCM revision => [^]
2019-02-13 15:32 marvintm Status resolved => new
2019-02-13 15:32 marvintm Resolution fixed => open
2019-02-13 15:32 marvintm Status new => scheduled
2019-02-13 15:32 marvintm Status scheduled => resolved
2019-02-13 15:32 marvintm Resolution open => fixed
2019-02-28 08:42 jorge-garcia Review Assigned To => jorge-garcia
2019-02-28 08:54 jorge-garcia Note Added: 0110115
2019-02-28 08:54 jorge-garcia Status resolved => closed
2019-02-28 08:54 jorge-garcia Fixed in Version => RR19Q2

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker