Openbravo Issue Tracking System - POS2
View Issue Details
0057717POS2POSpublic2025-01-21 23:172025-01-30 11:02
Daria_Sh 
kousalya_r 
normalmajoralways
closedfixed 
5
 
25Q1 
No
0057717: The error is shown when 'Issue Substitute Invoice' from the opened Order
When Order is completed and opened form Orders list, on attempt to 'Issue Substitute Invoice' the '/$OBPOS_SubsinvoiceNoFiscalData' error is shown. While doing it directly form the Orders list works as expected and Substitute Invoice is created and printed

To configure 'Issue Substitute Invoice' option follow the instructions in this file
https://docs.google.com/document/d/1H92GKf337dzWwok8ziMVem2wcDZpueE0mRo6bys-FDA/edit?tab=t.0 [^]
1. Log in to POS
2. Add any product to the Order
3. Complete the Order (Click 'Pay', select 'Cash' and click 'Done')
4. Select 'Print' option (if configured)
5. Click 'Cancel' on the 'Receipt Fiscalization' pop-up
6. Go to Orders
7. Open the created Order
8. Push 3 vertical dots in the bottom
9. Click 'Issue Substitute Invoice' option
10. Push 'Ok' on the 'Substitute Invoice Fiscalization' pop-up

Actual Result: '/$OBPOS_SubsinvoiceNoFiscalData' error is shown
Expected Result: The substitute invoice is printed without any errors
No tags attached.
related to defect 0057609 closed kousalya_r Openbravo Localizations generate substitute invoice a posteriori ERROR when opening an existing order and selecting "issue substitute invoice" 
png Screenshot_40.png (113,459) 2025-01-22 08:33
https://issues.openbravo.com/file_download.php?file_id=20770&type=bug
png
Issue History
2025-01-21 23:17Daria_ShNew Issue
2025-01-21 23:17Daria_ShAssigned To => Retail
2025-01-21 23:17Daria_ShTriggers an Emergency Pack => No
2025-01-22 08:22guillermogilAssigned ToRetail => Triage Omni OMS
2025-01-22 08:33Daria_ShRegression level => Production - QA Approved
2025-01-22 08:33Daria_ShRegression introduced in release => main
2025-01-22 08:33Daria_ShDescription Updatedbug_revision_view_page.php?rev_id=29091#r29091
2025-01-22 08:33Daria_ShFile Added: Screenshot_40.png
2025-01-22 13:54Daria_ShRegression levelProduction - QA Approved => Packaging and release
2025-01-22 19:01martinsdanIssue Monitored: martinsdan
2025-01-23 11:01rafarodaNote Added: 0174574
2025-01-23 11:01rafarodaRelationship addedrelated to 0057609
2025-01-23 16:56Daria_ShNote Added: 0174611
2025-01-24 09:32Daria_ShNote Edited: 0174611bug_revision_view_page.php?bugnote_id=0174611#r29117
2025-01-28 14:57aferrazRegression levelPackaging and release =>
2025-01-28 14:57aferrazRegression introduced in releasemain =>
2025-01-28 14:57aferrazTarget Version => 25Q1
2025-01-30 08:08jonaeTypedefect => backport
2025-01-30 08:08jonaeAssigned ToTriage Omni OMS => kousalya_r
2025-01-30 11:01hgbotNote Added: 0174891
2025-01-30 11:02hgbotResolutionopen => fixed
2025-01-30 11:02hgbotStatusnew => resolved
2025-01-30 11:02hgbotNote Added: 0174892
2025-01-30 11:02hgbotNote Added: 0174893
2025-01-30 11:02jonaeStatusresolved => closed

Notes
(0174574)
rafaroda   
2025-01-23 11:01   
How this 0057717 is different from 0057609 ?
(0174611)
Daria_Sh   
2025-01-23 16:56   
(edited on: 2025-01-24 09:32)
Thank you for pointing this out. It seems my bug report overlaps with the previously reported issue, which I missed as it didn’t appear in my search when filtering by the keyword 'substitute.'
And to avoid overlooking an issue that could impact the customer environment, I reported it.
The issue is a duplicate, however, we need to keep it open to ensure the fix is applied for 25q1
Please let me know if you need any further details from my side

(0174891)
hgbot   
2025-01-30 11:01   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/61 [^]
(0174892)
hgbot   
2025-01-30 11:02   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization [^]
Changeset: 22e962c9378b096df98ecde197bbbc5ebd8dd205
Author: Jon Alegría <j.alegria@external.orisha.com>
Date: 30-01-2025 10:01:58
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/commit/22e962c9378b096df98ecde197bbbc5ebd8dd205 [^]

Fixes ISSUE-57717: The error is shown when 'Issue Substitute Invoice' from the opened Order

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.localization.spain.fiscalization/src/business-object/fiscalizationEventHandler/ESFISFiscalizationEventHandler.js
---
(0174893)
hgbot   
2025-01-30 11:02   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/61 [^]