The court, in rendering a decree of divorce, must make such order for the disposition of the community property, and of the homestead as in this chapter provided, and, whenever necessary for that purpose, may order a partition or sale of the property and a division or other disposition of the proceeds.
Idaho Code § 32-713