Openbravo Issue Tracking System - POS2
View Issue Details
0057323POS2POSpublic2024-11-28 15:122025-02-08 07:25
fdomingues 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
24Q3.2 
25Q2 
approved
No
No
0057323: The 'Address Usage' pop-up is not displayed
The 'Address Usage' pop-up is not displayed when a customer's address is only Shipping or only Invoicing
Prerequesites:
In Openbravo backoffice :
- In the ‘Business Partner’ window, customer C1 to use for this test have:
  - 'Invoice Terms' = 'Immediate' (subtab 'Customer')
  - an address A1 with 'Invoicing address' = 'Y' (subtab 'Location/Address)
- In the ‘Business Partner’ window, customer C2 to use for this test have:
  - 'Invoice Terms' = 'Immediate' (subtab 'Customer')
  - an address A2 with 'Invoicing address' = 'Y' and 'Shipping Address' = 'N' (subtab 'Location/Address)
  - an address A3 with 'Invoicing address' = 'N' and 'Shipping Address' = 'Y' (subtab 'Location/Address)
  - an address A4 with 'Invoicing address' = 'Y' and 'Shipping Address' = 'Y' (subtab 'Location/Address)

Login in POS with a correct user on the channel touchpoint
Assign a customer C1 and select 'Issue Invoice'
Assign the invoicing address A1 if not filled
Add some products

Step1:
Without assigning the customer C2 to the ticket, open the form to view the informations of the invoicing address A2
On the address form, click on the 'USE THIS ADDRESS' button

Expected Result
The 'Address Usage' pop-up is displayed with:
Title: 'Address Usage'
Address: default invoice address A2 name
Message: 'How do you want to use this address?'
Buttons:
- 'DO NOT USE ADDRESS'
- 'USE AS SHIPPING'
- 'USE AS INVOICE'

Obtained Result:
The 'Address Usage' pop-up is not displayed
No tags attached.
Issue History
2024-11-28 15:12fdominguesNew Issue
2024-11-28 15:12fdominguesAssigned To => Retail
2024-11-28 15:12fdominguesTriggers an Emergency Pack => No
2025-01-17 12:27ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2025-01-19 23:55ranjith_qualiantech_comStatusnew => scheduled
2025-01-20 07:41hgbotMerge Request Status => open
2025-01-20 07:41hgbotNote Added: 0174348
2025-02-08 07:25hgbotMerge Request Statusopen => approved
2025-02-08 07:25hgbotResolutionopen => fixed
2025-02-08 07:25hgbotStatusscheduled => closed
2025-02-08 07:25hgbotNote Added: 0175320
2025-02-08 07:25hgbotFixed in Version => 25Q2
2025-02-08 07:25hgbotNote Added: 0175321

Notes
(0174348)
hgbot   
2025-01-20 07:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3379 [^]
(0175320)
hgbot   
2025-02-08 07:25   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3379 [^]
(0175321)
hgbot   
2025-02-08 07:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: bc53b9c1a652218528e1806d8ba9d024808446c3
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 08-02-2025 06:08:49
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/bc53b9c1a652218528e1806d8ba9d024808446c3 [^]

Fixed ISSUE-57323: AddressType validation should be called when assigning the address

---
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerAddressForm/CustomerAddressFormFooter.config.json
M web-jspack/org.openbravo.pos2/src/components/Customer/CustomerAddressForm/CustomerAddressFormHandler.js
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/AssignExternalBusinessPartnerAddressActionPreparation.js
---