@ -28,7 +28,7 @@
'author': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'depends': ['crm'],
'depends': ['base'],
'installable': True,
'auto_install': False,
}
@ -19,11 +19,9 @@
#
##############################################################################
from openerp.osv import osv
from openerp.osv import orm
class res_partner(osv.osv):
class res_partner(orm.Model):
_inherit = 'res.partner'
_defaults = {'user_id': lambda self, cr, uid, context: uid}
res_partner()