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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045785
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2021-01-26 11:222023-05-26 10:30
ReportercaristuView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionfixedFixed in VersionRR22Q4
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

0045785: Move hardware manager communication API to mobile.core

DescriptionCurrently all the logic to communicate with the hardware manager is centralized in the posterminal module. It should be moved to the mobile.core module so other applications (awo) can also perform hw manager operations like printing.

This includes the following tasks:

1- move code. Note that those parts of the code referencing to ticket/orders must be kept in posterminal. (Example: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/app/external-device/ExternalDeviceController.js#L262 [^])
2- create/move template backend and HWM definitions
Steps To ReproduceIn description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052515 closedadrianromero Retail Modules WebUSB and WebBluetooth printer receipts are not printed properly 
depends on feature request 0045634 closedRetail Retail Modules Reimplement printing infrastructure 
depends on defect 0050058 closedcaristu Openbravo ERP Warnings appear in the console when exporting a table to a module through naming exceptions 
related to defect 0050104 newRetail POS2 Move print ticket related utilities into pos2 
related to defect 0050152 closedRetail Retail Modules API changes due to the movement of the hardware manager communication API to mobile.core 
related to feature request 0050614 newTriage Omni WMS Modules Ability to configure the hardware manager, printers and templates to be used when printing documents 
related to feature request 0050615 newTriage Platform Base POS2 Support defining printing templates as masterdata in all mobile applications 
blocks defect 0050162 closedcaristu Modules Support printing Distribution Order Issues from AWO 

-  Notes
(0140386)
hgbot (developer)
2022-08-25 10:30

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/399 [^]
(0140387)
hgbot (developer)
2022-08-25 10:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/906 [^]
(0140392)
hgbot (developer)
2022-08-25 11:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1162 [^]
(0140395)
hgbot (developer)
2022-08-25 13:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.orderpreparation/-/merge_requests/12 [^]
(0140474)
hgbot (developer)
2022-08-30 07:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.trainingmode/-/merge_requests/14 [^]
(0140475)
hgbot (developer)
2022-08-30 07:57

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/28 [^]
(0140672)
hgbot (developer)
2022-09-05 08:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/399 [^]
(0140673)
hgbot (developer)
2022-09-05 08:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 280404ca228e2cc2f70ecbd3c2eb7698ed6de3ae
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 08:46:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/280404ca228e2cc2f70ecbd3c2eb7698ed6de3ae [^]

fixes ISSUE-45785: Move hardware manager communication API to mobile.core

---
A src-db/database/model/tables/OBPOS_HARDWAREMNG.xml
A src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
A src-db/database/model/tables/OBPOS_PRINT_TEMPLATE_SUBREP.xml
A src-db/database/sourcedata/AD_EXCEPTIONS.xml
A src-db/database/sourcedata/OBPOS_PRINT_TEMPLATE.xml
A src-db/database/sourcedata/OBUIAPP_PROCESS.xml
A web-test/external-device/ExternalDeviceController.test.js
A web-test/external-device/actions/InitHardwareManager.test.js
A web-test/external-device/actions/PrintWelcome.test.js
A web-test/external-device/printing/PrintTemplate.test.js
A web-test/external-device/printing/PrintTemplateGeneration.test.js
A web-test/external-device/printing/PrintTemplateMock.js
A web-test/external-device/printing/PrintTemplateStore.test.js
A web-test/external-device/printing/printResult.txt
A web-test/external-device/printing/template.xml
A web-test/integration/remote-server/HardwareManagerServer.test.js
A web-test/model/synchronization-buffer/HardwareManagerEndpoint.test.js
A web/org.openbravo.mobile.core/app/external-device/ExternalDeviceController.js
A web/org.openbravo.mobile.core/app/external-device/actions/InitHardwareManager.js
A web/org.openbravo.mobile.core/app/external-device/actions/PrintWelcome.js
A web/org.openbravo.mobile.core/app/external-device/printing/PrintTemplate.js
A web/org.openbravo.mobile.core/app/external-device/printing/PrintTemplateStore.js
A web/org.openbravo.mobile.core/app/integration/remote-server/HardwareManagerServer.js
A web/org.openbravo.mobile.core/app/model/synchronization-buffer/HardwareManagerEndpoint.js
A web/org.openbravo.mobile.core/app/web-printer/bluetooth.js
A web/org.openbravo.mobile.core/app/web-printer/bt-printers/genericBTPrinter.js
A web/org.openbravo.mobile.core/app/web-printer/bt-printers/zebraZQ320.js
A web/org.openbravo.mobile.core/app/web-printer/escpos.js
A web/org.openbravo.mobile.core/app/web-printer/standardprinters.js
A web/org.openbravo.mobile.core/app/web-printer/typedarrays.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/epsontmt20.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/epsontmt20ii.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/epsontmt88v.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/hpa799.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/ncr7197.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/startsp100.js
A web/org.openbravo.mobile.core/app/web-printer/usb-printers/wincorth230.js
A web/org.openbravo.mobile.core/app/web-printer/usb.js
A web/org.openbravo.mobile.core/app/web-printer/webprinter.js
A web/org.openbravo.mobile.core/img/openbravo-logo.png
A web/org.openbravo.mobile.core/js/utils/openhardwareurl.js
A web/org.openbravo.mobile.core/res/checkdrawerstatus.xml
A web/org.openbravo.mobile.core/res/cleandisplay.xml
A web/org.openbravo.mobile.core/res/opendrawer.xml
A web/org.openbravo.mobile.core/res/welcome.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_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
---
(0140674)
hgbot (developer)
2022-09-05 08:48

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1a92e8cdb578e35d091a280cca2e3242892dfe0c
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 08:47:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1a92e8cdb578e35d091a280cca2e3242892dfe0c [^]

related to ISSUE-45785: Move hardware manager communication API to mobile.core

---
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_MENU.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src-db/database/sourcedata/OBPOS_PRINT_TEMPLATE.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
M src/org/openbravo/retail/posterminal/AutoRegisterHWM.java
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M src/org/openbravo/retail/posterminal/event/TemplateEventHandler.java
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
M src/org/openbravo/retail/posterminal/utility/OBPOSPrintTemplateReader.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/PrintTemplateStore.test.js
M web-test/external-device/printing/TicketPrinter.test.js
M web/org.openbravo.retail.posterminal/app/external-device/ExternalDeviceController.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/CashupPrinter.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
M web/org.openbravo.retail.posterminal/js/components/modalselectprinters.js
M web/org.openbravo.retail.posterminal/js/datasource.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
M web/org.openbravo.retail.posterminal/js/utils/openhardwareurl.js
R src-db/database/model/tables/OBPOS_HARDWAREMNG.xml
R src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
R src-db/database/model/tables/OBPOS_PRINT_TEMPLATE_SUBREP.xml
R web-test/external-device/ExternalDeviceController.test.js
R web-test/external-device/actions/InitHardwareManager.test.js
R web-test/external-device/actions/PrintWelcome.test.js
R web-test/external-device/printing/PrintTemplateMock.js
R web-test/external-device/printing/printResult.txt
R web-test/external-device/printing/template.xml
R web-test/integration/remote-server/HardwareManagerServer.test.js
R web-test/model/synchronization-buffer/HardwareManagerEndpoint.test.js
R web/org.openbravo.retail.posterminal/app/external-device/actions/InitHardwareManager.js
R web/org.openbravo.retail.posterminal/app/external-device/actions/PrintWelcome.js
R web/org.openbravo.retail.posterminal/app/integration/remote-server/HardwareManagerServer.js
R web/org.openbravo.retail.posterminal/app/model/synchronization-buffer/HardwareManagerEndpoint.js
R web/org.openbravo.retail.posterminal/app/webprinter/bluetooth.js
R web/org.openbravo.retail.posterminal/app/webprinter/btprinters/genericBTPrinter.js
R web/org.openbravo.retail.posterminal/app/webprinter/btprinters/zebraZQ320.js
R web/org.openbravo.retail.posterminal/app/webprinter/escpos.js
R web/org.openbravo.retail.posterminal/app/webprinter/standardprinters.js
R web/org.openbravo.retail.posterminal/app/webprinter/typedarrays.js
R web/org.openbravo.retail.posterminal/app/webprinter/usb.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/epsontmt20.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/epsontmt20ii.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/epsontmt88v.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/hpa799.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/ncr7197.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/startsp100.js
R web/org.openbravo.retail.posterminal/app/webprinter/usbprinters/wincorth230.js
R web/org.openbravo.retail.posterminal/app/webprinter/webprinter.js
R web/org.openbravo.retail.posterminal/img/openbravo-logo.png
R web/org.openbravo.retail.posterminal/res/checkdrawerstatus.xml
R web/org.openbravo.retail.posterminal/res/cleandisplay.xml
R web/org.openbravo.retail.posterminal/res/opendrawer.xml
R web/org.openbravo.retail.posterminal/res/welcome.xml
---
(0140675)
hgbot (developer)
2022-09-05 08:48

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/906 [^]
(0140676)
hgbot (developer)
2022-09-05 08:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1162 [^]
(0140677)
hgbot (developer)
2022-09-05 08:49

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a46d372ae040c33df0414cf7650915b501549c58
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 06:48:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a46d372ae040c33df0414cf7650915b501549c58 [^]

related to ISSUE-45785: use mobile.core package

---
M src-test/org/openbravo/pos2/master/print/TemplateValidator.java
M src-test/org/openbravo/pos2/master/print/TerminalTemplateTest.java
M src/org/openbravo/pos2/POS2Initializer.java
M src/org/openbravo/pos2/master/print/PrintSubreportTemplate.java
M src/org/openbravo/pos2/master/print/PrintTemplate.java
M src/org/openbravo/pos2/master/print/TerminalTemplate.java
---
(0140678)
hgbot (developer)
2022-09-05 08:49

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.orderpreparation [^]
Changeset: c7571697f9d6c7fb8ec22a582ebc737af0b388f0
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 08:11:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.orderpreparation/-/commit/c7571697f9d6c7fb8ec22a582ebc737af0b388f0 [^]

related to ISSUE-45785: use mobile.core labels

---
M web/org.openbravo.retail.orderpreparation/js/utils.js
---
(0140679)
hgbot (developer)
2022-09-05 08:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.orderpreparation/-/merge_requests/12 [^]
(0140680)
hgbot (developer)
2022-09-05 08:49

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.trainingmode [^]
Changeset: fd4a97b389013699d7dfeed4032653d3f9a7b175
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 08:13:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.trainingmode/-/commit/fd4a97b389013699d7dfeed4032653d3f9a7b175 [^]

related to ISSUE-45785: use mobile.core package

---
M src/org/openbravo/retail/trainingmode/OBRTM_TerminalProperties.java
---
(0140681)
hgbot (developer)
2022-09-05 08:49

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.trainingmode/-/merge_requests/14 [^]
(0140682)
hgbot (developer)
2022-09-05 08:50

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore [^]
Changeset: c5fbe4c591a7c89bc9e1c982a76ae6b5f2cff1e9
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 05-09-2022 06:49:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/commit/c5fbe4c591a7c89bc9e1c982a76ae6b5f2cff1e9 [^]

related to ISSUE-45785: use mobile.core package

---
M src/org/openbravo/retail/copystore/process/BackupPrintersProcess.java
---
(0140683)
hgbot (developer)
2022-09-05 08:50

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.copystore/-/merge_requests/28 [^]

- Issue History
Date Modified Username Field Change
2021-01-26 11:22 caristu New Issue
2021-01-26 11:22 caristu Assigned To => Retail
2021-01-26 11:22 caristu Triggers an Emergency Pack => No
2021-01-26 11:22 caristu Issue generated from 0045784
2021-01-26 11:22 caristu Description Updated View Revisions
2021-01-26 11:23 caristu Description Updated View Revisions
2021-01-26 12:13 caristu Relationship added related to 0045634
2021-01-26 12:14 caristu Relationship replaced depends on 0045634
2021-01-29 14:30 caristu Description Updated View Revisions
2021-02-02 12:33 caristu Description Updated View Revisions
2022-08-25 10:04 caristu Relationship added depends on 0050058
2022-08-25 10:30 hgbot Note Added: 0140386
2022-08-25 10:32 hgbot Note Added: 0140387
2022-08-25 11:58 hgbot Note Added: 0140392
2022-08-25 13:05 hgbot Note Added: 0140393
2022-08-25 13:12 hgbot Note Added: 0140394
2022-08-25 13:16 hgbot Note Added: 0140395
2022-08-26 14:02 hgbot Note Added: 0140434
2022-08-26 15:32 caristu Note Deleted: 0140434
2022-08-29 07:36 hgbot Note Added: 0140446
2022-08-29 07:40 hgbot Note Added: 0140447
2022-08-29 07:43 caristu Note Deleted: 0140446
2022-08-29 07:43 caristu Note Deleted: 0140447
2022-08-29 07:43 caristu Note Deleted: 0140394
2022-08-29 07:44 caristu Note Deleted: 0140393
2022-08-29 12:49 caristu Description Updated View Revisions
2022-08-29 12:49 caristu Description Updated View Revisions
2022-08-30 07:55 hgbot Note Added: 0140474
2022-08-30 07:57 hgbot Note Added: 0140475
2022-08-30 08:52 caristu Issue cloned 0050104
2022-08-30 08:52 caristu Relationship added related to 0050104
2022-08-30 09:35 caristu Description Updated View Revisions
2022-09-05 07:21 caristu Issue cloned 0050152
2022-09-05 07:21 caristu Relationship added related to 0050152
2022-09-05 08:48 hgbot Resolution open => fixed
2022-09-05 08:48 hgbot Status new => closed
2022-09-05 08:48 hgbot Note Added: 0140672
2022-09-05 08:48 hgbot Fixed in Version => RR22Q4
2022-09-05 08:48 hgbot Note Added: 0140673
2022-09-05 08:48 hgbot Note Added: 0140674
2022-09-05 08:48 hgbot Note Added: 0140675
2022-09-05 08:49 hgbot Note Added: 0140676
2022-09-05 08:49 hgbot Note Added: 0140677
2022-09-05 08:49 hgbot Note Added: 0140678
2022-09-05 08:49 hgbot Note Added: 0140679
2022-09-05 08:49 hgbot Note Added: 0140680
2022-09-05 08:49 hgbot Note Added: 0140681
2022-09-05 08:50 hgbot Note Added: 0140682
2022-09-05 08:50 hgbot Note Added: 0140683
2022-10-24 10:01 caristu Relationship added blocks 0050162
2022-10-24 10:13 caristu Relationship added related to 0050614
2022-10-24 10:15 caristu Relationship deleted related to 0050614
2022-10-24 10:15 caristu Relationship added related to 0050614
2022-10-24 11:26 caristu Relationship added related to 0050615
2023-05-26 10:30 caristu Relationship added related to 0052515


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker