If one makes a thing from materials belonging to another, the latter may claim the thing on reimbursing the value of the workmanship, unless the value of the workmanship exceeds the value of the materials, in which case the thing belongs to the maker, on reimbursing the value of the materials.
Cal. Civ. Code § 1028
Accession to Personal Property
Enacted 1872.
Official source: California Legislative Information. Reproduced from public-domain California statutes; confirm against the official source for the current text. Not legal advice.