/
This commit is contained in:
parent
3c68ea83d5
commit
96d3cb418e
@ -25,8 +25,10 @@
|
|||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'application': False,
|
'application': False,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
# 'data': ['security/ir.model.access.csv',
|
'data': ['security/ir.model.access.csv',
|
||||||
# 'views/coworking_menu.xml',
|
'views/res_partner_views.xml'],
|
||||||
# 'views/coworker_views.xml'],
|
# 'views/coworking_menu.xml',
|
||||||
|
# 'views/coworker_views.xml'
|
||||||
|
|
||||||
'depends': ['coworking_base']
|
'depends': ['coworking_base']
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from . import res_partner, coworker
|
from . import res_partner
|
||||||
|
@ -10,7 +10,6 @@ class Coworker(models.Model):
|
|||||||
_name = 'coworking.coworker'
|
_name = 'coworking.coworker'
|
||||||
_description = 'Coworker model definition'
|
_description = 'Coworker model definition'
|
||||||
_order = 'id desc'
|
_order = 'id desc'
|
||||||
|
|
||||||
contact_date = fields.Date(default=fields.Date.context_today)
|
contact_date = fields.Date(default=fields.Date.context_today)
|
||||||
|
|
||||||
full_name = fields.Char(compute='_compute_full_name', store=True, index=True)
|
full_name = fields.Char(compute='_compute_full_name', store=True, index=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user