The court, in its judgment, may, if it deems it advisable, restrict and qualify the rights of a minor relieved from the disabilities of nonage, as to acquittances to, and contracts with guardians, executors, administrators, trustees, and other persons indebted to such minor, to such an extent as to the court may seem proper in each particular case. Such restrictions shall be fully set forth in the judgment relieving such minor from the disabilities of nonage.
Ala. Code § 26-13-6 (1975)