Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056047Retail ModulesWeb POSpublic2024-07-17 13:372024-08-19 17:53
gorkaion 
kousalya_r 
highmajoralways
closedfixed 
5
 
 
No
0056047: 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.
depends on backport 0056216RR24Q2.2 closed kousalya_r Retail Modules Region field in Fiscalization popup shows the c_region_id instead of the name/identifier 
depends on defect 0056000 closed kousalya_r Openbravo Localizations RM-15529 [PT] Backports to make Portugal module work in 24Q2 
Issue History
2024-07-17 13:37gorkaionNew Issue
2024-07-17 13:37gorkaionAssigned To => psanjuan
2024-07-17 13:37gorkaionAssigned Topsanjuan => kousalya_r
2024-07-18 08:20frank_gonzalezNote Added: 0167088
2024-07-23 14:56hgbotNote Added: 0167301
2024-07-23 14:57hgbotNote Added: 0167302
2024-07-31 09:53hgbotNote Added: 0167519
2024-08-07 08:01hgbotNote Added: 0167779
2024-08-07 08:10hgbotNote Added: 0167780
2024-08-08 07:30hgbotNote Added: 0167815
2024-08-08 07:30hgbotNote Added: 0167816
2024-08-08 07:30hgbotNote Added: 0167817
2024-08-08 07:36hgbotResolutionopen => fixed
2024-08-08 07:36hgbotStatusnew => closed
2024-08-08 07:36hgbotNote Added: 0167820
2024-08-08 07:36hgbotNote Added: 0167821
2024-08-08 07:36hgbotNote Added: 0167822
2024-08-08 07:36hgbotNote Added: 0167823
2024-08-08 12:56jonaeStatusclosed => new
2024-08-08 12:56jonaeResolutionfixed => open
2024-08-08 12:56jonaeProjectOpenbravo Localizations => Retail Modules
2024-08-08 12:57jonaeTriggers an Emergency Pack => No
2024-08-08 12:57jonaeCategoryLocalization Spain => Web POS
2024-08-08 12:57jonaeStatusnew => scheduled
2024-08-08 12:57jonaeStatusscheduled => resolved
2024-08-08 12:57jonaeResolutionopen => fixed
2024-08-08 12:57jonaeStatusresolved => closed
2024-08-19 17:40aferrazRelationship addedrelated to 0056000
2024-08-19 17:46aferrazRelationship replaceddepends on 0056000
2024-08-19 17:53hgbotNote Added: 0168226

Notes
(0167088)
frank_gonzalez   
2024-07-18 08:20   
Jira: https://openbravo.atlassian.net/browse/RM-15629 [^]
(0167301)
hgbot   
2024-07-23 14:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/15 [^]
(0167302)
hgbot   
2024-07-23 14:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/100 [^]
(0167519)
hgbot   
2024-07-31 09:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/76 [^]
(0167779)
hgbot   
2024-08-07 08:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/105 [^]
(0167780)
hgbot   
2024-08-07 08:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/18 [^]
(0167815)
hgbot   
2024-08-08 07:30   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/15 [^]
(0167816)
hgbot   
2024-08-08 07:30   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/100 [^]
(0167817)
hgbot   
2024-08-08 07:30   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/76 [^]
(0167820)
hgbot   
2024-08-08 07:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization [^]
Changeset: 42c6c8ea57835acf2a564470291b268e46a52cf8
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 08-08-2024 05:36:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/commit/42c6c8ea57835acf2a564470291b268e46a52cf8 [^]

Fixes ISSUE-56047: Region name is taken and displayed in popup

---
M web/org.openbravo.localization.portugal.fiscalization/source/events/PTFISFiscalizationEventHandler.js
---
(0167821)
hgbot   
2024-08-08 07:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/105 [^]
(0167822)
hgbot   
2024-08-08 07:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization [^]
Changeset: a196f9eea41e81e25f2f932daf857497dff032e9
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 08-08-2024 05:36:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/commit/a196f9eea41e81e25f2f932daf857497dff032e9 [^]

Fixes ISSUE-56047: Region name is taken and displayed in popup

---
M web/org.openbravo.localization.spain.fiscalization/app/model/business-object/fiscalizationEventHandler/ESFISFiscalizationEventHandler.js
---
(0167823)
hgbot   
2024-08-08 07:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/merge_requests/18 [^]
(0168226)
hgbot   
2024-08-19 17:53   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization [^]
Changeset: 5cabb99181e257cf6d443f0a2d8fab5c6d2e3c99
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 19-08-2024 17:50:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.spain.fiscalization/-/commit/5cabb99181e257cf6d443f0a2d8fab5c6d2e3c99 [^]

Related to ISSUE-56047: Increase dependency from 24Q1 to 24Q2

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---