[FIX] delivery_gso: removed outer parenthesis to fix message

This commit is contained in:
Connor Christian
2020-11-05 13:05:30 -05:00
committed by Jared Kipe
parent f1642115e1
commit c827d8b0e1

View File

@@ -254,7 +254,7 @@ class ProviderGSO(models.Model):
_ = service.delete_shipment(request_body)
except HTTPError as e:
raise ValidationError(e)
picking.message_post(body=(_('Shipment N° %s has been cancelled') % (picking.carrier_tracking_ref, )))
picking.message_post(body=_('Shipment N° %s has been cancelled') % (picking.carrier_tracking_ref, ))
picking.write({'carrier_tracking_ref': '', 'carrier_price': 0.0})
def gso_rate_shipment(self, order):