Openbravo Issue Tracking System - POS2
View Issue Details
0055038POS2POSpublic2024-03-22 12:312024-04-08 09:05
gorkaion 
Triage Omni OMS 
highmajoralways
closedfixed 
5
 
24Q2 
aferraz
No
0055038: Not possible to select delivery location on home delivered lines
On a ticket with 2 lines. When one of them is set to home delivery there is no possibility to set the delivery address on the line.

There is neither a visual approach to view the selected delivery address as it happens when the Home Delivery is set at ticket level.

Note: Fixed by adding the option to set the delivery address when any of the lines has 'Home Delivery'. Changing the delivery mode at line level would be a new development that needs to be correctly planed and defined.
- create a ticket
- add a line and set it as home delivery.
- check the line has the home delivery label.
- try to pay it an error message of no shipping address selected is raised
- assign a customer with several delivery addresses configured.
- it is not visible anywhere the shipping address related to the ticket.
- try to pay it and notice that it is allowed so some shipping address is set.
- go back and open the customer info
- go to the manage addresses tab and click on any of it to check which one has the "UNASIGN FROM SHIPPING ADDRESS" to recognize the address being used for delivery.
When setting the Home Delivery at line level it should be possible to assign different delivery addresses to each line.

Optionally with configuration, it should be possible to set a shipping address to the ticket applying to all the home delivery lines of the ticket.
No tags attached.
related to defect 0055052 closed Triage Omni OMS Delivery mode at line level is removed when 'Receipt properties' is open 
Issue History
2024-03-22 12:31gorkaionNew Issue
2024-03-22 12:31gorkaionAssigned To => Retail
2024-03-22 12:31gorkaionTriggers an Emergency Pack => No
2024-03-25 19:25aferrazAssigned ToRetail => Triage Omni OMS
2024-03-25 19:31aferrazReview Assigned To => aferraz
2024-03-25 19:31aferrazNote Added: 0162616
2024-03-25 19:31aferrazStatusnew => closed
2024-03-25 19:31aferrazResolutionopen => invalid
2024-03-26 09:28gorkaionNote Added: 0162630
2024-03-26 09:28gorkaionStatusclosed => new
2024-03-26 09:28gorkaionResolutioninvalid => open
2024-03-26 10:53frank_gonzalezNote Added: 0162633
2024-03-26 11:33aferrazRelationship addedrelated to 0055052
2024-03-27 15:26hgbotNote Added: 0162724
2024-04-02 19:08hgbotNote Added: 0162793
2024-04-02 19:08hgbotResolutionopen => fixed
2024-04-02 19:08hgbotStatusnew => closed
2024-04-02 19:08hgbotFixed in Version => 24Q2
2024-04-02 19:08hgbotNote Added: 0162794
2024-04-08 09:05igor_trebolDescription Updatedbug_revision_view_page.php?rev_id=27774#r27774

Notes
(0162616)
aferraz   
2024-03-25 19:31   
This is not a bug but a feature request. Rejected to track it in jira.
(0162630)
gorkaion   
2024-03-26 09:28   
It is neither possible to assign a delivery address to the ticket applying to all home delivery lines.
(0162633)
frank_gonzalez   
2024-03-26 10:53   
Jira: https://openbravo.atlassian.net/browse/RM-12736 [^]
(0162724)
hgbot   
2024-03-27 15:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2529 [^]
(0162793)
hgbot   
2024-04-02 19:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2529 [^]
(0162794)
hgbot   
2024-04-02 19:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 06cf7a3595033308bbed58ee6fcbe89c48f138c7
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 02-04-2024 16:40:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/06cf7a3595033308bbed58ee6fcbe89c48f138c7 [^]

Fixes ISSUE-55038: Not possible to select delivery location on home delivered lines

---
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketHeader/TicketHeaderBPAddressButton/TicketHeaderBPAddressButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketHeader/TicketHeaderBPAddressButton/__test__/TicketHeaderBPAddressButton.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketPropertiesPopover/TicketPropertiesPopoverBPAddressButton.jsx
M web-jspack/org.openbravo.pos2/src/components/Ticket/TicketPropertiesPopover/__test__/TicketPropertiesPopover.test.jsx
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/TicketUtils.test.js
---