Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040181
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-02-11 18:312019-02-13 15:32
ReporteraaroncaleroView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revisiona67707bed965
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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 scheduledrqueralta Closed Invoice template is no longer used when reprinting invoices in Web POS 
Not all the children of this issue are yet resolved or closed.

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

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

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
---

- 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 => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a67707bed965a7471bd4277a2e21d56058f7f3cd [^]
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker