Neglecting one's work with

(あぶら)() means wasting time when you should be working. It often describes dawdling, chatting, or doing something unrelated to the job.

In English, “loafing around” has a similar meaning.

Literal Meaning

The literal translation is “selling oil”. The expression is believed to derive from the Edo period (1603–1867), where oil merchants would sometimes engage in lengthy small talk with women while selling oil to them.

Further Reading

Examples

Free time to be loafing around with 油を売る

Learn the meaning and usage of the idiom 油を売る in Japanese, with examples from manga.
美少女戦士セーラームーン » Volume 3 » Page 273

Rubeus finds Esmeraude spying on Prince Demande.

ルベウス:
「エスメロード こんな(ところ)(あぶら)()ってるヒマはあるのか?」
“Esmeraude, do you have time to be loafing around in such a place?”