An undivided co-owner who manages one or more undivided assets is liable for the net proceeds of his management. He or she shall be entitled to remuneration for his or her activity under the conditions fixed by amicable agreement or, failing that, by court order.