In any proceeding for child support, either party may raise any issue relating to custody of the child, or visitation with the child, or both, and the court may hear and determine that issue if all parties consent. The custody or visitation matter need not be specifically pleaded for the party to raise the issue or for the court to decide the issue.
La. R.S. § 9:315.25