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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047413
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coreminorhave not tried2021-07-19 13:252022-10-24 11:26
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
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

0047413: Printing templates as masterdata

DescriptionPrinting templates should be definable as masterdata.

Project: https://docs.google.com/document/d/1T32FI9272nBDS5dfcS86bpz5mrzNEFa3QPCo9aeR-88/edit#heading=h.qkc7prkk4nv6 [^]
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 0047735 closedalostale Retail Modules API changes for masterdata print templates (47413) 
related to defect 0047955 closedalostale POS2 ORA: can't save print template without module 
related to feature request 0050615 newTriage Platform Base POS2 Support defining printing templates as masterdata in all mobile applications 

-  Notes
(0130818)
hgbot (developer)
2021-07-28 07:44

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/643 [^]
(0130819)
hgbot (developer)
2021-07-28 07:49

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/527 [^]
(0130820)
hgbot (developer)
2021-07-28 07:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/266 [^]
(0131738)
hgbot (developer)
2021-09-13 13:30

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/42 [^]
(0132695)
hgbot (developer)
2021-10-28 07:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/39 [^]
(0132736)
hgbot (developer)
2021-10-29 09:59

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/266 [^]
(0132737)
hgbot (developer)
2021-10-29 09:59

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 7d1685482a7772bae7328bcac30f1dfddcfd6e7c
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-29T09:58:30+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/7d1685482a7772bae7328bcac30f1dfddcfd6e7c [^]

FR-47413: printing templates as masterdata

Basic infrastructure changes to support this feature.

---
M src/org/openbravo/mobile/core/master/MasterDataProcessHQLQuery.java
M src/org/openbravo/mobile/core/model/HQLProperty.java
M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java
---
(0132739)
hgbot (developer)
2021-10-29 10:02

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c8db586ffb70c68d3e7155f60b3bde6a94611115
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-29T10:00:55+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c8db586ffb70c68d3e7155f60b3bde6a94611115 [^]

fixed FR-47413: printing templates as masterdata

POS2 priting templates can be optionally defined as masterdata instead
of as code.

---
A src/org/openbravo/retail/posterminal/event/TemplateEventHandler.java
M src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
M src-db/database/model/tables/OBPOS_PRINT_TEMPLATE_SUBREP.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
M web-test/external-device/printing/PrintTemplate.test.js
M web-test/external-device/printing/PrintTemplateGeneration.test.js
M web-test/external-device/printing/TicketPrinter.test.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/PrintTemplate.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/PrintTemplateStore.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/TicketPrinter.js
---
(0132740)
hgbot (developer)
2021-10-29 10:02

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/527 [^]
(0132741)
hgbot (developer)
2021-10-29 10:03

Repository: https://gitlab.com/openbravo/ci/mobile-api [^]
Changeset: 9bc125f3345839915724d3538b66d3405611cfed
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-29T07:38:26+02:00
URL: https://gitlab.com/openbravo/ci/mobile-api/-/commit/9bc125f3345839915724d3538b66d3405611cfed [^]

fixed ISSUE-47735: API changes for FR-47413 (masterdata print templates)

---
M model/modules/org.openbravo.retail.posterminal/src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
M model/modules/org.openbravo.retail.posterminal/src-db/database/model/tables/OBPOS_PRINT_TEMPLATE_SUBREP.xml
---
(0132744)
hgbot (developer)
2021-10-29 10:04

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a8922e701e3a638d8dbdb83523ef0581058d56e1
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-29T10:04:10+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a8922e701e3a638d8dbdb83523ef0581058d56e1 [^]

fixed FR-47413: printing templates as masterdata

POS2 priting templates can be optionally defined as masterdata instead
of as code.

