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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 14 11:09:30 CET 2009


Author: nicolas
Date: Mon Dec 14 11:09:26 2009
New Revision: 31271

URL: http://svn.erp5.org?rev=31271&view=rev
Log:
Fix wrong attribute name.
Reviewed and approved by jp

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=31271&r1=31270&r2=31271&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] Mon Dec 14 11:09:26 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