Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045782Retail ModulesWeb POSpublic2021-01-26 10:512021-02-08 16:25
caristu 
Retail 
highminorhave not tried
newopen 
5
 
 
No
0045782: Replace existing OBPRINT_PrePrint, OBPRINT_PostPrint and OBPOS_HWServerSend hooks
After the print refactor project (see 0045634) OBPRINT_PrePrint, OBPRINT_PostPrint and OBPOS_HWServerSend are supposed to still working using a backward compatibility mode. Now they should be replaced with state hooks associated to the CompleteTicket action (see http://wiki.openbravo.com/wiki/StateController#Action_Hooks [^])

This issue consists of:

- Review the retail pack and all the modules in order to find all the OBPRINT_PrePrint, OBPRINT_PostPrint and OBPOS_HWServerSend hooks
- Replace all those hooks with state hooks associated to the CompleteTicket action
- Once this task is completed the backward compatibility support for these hooks can be removed
In description
No tags attached.
depends on feature request 0045634 closed Retail Reimplement printing infrastructure 
related to defect 0045783 new Retail Move logic that "transforms the ticket" from printing engine to state hooks 
Issue History
2021-01-26 10:51caristuNew Issue
2021-01-26 10:51caristuAssigned To => Retail
2021-01-26 10:51caristuTriggers an Emergency Pack => No
2021-01-26 10:55caristuIssue cloned0045783
2021-01-26 10:55caristuRelationship addedrelated to 0045783
2021-01-26 10:55caristuDescription Updatedbug_revision_view_page.php?rev_id=22061#r22061
2021-01-26 10:55caristuRelationship addeddepends on 0045634
2021-02-08 16:25aferrazNote Added: 0126039
2021-02-11 18:38aferrazRelationship addedrelated to 0045887

Notes
(0126039)
aferraz   
2021-02-08 16:25   
Print hooks run also in other flows different than CompleteTicket, i.e. Print and Print Last Receipt menu options.