diff --git a/product/ERP5OOo/FormPrintout.py b/product/ERP5OOo/FormPrintout.py index b590d232e7fa149f05564f10b38584b6b7e86451..4af98699535c7c5fd165eeaccb39f215b87f35eb 100644 --- a/product/ERP5OOo/FormPrintout.py +++ b/product/ERP5OOo/FormPrintout.py @@ -780,10 +780,10 @@ class ODFStrategy(Implicit): column.text = None for child in column: # clear data except style - style_value = child.attrib.get(self._name_attribute_name) + style_value = child.attrib.get(self._style_attribute_name) child.clear() if style_value: - child.set(self._name_attribute_name, style_value) + child.set(self._style_attribute_name, style_value) def _getColumnValueAttribute(self, column): attrib = column.attrib