[FIX] Export : Corrections for exportation of relational fields
authorJay (OpenERP) <jvo@tinyerp.com>
Mon, 27 Sep 2010 06:36:46 +0000 (12:06 +0530)
committerJay (OpenERP) <jvo@tinyerp.com>
Mon, 27 Sep 2010 06:36:46 +0000 (12:06 +0530)
lp bug: https://launchpad.net/bugs/644473 fixed

bzr revid: jvo@tinyerp.com-20100927063646-pu87d702oemxgxll

bin/osv/orm.py

index bc7fca3..7692d1c 100644 (file)
@@ -483,8 +483,8 @@ class orm_template(object):
            
         lines = []
         data = map(lambda x: '', range(len(fields)))
-        done = []
         for fpos in range(len(fields)):
+            done = []
             f = fields[fpos]            
             if f:
                 r = row