Managed to do work outside — it warns you of a gas leak (7)
I believe the answer is:
odorant
'it warns you of a gas leak' is the definition.
I don't know anything about this answer so I cannot tell whether this works.
'managed to do work outside' is the wordplay.
'managed' becomes 'ran' (I've seen this before).
'work' indicates an anagram.
'outside' indicates putting letters inside.
'to'+'do'='todo'
'todo' anagrammed gives 'odot'.
'ran' inserted into 'odot' is 'ODORANT'.
Can you help me to learn more?
(Other definitions for odorant that I've seen before include "Something emitting a strong smell" , "Tornado (anag)" , "Aromatic" , "may create a stink?" .)