[fix] item variant description

This commit is contained in:
Rushabh Mehta 2017-09-29 15:39:03 +05:30
parent 3c14c5a16c
commit 80d24f83f8

View File

@ -195,7 +195,7 @@ def copy_attributes_to_variant(item, variant):
if variant.attributes:
variant.description += "\n"
for d in variant.attributes:
variant.description += "<p>" + d.attribute + ": " + cstr(d.attribute_value) + "</p>"
variant.description += "<div>" + d.attribute + ": " + cstr(d.attribute_value) + "</div>"
def make_variant_item_code(template_item_code, template_item_name, variant):
"""Uses template's item code and abbreviations to make variant's item code"""