cln: fix typo on data

This commit is contained in:
Boris Gallet
2025-04-24 17:39:32 +02:00
parent 272e25d897
commit b6d8702657
2 changed files with 60 additions and 10 deletions

View File

@@ -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")