[FIX] website_sale: show pickup locations when the radio is checked
In the commit671640cpart of the commit6ae9c9cwas removed inadvertently. After this commit pickup locations will be displayed when the delivery carrier is pre-selected. closes odoo/odoo#153259 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -358,7 +358,7 @@ publicWidget.registry.websiteSaleDelivery = publicWidget.Widget.extend({
|
||||
const radio = ev.currentTarget.closest('.o_delivery_carrier_select').querySelector(
|
||||
'input[type="radio"]'
|
||||
);
|
||||
if (radio.checked) {
|
||||
if (radio.checked && !this._shouldDisplayPickupLocations(ev)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user