Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051194Retail ModulesWeb POSpublic2022-12-19 12:312022-12-23 10:12
jetxarri 
Retail 
urgentminoralways
newopen 
5
 
 
No
0051194: Not possible to overwrite endpoint messagetype actions
Not possible to overwrite endpoint messagetype actions.

Currently exists class "HardwareManagerEndpoint" that can manage message with some specific types.

However, hardware manager endpoint needs to manage also:
-displayTotal, printTicket, printTicketLine, printDocument, printDocumentTemplate

Those message types are inserted in js
web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js

But after some callbacks what is making impossible to overwrite those methods for an external module.
-
Those actions should be included in a hook such as "OBMOBC_TerminalLoaded" or "OBPOS_TerminalLoadedFromBackend" and give the possibility to overwrite them using and external module.
No tags attached.
Issue History
2022-12-19 12:31jetxarriNew Issue
2022-12-19 12:31jetxarriAssigned To => Retail
2022-12-19 12:31jetxarriTriggers an Emergency Pack => No
2022-12-23 10:12hgbotNote Added: 0144960

Notes
(0144960)
hgbot   
2022-12-23 10:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1022 [^]