[IMP] sale_layout: Removed lambda
authorpso <pso@tinyerp.com>
Fri, 22 Oct 2010 11:34:27 +0000 (17:04 +0530)
committerpso <pso@tinyerp.com>
Fri, 22 Oct 2010 11:34:27 +0000 (17:04 +0530)
bzr revid: pso@tinyerp.com-20101022113427-n8n0r5bgxlsthv9f

addons/sale_layout/sale_layout.py

index 1aedf83..5d3f7d6 100755 (executable)
@@ -124,7 +124,7 @@ class sale_order_line(osv.osv):
     }
 
     _defaults = {
-        'layout_type': lambda *a: 'article',
+        'layout_type': 'article',
     }
 
 sale_order_line()