Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0055306Openbravo LocalizationsLocalization Francepublic2024-04-24 13:192024-04-25 11:13
kousalya_r 
jonae 
normalmajoralways
closedfixed 
5
 
 
0055306: Wrong organization captured when login in the Portuguese POS
I’m not able to login a Portuguese terminal if there is no document type definition in the organization affected to the related touchpoint type.

Below an example:

The touchpoint I’m using is affected to a concrete store (T020 - Gaia):
This touchpoint is affected to a touchpoint type which is related to the legal entity, as we use a single touchpoint type per country (legal entity):
The store organization has it’s document type settings defined:


On the other hand, the legal entity organization has no document type definition:
In this situation, I cannot log in the touchpoint:
But if I set the document type definition at legal entity level, it works:
*
The considered document type must be the one affected to the organization related to the touchpoint instead of the one related to the organization affected to the related touchpoint type.

The affected code could be this one:
SaftrInitialValidations.java
Organization organization = posTerminal.getObposTerminaltype().getOrganization();
No tags attached.
png image-20240423-085708.png (116,340) 2024-04-24 13:19
https://issues.openbravo.com/file_download.php?file_id=19697&type=bug
png

png image-20240423-085751.png (84,857) 2024-04-24 13:20
https://issues.openbravo.com/file_download.php?file_id=19698&type=bug
png

png image-20240423-085835.png (71,936) 2024-04-24 13:20
https://issues.openbravo.com/file_download.php?file_id=19699&type=bug
png

png image-20240423-085921.png (94,952) 2024-04-24 13:20
https://issues.openbravo.com/file_download.php?file_id=19700&type=bug
png
Issue History
2024-04-24 13:19kousalya_rNew Issue
2024-04-24 13:19kousalya_rFile Added: image-20240423-085708.png
2024-04-24 13:20kousalya_rFile Added: image-20240423-085751.png
2024-04-24 13:20kousalya_rFile Added: image-20240423-085835.png
2024-04-24 13:20kousalya_rFile Added: image-20240423-085921.png
2024-04-24 13:28hgbotNote Added: 0163657
2024-04-25 10:27hgbotNote Added: 0163725
2024-04-25 11:13jonaeStatusnew => scheduled
2024-04-25 11:13jonaeNote Added: 0163729
2024-04-25 11:13jonaeStatusscheduled => resolved
2024-04-25 11:13jonaeResolutionopen => fixed
2024-04-25 11:13jonaeAssigned To => jonae
2024-04-25 11:13jonaeStatusresolved => closed

Notes
(0163657)
hgbot   
2024-04-24 13:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/75 [^]
(0163725)
hgbot   
2024-04-25 10:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/75 [^]
(0163729)
jonae   
2024-04-25 11:13   
Issue fixed in this commit:

https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/commit/4550391e19e41d0c810b5141a28c995106ce41ba [^]