[Erp5-report] r31209 nicolas - /erp5/trunk/products/ERP5OOo/FormPrintout.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 10 10:27:53 CET 2009


Author: nicolas
Date: Thu Dec 10 10:27:53 2009
New Revision: 31209

URL: http://svn.erp5.org?rev=31209&view=rev
Log:
Correct wrong attribute name

Modified:
    erp5/trunk/products/ERP5OOo/FormPrintout.py

Modified: erp5/trunk/products/ERP5OOo/FormPrintout.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/FormPrintout.py?rev=31209&r1=31208&r2=31209&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] Thu Dec 10 10:27:53 2009
@@ -780,10 +780,10 @@
     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




More information about the Erp5-report mailing list