From da64cb964b89d5d5f35a727f429c9b871bd3224d Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 14 Dec 2009 10:09:26 +0000
Subject: [PATCH] Fix wrong attribute name. Reviewed and approved by jp

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31271 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/FormPrintout.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5OOo/FormPrintout.py b/product/ERP5OOo/FormPrintout.py
index a7a6fe0475..a0845a7fa5 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
-- 
2.30.9