Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0057899Openbravo LocalizationsLocalization Portugalpublic2025-02-06 20:492025-02-10 13:49
jonae 
jonae 
normalmajorhave not tried
closedfixed 
5
 
 
0057899: SCO PT - The property business partner type is not correctly managed
A sale is paid

after that the CC Fiscalization pop-up is shown to enter the NIF of the customer

if the NIF entered starts by 5 (Company), the CRM search component is launched automatically, and we issue depending on the sale amount an Invoice automatically.

if the NIF entered starts by 1,2 o 3 another pop-up is shown where the customer must select if he is a professional or not.

The point here is that the BP Type property is being somehow identified but as it seems it is not persisted properly as all transactions created in the SCO are linked to “Final Consumer” regardless the previously described selections.
A sale is paid

after that the CC Fiscalization pop-up is shown to enter the NIF of the customer

if the NIF entered starts by 5 (Company), the CRM search component is launched automatically, and we issue depending on the sale amount an Invoice automatically.

if the NIF entered starts by 1,2 o 3 another pop-up is shown where the customer must select if he is a professional or not.

The point here is that the BP Type property is being somehow identified but as it seems it is not persisted properly as all transactions created in the SCO are linked to “Final Consumer” regardless the previously described selections.
No tags attached.
Issue History
2025-02-06 20:49jonaeNew Issue
2025-02-06 20:49jonaeAssigned To => psanjuan
2025-02-06 20:49jonaeAssigned Topsanjuan => jonae
2025-02-07 09:44psanjuanNote Added: 0175274
2025-02-07 12:57hgbotNote Added: 0175298
2025-02-07 12:57hgbotNote Added: 0175299
2025-02-10 08:14hgbotNote Added: 0175364
2025-02-10 08:14hgbotResolutionopen => fixed
2025-02-10 08:14hgbotStatusnew => closed
2025-02-10 08:14hgbotNote Added: 0175365
2025-02-10 08:14hgbotNote Added: 0175366
2025-02-10 08:14hgbotNote Added: 0175367
2025-02-10 13:49hgbotNote Added: 0175396

Notes
(0175274)
psanjuan   
2025-02-07 09:44   
https://openbravo.atlassian.net/browse/RM-21035 [^]
(0175298)
hgbot   
2025-02-07 12:57   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization/-/merge_requests/119 [^]
(0175299)
hgbot   
2025-02-07 12:57   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/167 [^]
(0175364)
hgbot   
2025-02-10 08:14   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization/-/merge_requests/119 [^]
(0175365)
hgbot   
2025-02-10 08:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization [^]
Changeset: 675f5ef00726c9818689851d80c421ae826b3d52
Author: Jon Alegria <j.alegria@external.orisha.com>
Date: 07-02-2025 12:57:08
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization/-/commit/675f5ef00726c9818689851d80c421ae826b3d52 [^]

Fixes ISSUE-57899: In SCO persist the information of business partner type

---
M web/org.openbravo.events.fiscalization/source/actionPreparations.js
---
(0175366)
hgbot   
2025-02-10 08:14   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/167 [^]
(0175367)
hgbot   
2025-02-10 08:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization [^]
Changeset: 304ff36f99a95ee95dd06b32f5ce97cc1df7a1cf
Author: Jon Alegría <j.alegria@external.orisha.com>
Date: 10-02-2025 07:14:38
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/commit/304ff36f99a95ee95dd06b32f5ce97cc1df7a1cf [^]

Fixes ISSUE-57899: In SCO persist the information of business partner type

---
M src/org/openbravo/localization/portugal/fiscalization/data/Customer.java
M web-jspack/org.openbravo.localization.portugal.fiscalization/src/events/PTFISFiscalizationEventHandler.js
---
(0175396)
hgbot   
2025-02-10 13:49   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization [^]
Changeset: 3c93a7f72c491017d9cbee5e9c9d21d88d876862
Author: Jon Alegria <j.alegria@external.orisha.com>
Date: 10-02-2025 13:49:44
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.fiscalization/-/commit/3c93a7f72c491017d9cbee5e9c9d21d88d876862 [^]

Fixes ISSUE-57899: Fixing an issue when completing the order and the data does not exist

---
M web/org.openbravo.events.fiscalization/source/actionPreparations.js
---