def METHOD_NAME(doc):
    if (
        doc.gst_category != "Overseas"
        or not is_e_waybill_applicable(doc)
        or doc.port_address
        or is_shipping_address_in_india(doc)
    ):
        return
    label = doc.meta.get_label("port_address")
    frappe.msgprint(
        _(
            "{0} must be specified for generating e-Waybills against export of goods"
            " (if Shipping Address is not in India)"
        ).format(frappe.bold(label)),
        title=_("{0} Not Set").format(label),
        indicator="yellow",
    )