Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0052196Openbravo LocalizationsLocalization Italypublic2023-04-21 10:042023-05-02 11:03
ucarrion 
fermin_gascon 
urgentmajoralways
closedfixed 
5
 
 
0052196: RTP in error while returning an external order
If I do an integration from an external order that is sold/invoiced in the POS using the RTPrinter, when I try to do it's verified invoice I get a fiscal error provided by the RTPrinter:

Fiscalization error in receipt: ReferenceError: originalDocumentInfo is not defined; line: FiscalReceipt.fiscalize (https://norauto-dev.services.openbravo.com/openbravo/web/js/gen/7aef141a1e0da66670fdd2f721de2696.js:217743:16 [^]) (*)
-Login a terminal using the RTP.
-Do an integration from an external order and complete the sale in POS.
-Do the verified returns of the previous sales transaction.
-Complete the returns process and check the error in the console once the RTP popup appears.

****Attached a JSON with which the issue is easily reproducible in a Norauto environment.

Endpoint: https://{{OPENBRAVO_URL}}/openbravo/org.openbravo.mobile.core.service.jsonrest/com.openbravo.norauto.ouragan.integration.OuraganExternalOrderLoader?synchronizedProcessing=true [^]

Postman environment attached.
NOR, NORAUTO
? NOE-7856_JSON.json (12,279) 2023-04-21 10:05
https://issues.openbravo.com/file_download.php?file_id=18401&type=bug
? DEV.postman_environment.json (889) 2023-04-21 10:06
https://issues.openbravo.com/file_download.php?file_id=18402&type=bug
Issue History
2023-04-21 10:04ucarrionNew Issue
2023-04-21 10:04ucarrionAssigned To => psanjuan
2023-04-21 10:04ucarrionSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25914#r25914
2023-04-21 10:05ucarrionFile Added: NOE-7856_JSON.json
2023-04-21 10:05ucarrionSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25915#r25915
2023-04-21 10:06ucarrionFile Added: DEV.postman_environment.json
2023-04-21 10:15ucarrionTag Attached: NOR
2023-04-21 10:15ucarrionTag Attached: NORAUTO
2023-04-21 10:16psanjuanAssigned Topsanjuan => adrianromero
2023-04-24 16:20adrianromeroAssigned Toadrianromero => fermin_gascon
2023-04-24 16:20adrianromeroStatusnew => scheduled
2023-04-24 18:12fermin_gasconNote Added: 0148808
2023-04-25 09:45fermin_gasconStatusscheduled => resolved
2023-04-25 09:45fermin_gasconResolutionopen => fixed
2023-05-02 11:03fermin_gasconStatusresolved => closed

Notes
(0148808)
fermin_gascon   
2023-04-24 18:12   
https://gitlab.com/openbravo/customers/NOR/com.openbravo.norauto.printtemplates/-/merge_requests/399 [^]