[FIX] pad: solved the issue of getting traceback on duplication of task
bzr revid: cha@tinyerp.com-20121025125037-kulp10g5kx5m1d0f
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class pad_common(osv.osv_memory):
|
||||
def copy(self, cr, uid, id, default=None, context=None):
|
||||
if not default:
|
||||
default = {}
|
||||
for k,v in self._all_columns:
|
||||
for k,v in self._all_columns.items():
|
||||
field = v.column
|
||||
if hasattr(field,'pad_content_field'):
|
||||
pad = self.pad_generate_url(cr, uid, context)
|
||||
|
||||
Reference in New Issue
Block a user