At any time before or after commencement of an action, the parties may agree to and carry out according to its terms a compromise or settlement as to any matter, including all or any part of the compensation or other relief.
Ala. Code § 18-1A-4 (1975)