(self, picking)
return tracking_url.format(
            picking.carrier_tracking_ref, fields.Date.today().year
        )
Provide tracking link for the customer
Provide tracking link for the customer
Provide tracking link for the customer
def dhl_parcel_get_tracking_link(self, picking):
        """Provide tracking link for the customer"""
        tracking_url = (
            "https://clientesparcel.dhl.es/seguimientoenvios/integra/"
            "SeguimientoDocumentos.aspx?codigo={}&anno={}&lang=sp"
        )
        return tracking_url.format(
            picking.carrier_tracking_ref, fields.Date.today().year
        )
def dhl_parcel_get_tracking_link ( self , picking ) : tracking_url = ( "https://clientesparcel.dhl.es/seguimientoenvios/integra/" "SeguimientoDocumentos.aspx?codigo={}&anno={}&lang=sp" ) return tracking_url . format ( picking . carrier_tracking_ref , fields . Date . today ( ) . year )