bemade_sports_clinic: simplify model descriptions
This commit is contained in:
parent
7094871605
commit
47c8f9261c
3 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#
|
||||
{
|
||||
'name': 'Sports Clinic Management',
|
||||
'version': '16.0.1.5.2',
|
||||
'version': '16.0.1.5.3',
|
||||
'summary': 'Manage the patients of a sports medicine clinic.',
|
||||
'description': """
|
||||
Adds the notion of sports teams, players (patients), coaches and treatment
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from odoo.addons.phone_validation.tools import phone_validation
|
|||
|
||||
class Patient(models.Model):
|
||||
_name = 'sports.patient'
|
||||
_description = "Patient at a sports medicine clinic."
|
||||
_description = "Patient"
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_order = 'last_name, first_name'
|
||||
|
||||
|
|
@ -222,7 +222,7 @@ class PatientContact(models.Model):
|
|||
|
||||
class PatientInjury(models.Model):
|
||||
_name = 'sports.patient.injury'
|
||||
_description = "A patient's injury."
|
||||
_description = "Patient Injury"
|
||||
_inherit = ['mail.thread', 'mail.activity.mixin']
|
||||
_rec_name = 'diagnosis'
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class SportsTeam(models.Model):
|
|||
|
||||
class TeamStaff(models.Model):
|
||||
_name = "sports.team.staff"
|
||||
_description = "Relationship between staff members and their teams."
|
||||
_description = "Sports Team Staff"
|
||||
|
||||
sequence = fields.Integer()
|
||||
team_id = fields.Many2one(comodel_name='sports.team', string='Team', required=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue