This question has been flagged
1 Reply
4904 Views

Hi

I want to import a new UOM Category called "Percent" with its associated UOM called "Prozent". I tried to

  • Import the new UOM category (works fine):
id;name
product.uom_categ_percent;Prozent
  • Import the new UOM:
id;factor_inv;category_id;name;rounding;uom_type
product.product_uom_31;1;Percent;Prozent;1.0;Reference Unit of Measure for this category

Getting an error on the latter one: "'NoneType' object has no attribute 'group'"

It seems to lie in the reference "Percent" to the category_id. As soon as I put "Volume" there the import works like a charm. Can someone help me understanding what is going wrong?

Cheers

Daniel

Avatar
Discard
Best Answer

Maybe the problem is that in your second csv-file you have mixed Percent and Prozent. Since the name of your new category is Prozent, you should also use Prozent as the category_id of the new UOM.

Avatar
Discard