This commit is contained in:
michel 2017-11-24 10:17:51 +01:00
parent 3c68ea83d5
commit 96d3cb418e
3 changed files with 6 additions and 5 deletions

View File

@ -25,8 +25,10 @@
'license': 'AGPL-3',
'application': False,
'installable': True,
# 'data': ['security/ir.model.access.csv',
# 'views/coworking_menu.xml',
# 'views/coworker_views.xml'],
'data': ['security/ir.model.access.csv',
'views/res_partner_views.xml'],
# 'views/coworking_menu.xml',
# 'views/coworker_views.xml'
'depends': ['coworking_base']
}

View File

@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
from . import res_partner, coworker
from . import res_partner

View File

@ -10,7 +10,6 @@ class Coworker(models.Model):
_name = 'coworking.coworker'
_description = 'Coworker model definition'
_order = 'id desc'
contact_date = fields.Date(default=fields.Date.context_today)
full_name = fields.Char(compute='_compute_full_name', store=True, index=True)