report/render: fixes from xrg branch
[odoo/odoo.git] / addons / sale_crm / sale_crm.py
index 613d8af..9570fe0 100644 (file)
@@ -23,18 +23,11 @@ from osv import osv,fields
 
 class sale_order(osv.osv):
     _inherit = 'sale.order'
-    _description = 'Sale orders'
+
     _columns = {
         'section_id': fields.many2one('crm.case.section', 'Sales Team'),
     }
 
-    def _get_section(self, cr, uid, context):
-       return context.get('context_section_id',False)
-
-    _defaults = {
-          'section_id': _get_section
-    }
-
 sale_order()
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: