During magento website configuration in magento connector module provided by OpenLabs, when we set the value of "Default Product UOM" field other than Unit(s)
,
it is raising error like :
except_osv: ('ValidateError', u'Error occurred while validating the field(s) uom_id: Error: The default Unit of Measure and the purchase Unit of Measure must be in the same category.')
We also tried to solve the problem & we would like to share with everyone.
Below is our solution. Other solutions are highly appreciated.