cln: fix typo on data
This commit is contained in:
@@ -10,15 +10,24 @@ class StudyParticipant(models.Model):
|
||||
identifier_primary_id = fields.Char("Identifiant Seintinelles", readonly=True)
|
||||
part_of = fields.Many2one("study.study", string="Étude", readonly=True)
|
||||
|
||||
subject = fields.Many2one("res.partner", string="Contact", domain=[("category_patient",'=',1)], readonly=True)
|
||||
subject = fields.Many2one(
|
||||
"res.partner",
|
||||
string="Contact",
|
||||
domain=[("category_patient", "=", 1)],
|
||||
readonly=True,
|
||||
)
|
||||
firstname = fields.Char("Prénom", related="subject.firstname")
|
||||
lastname = fields.Char("Nom", related="subject.lastname")
|
||||
progress_status = fields.Many2one("study.participant.progress.status", string="Statut de la participation", readonly=True)
|
||||
state = fields.Many2one("study.participant.state", string="État de la participation", readonly=True)
|
||||
|
||||
identifier = fields.Char("Idientifiants de l'enrôlement", readonly=True)
|
||||
progress_status = fields.Many2one(
|
||||
"study.participant.progress.status",
|
||||
string="Statut de la participation",
|
||||
readonly=True,
|
||||
)
|
||||
state = fields.Many2one(
|
||||
"study.participant.state", string="État de la participation", readonly=True
|
||||
)
|
||||
|
||||
identifier = fields.Char("Identifiants de l'enrôlement", readonly=True)
|
||||
|
||||
created = fields.Datetime("Date de création")
|
||||
updated = fields.Datetime("Date mise à jour")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user