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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031395
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2015-11-06 14:422016-02-02 19:34
ReporteradrianromeroView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revisiond78f0ae3bdec
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031395: Printing receipt or jasper based on receipt conditions

DescriptionWhen closing a receipt in Web POS, and based on receipt conditions, it may be printed a regular receipt or a jasper reports.

Currently it is possible to configure the Web POS to print when closing the receipt either a regular receipt or a jasper report but it is not possible to select what kind of document to print based on information included in the receipt. This type of functionality is needed to localize the Web POS to some countries.
Steps To ReproduceN/A
Proposed SolutionProof of concept in diff attached
TagsNo tags attached.
Attached Filesdiff file icon printingJASPERorXML.diff [^] (22,105 bytes) 2015-12-21 12:51 [Show Content]
diff file icon unittests-issue-31395.diff [^] (8,132 bytes) 2016-01-22 11:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0083427)
adrianromero (manager)
2016-01-20 09:08

Documentation
http://wiki.openbravo.com/wiki/Retail:Developers_Guide/Javascript_template_engine_for_receipt_printer_and_customer_displays_documents#Executing_a_report_receipt [^]
http://wiki.openbravo.com/wiki/How_to_create_a_receipt_report#Introduction [^]
(0083633)
adrianromero (manager)
2016-01-27 12:23

successful retail-try build
https://ci.openbravo.com/job/try-ret-init/2492/ [^]
(0083692)
hgbot (developer)
2016-01-28 18:23

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d78f0ae3bdec08a627619e9ca77f1fde108375aa
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jan 19 12:44:28 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d78f0ae3bdec08a627619e9ca77f1fde108375aa [^]

Fixes issue 0031395: Printing receipt or jasper based on receipt conditions
* Evaluate template data to print to decide whether print a jasper report or follow the default path of printing the receipt

---
M web/org.openbravo.retail.posterminal/js/datasource.js
---
(0083768)
hgbot (developer)
2016-02-01 09:37

Repository: tools/automation/pi-mobile
Changeset: 82840b1883ed438635be38cf5e77025d89d5685a
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jan 28 18:47:01 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/82840b1883ed438635be38cf5e77025d89d5685a [^]

Tests for issue 31395: Printing receipt or jasper based on receipt conditions

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/printing/AllPrintingTests.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/printing/Feature31395_UnitTestsPrinting.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/printing/testJRXMLHardwareManager.js
---

- Issue History
Date Modified Username Field Change
2015-11-06 14:42 adrianromero New Issue
2015-11-06 14:42 adrianromero Assigned To => adrianromero
2015-11-06 14:42 adrianromero Triggers an Emergency Pack => No
2015-12-21 12:51 adrianromero Proposed Solution updated
2015-12-21 12:51 adrianromero File Added: printingJASPERorXML.diff
2016-01-20 09:05 adrianromero Status new => scheduled
2016-01-20 09:08 adrianromero Note Added: 0083427
2016-01-20 09:09 adrianromero Review Assigned To => marvintm
2016-01-22 11:55 adrianromero File Added: unittests-issue-31395.diff
2016-01-27 12:23 adrianromero Note Added: 0083633
2016-01-28 18:23 hgbot Checkin
2016-01-28 18:23 hgbot Note Added: 0083692
2016-01-28 18:23 hgbot Status scheduled => resolved
2016-01-28 18:23 hgbot Resolution open => fixed
2016-01-28 18:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d78f0ae3bdec08a627619e9ca77f1fde108375aa [^]
2016-02-01 09:37 hgbot Checkin
2016-02-01 09:37 hgbot Note Added: 0083768
2016-02-02 19:34 marvintm Status resolved => closed
2016-02-02 19:34 marvintm Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker