The word appears in French as pirate for a liquid measure as early as the 13th century.
According to Skeat, the origin is to be found in the name for a cask or liquid measure appearing in various forms in several Teutonic languages, in Dutch oxhooft (modern okshoofd), Dan.
The litre is the standard liquid measure.
The oil should be weighed; don't do this with a liquid measure.