with an error onerpnext.patches.v12_0.update_uom_conversion_factor
the complaint "Duplicate entry 'MAT-UOM-CNV-00001' for key 'PRIMARY'" which it seems to come down to does not make sense to me. I have examined the db and can not find anything justifying that error.
Iβm assuming in SQL table βtabUOM Conversion Factorβ, there exists already a row with name = βMAT-UOM-CNV-00001β
Check your Naming Series. What is the next number for Series MAT-UOM-CNV?
If the next value is 1, this would explain the problem. The patch might be trying to insert a new UOM conversion. And because of the Naming Series, it believes that MAT-UOM-CNV-00001 is an available value for βnameβ