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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030888
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorN/A2015-09-22 15:072016-02-05 13:49
ReporterguillermogilView Statuspublic 
Assigned Toumartirena 
PrioritynormalResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revisionab0b0ada2345
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

0030888: It could be nice to have a different template for closed invoices

DescriptionIt could be nice to have a different template for closed invoices.
See attached screenshots.
Steps To ReproduceN/A
Proposed SolutionIt will be needed to create a new field on Organization window.
It will be needed also a new POS Print template type (‘Closed Invoice’).
Then it will be needed to send that template to WebPOS:

e.g.- (pointofsale-print.js)
this.templateclosedinvoice = new OB.DS.HWResource(terminal.printClosedInvoiceTemplate || OB.OBPOSPointOfSale.Print.ClosedInvoiceTemplate);
extendHWResource(this.templateclosedinvoice, "printClosedInvoiceTemplate");

OB.OBPOSPointOfSale.Print.ClosedInvoiceTemplate = '../org.openbravo.retail.posterminal/res/printclosedinvoice.xml';

Then create an structure to allow the printing of this template if it is an invoice and it is already paid.

A new base template needs to be added to posterminal: ‘printclosedinvoice.xml’. It need to be based on the current print invoice template with the label closed.
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2015-09-22 14:51:19.png [^] (122,220 bytes) 2015-09-22 15:07


png file icon Screenshot from 2015-09-22 14:46:46.png [^] (100,482 bytes) 2015-09-22 15:07


diff file icon 30888.diff [^] (29,324 bytes) 2015-10-06 15:02 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031044 closedadrianromero Print of a Paid Receipt using "Print this Receipt" menu option, fails. 

-  Notes
(0080845)
umartirena (reporter)
2015-10-06 15:02

Find the resolution patch attached
(0081146)
adrianromero (manager)
2015-10-20 17:47

The diff attached has an error that is fixed in issue 31044
(0083906)
hgbot (developer)
2016-02-04 07:53

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ab0b0ada2345ea9d6d4c48abf3e376f4fb56e736
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Tue Oct 06 15:00:05 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ab0b0ada2345ea9d6d4c48abf3e376f4fb56e736 [^]

Fixes bug 30888: Added a template for Closed Invoices

---
M src-db/database/model/modifiedTables/AD_ORG.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_VAL_RULE.xml
M src-db/database/sourcedata/OBPOS_PRINT_TEMPLATE.xml
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
A web/org.openbravo.retail.posterminal/res/printclosedinvoice.xml
---
(0083909)
hgbot (developer)
2016-02-04 07:53

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 74faf09c4dbfb124113afe3a6c1d911f74484802
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Feb 03 15:49:42 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/74faf09c4dbfb124113afe3a6c1d911f74484802 [^]

Related to issue 30888: Fixed DBCons

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
---
(0083918)
hgbot (developer)
2016-02-04 10:22

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a1706ba2d9adf8458f6df2b6a289df965d4656fe
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Feb 04 10:21:18 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a1706ba2d9adf8458f6df2b6a289df965d4656fe [^]

Related to issue 30888: Fix copyright

---
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
M web/org.openbravo.retail.posterminal/res/printclosedinvoice.xml
---

- Issue History
Date Modified Username Field Change
2015-09-22 15:07 guillermogil New Issue
2015-09-22 15:07 guillermogil Assigned To => Retail
2015-09-22 15:07 guillermogil Triggers an Emergency Pack => No
2015-09-22 15:07 guillermogil File Added: Screenshot from 2015-09-22 14:51:19.png
2015-09-22 15:07 guillermogil File Added: Screenshot from 2015-09-22 14:46:46.png
2015-10-06 15:02 umartirena File Added: 30888.diff
2015-10-06 15:02 umartirena Note Added: 0080845
2015-10-20 17:29 adrianromero Relationship added blocks 0031044
2015-10-20 17:47 adrianromero Note Added: 0081146
2016-02-04 07:53 hgbot Checkin
2016-02-04 07:53 hgbot Note Added: 0083906
2016-02-04 07:53 hgbot Status new => resolved
2016-02-04 07:53 hgbot Resolution open => fixed
2016-02-04 07:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ab0b0ada2345ea9d6d4c48abf3e376f4fb56e736 [^]
2016-02-04 07:53 hgbot Checkin
2016-02-04 07:53 hgbot Note Added: 0083909
2016-02-04 10:22 hgbot Checkin
2016-02-04 10:22 hgbot Note Added: 0083918
2016-02-05 12:02 marvintm Assigned To Retail => guillermogil
2016-02-05 12:02 marvintm Review Assigned To => marvintm
2016-02-05 12:02 marvintm Status resolved => closed
2016-02-05 12:02 marvintm Fixed in Version => RR16Q2
2016-02-05 13:49 guillermogil Assigned To guillermogil => umartirena


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker