Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056216Retail ModulesWeb POSpublic2024-07-17 13:372024-08-19 17:55
gorkaion 
kousalya_r 
highmajoralways
closedinvalid 
5
 
RR24Q2.2 
No
0056216: Region field in Fiscalization popup shows the c_region_id instead of the name/identifier
When a ticket on a store with Spanish or Portuguese fiscalization enable issues an invoice a fiscalization popup is open.

On this popup the customer data required to issue the invoice is shown. In the case of the address the region field is shown but instead of the region name the internal id is shown.

This might be caused by a recent fix changing the region field to be a drop-down instead of a text field in the address definition.
- Enable the fiscalization of Spain (or Portugal) in the Legal Entity.
- Add the External System for Spain Fiscalization running the JS method: "OB.ESFIS.ESFISFiscalizationEventHandler"
- Create the Event Subscription for "Event Fiscalization Provider" event
- Open the POS and create a new ticket.
- Flag the ticket to issue an invoice (after setting a customer and a invoice address)
- Check that hte invoice address shows the Regsion with a proper value.
- click on Pay and check in the fiscalization popup that the region field is showing an UUID instead of the region name defined in the invoice address.
No tags attached.
blocks defect 0056047 closed kousalya_r Region field in Fiscalization popup shows the c_region_id instead of the name/identifier 
Issue History
2024-08-08 12:57jonaeTypedefect => backport
2024-08-08 12:57jonaeTarget Version => RR24Q2.2
2024-08-08 13:00hgbotNote Added: 0167855
2024-08-08 13:00hgbotResolutionopen => fixed
2024-08-08 13:00hgbotStatusscheduled => closed
2024-08-08 13:00hgbotNote Added: 0167856
2024-08-08 13:00hgbotNote Added: 0167857
2024-08-19 17:54hgbotNote Added: 0168227
2024-08-19 17:55aferrazStatusclosed => new
2024-08-19 17:55aferrazResolutionfixed => open
2024-08-19 17:55aferrazNote Added: 0168228
2024-08-19 17:55aferrazStatusnew => closed
2024-08-19 17:55aferrazResolutionopen => invalid
2024-08-19 17:55aferrazNote Edited: 0168228bug_revision_view_page.php?bugnote_id=0168228#r28351
2024-08-19 18:08aferrazNote Edited: 0168228bug_revision_view_page.php?bugnote_id=0168228#r28352

Notes
(0167855)
hgbot   
2024-08-08 13:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/19 [^]
(0167856)
hgbot   
2024-08-08 13:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization [^]
Changeset: c0b87609a2ff92f4e12ebc1ec94abea2f3aa9fd0
Author: jonalegria <jon.alegria@openbravo.com>
Date: 08-08-2024 12:59:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/commit/c0b87609a2ff92f4e12ebc1ec94abea2f3aa9fd0 [^]

Fixes ISSUE-56216: Adding support for regions

---
M web/org.openbravo.localization.spain.fiscalization/app/model/business-object/fiscalizationEventHandler/ESFISFiscalizationEventHandler.js
---
(0167857)
hgbot   
2024-08-08 13:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/19 [^]
(0168227)
hgbot   
2024-08-19 17:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization [^]
Changeset: 78d5da0ab8d6a97bbc6f81b74fcf2978d0edd1ff
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 19-08-2024 17:53:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/commit/78d5da0ab8d6a97bbc6f81b74fcf2978d0edd1ff [^]

Revert "Fixes ISSUE-56216: Adding support for regions"

This reverts commit c0b87609a2ff92f4e12ebc1ec94abea2f3aa9fd0.

---
M web/org.openbravo.localization.spain.fiscalization/app/model/business-object/fiscalizationEventHandler/ESFISFiscalizationEventHandler.js
---
(0168228)
aferraz   
2024-08-19 17:55   
(edited on: 2024-08-19 18:08)
Reverted and rejected: this backport to 24Q2 is not needed because module's master already includes the fix and can be used in 24Q2.