Module 'product_do_merge' will not work when module 'delivery' is installed
Created by: jbeficent
Dear Vauxoo team,
We have identified that the module 'product_do_merge' will not be able to merge two products when the module 'delivery' is installed.
The root cause of this issue is that the module 'delivery' adds deliverately the unit of measure 'kg' in stock moves, and this UoM does not necessarily have to be in the same category as the product.
As you know, your module will raise an error message if it detects a UoM in any object that refers to a product, that is not in the same UoM category.
Since this weight UoM added to stock moves is really dummy (Kg by default, with no possibility to change), we have added a module that will default this field weight unit to blank in stock moves. https://github.com/Eficent/eficent-odoo-addons/tree/7.0/delivery_no_weight_unit
Once you install this module and make an update SQL query to delete all data from this field in the database, it will be possible to merge products.
I'm not sure if you have had this issue before, and perhaps you know a better way to approach this, but this is what we've done.