From 96d3cb418e8103f72bc727d28882cc5df3103214 Mon Sep 17 00:00:00 2001 From: michel Date: Fri, 24 Nov 2017 10:17:51 +0100 Subject: [PATCH] / --- coworking_coworker/__manifest__.py | 8 +++++--- coworking_coworker/models/__init__.py | 2 +- coworking_coworker/models/coworker.py | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/coworking_coworker/__manifest__.py b/coworking_coworker/__manifest__.py index 8d521d4..b69f7ed 100644 --- a/coworking_coworker/__manifest__.py +++ b/coworking_coworker/__manifest__.py @@ -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'] } diff --git a/coworking_coworker/models/__init__.py b/coworking_coworker/models/__init__.py index 1aa466c..0fbdfcf 100644 --- a/coworking_coworker/models/__init__.py +++ b/coworking_coworker/models/__init__.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -from . import res_partner, coworker +from . import res_partner diff --git a/coworking_coworker/models/coworker.py b/coworking_coworker/models/coworker.py index 0f4153a..8419de7 100644 --- a/coworking_coworker/models/coworker.py +++ b/coworking_coworker/models/coworker.py @@ -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)