---
A src-db/database/model/modifiedTables/OBPOS_PRINT_TEMPLATE.xml
A src-db/database/model/modifiedTables/OBPOS_PRINT_TEMPLATE_SUBREP.xml
A src-test/org/openbravo/pos2/PosTestConstants.java
A src-test/org/openbravo/pos2/StandaloneTestSuite.java
A src-test/org/openbravo/pos2/master/print/TemplateValidator.java
A src-test/org/openbravo/pos2/master/print/TerminalTemplateTest.java
A src/org/openbravo/pos2/POS2Initializer.java
A src/org/openbravo/pos2/login/POS1InitialValidations.java
A src/org/openbravo/pos2/master/print/PrintSubreportTemplate.java
A src/org/openbravo/pos2/master/print/PrintTemplate.java
A src/org/openbravo/pos2/master/print/TerminalTemplate.java
A web-jspack/org.openbravo.pos2/src/model/masterdata/print/PrintSubreportTemplateModel.js
A web-jspack/org.openbravo.pos2/src/model/masterdata/print/PrintTemplateModel.js
A web-jspack/org.openbravo.pos2/src/model/masterdata/print/TerminalTemplateModel.js
A web-jspack/org.openbravo.pos2/src/services/printing/__test__/printTemplateInitializer.test.js
A web-jspack/org.openbravo.pos2/src/services/printing/configurePrintTemplate.js
A web-jspack/org.openbravo.pos2/src/services/printing/printTemplateInitializer.js
A web-jspack/org.openbravo.pos2/src/services/printing/printTemplateModelListener.js
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/org/openbravo/pos2/login/POS2InitialValidations.java
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0132745)
hgbot (developer)
2021-10-29 10:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/643 [^]
(0132746)
hgbot (developer)
2021-10-29 10:05

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^]
Changeset: 4927aeaff38b279df78dce87326d573cb81d15b7
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-28T07:43:42+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/4927aeaff38b279df78dce87326d573cb81d15b7 [^]

related to FR-47413: printing templates as masterdata

Now templates can be defined as sourcedata or as a url path to a file as
it was before. In the first case, the resource parameter is the name of
the template whereas in the second it is the path.

Consider both cases to determine the compile jasper file name.

---
M bin/poshw.jar
M bin/rev.id
---
(0132747)
hgbot (developer)
2021-10-29 10:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/merge_requests/39 [^]
(0132748)
hgbot (developer)
2021-10-29 10:06

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/42 [^]
(0132749)
hgbot (developer)
2021-10-29 10:06

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^]
Changeset: 6e0d1a9e1b7593afca39e7d9f4514a9b581cd08f
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-10-28T07:45:45+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/6e0d1a9e1b7593afca39e7d9f4514a9b581cd08f [^]

related to FR-47413: printing templates as masterdata

Now templates can be defined as sourcedata or as a url path to a file as
it was before. In the first case, the resource parameter is the name of
the template whereas in the second it is the path.

Consider both cases to determine the compile jasper file name.

---
M project/src/com/openbravo/pos/printer/printer/DevicePrinterPrinter.java
---
(0132779)
hgbot (developer)
2021-11-02 10:18

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ae587bf962e23c48aba5677b17a60b6422018608
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-11-02T10:16:03+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ae587bf962e23c48aba5677b17a60b6422018608 [^]

related to FR-47413: prefer setAdminMode(boolean)

Changed setAdminMode() to the preferred setAdminMode(boolean) form. In
this case, as admin mode is set to query AD objects which are always in
system, performing client/org check is fine.

---
M src/org/openbravo/retail/posterminal/event/TemplateEventHandler.java
---

- Issue History
Date Modified Username Field Change
2021-07-19 13:25 alostale New Issue
2021-07-19 13:25 alostale Assigned To => Retail
2021-07-19 13:25 alostale Triggers an Emergency Pack => No
2021-07-28 07:44 hgbot Note Added: 0130818
2021-07-28 07:49 hgbot Note Added: 0130819
2021-07-28 07:59 hgbot Note Added: 0130820
2021-09-13 13:30 hgbot Note Added: 0131738
2021-09-22 07:41 alostale Relationship added depends on 0047735
2021-10-11 12:47 guilleaer Status new => scheduled
2021-10-11 12:47 guilleaer Assigned To Retail => alostale
2021-10-28 07:50 hgbot Note Added: 0132695
2021-10-29 09:59 hgbot Note Added: 0132736
2021-10-29 09:59 hgbot Note Added: 0132737
2021-10-29 10:02 hgbot Resolution open => fixed
2021-10-29 10:02 hgbot Status scheduled => closed
2021-10-29 10:02 hgbot Fixed in Version => RR22Q1
2021-10-29 10:02 hgbot Note Added: 0132739
2021-10-29 10:02 hgbot Note Added: 0132740
2021-10-29 10:03 hgbot Note Added: 0132741
2021-10-29 10:04 hgbot Note Added: 0132744
2021-10-29 10:05 hgbot Note Added: 0132745
2021-10-29 10:05 hgbot Note Added: 0132746
2021-10-29 10:05 hgbot Note Added: 0132747
2021-10-29 10:06 hgbot Note Added: 0132748
2021-10-29 10:06 hgbot Note Added: 0132749
2021-11-02 08:12 alostale Relationship added related to 0047955
2021-11-02 10:18 hgbot Note Added: 0132779
2022-10-24 11:26 caristu Issue cloned 0050615
2022-10-24 11:26 caristu Relationship added related to 0050615


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker