|
|
@ -73,7 +73,7 @@ class VracoopWebsiteSaleDelivery(WebsiteSale): |
|
|
|
def _check_carrier_type(self, **post): |
|
|
|
order = request.website.sale_get_order() |
|
|
|
carrier_id = int(post['carrier_id']) |
|
|
|
carrier = request.env['delivery.carrier'].browse(carrier_id) |
|
|
|
carrier = request.env['delivery.carrier'].sudo().browse(carrier_id) |
|
|
|
point_retrait = carrier.point_retrait |
|
|
|
if order: |
|
|
|
return {'carrier_id': carrier_id, |
|
|
|