Work isn't the place to proposition people for a romantic relationship. At all times, but especially when there's a power dynamic.
When that happens, along with a gazillion other little things women are disproportionately on the receiving end of, it has the effect of dissuading women from pursuing their career in the industry.