cln: fix typo on data
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
</record>
|
||||
|
||||
<!-- study.participant.progress.status -->
|
||||
<record id="study_participant_progress_status_REGISTRED" model="study.participant.progress.status">
|
||||
<record id="study_participant_progress_status_REGISTERED" model="study.participant.progress.status">
|
||||
<field name="name">Inscrit</field>
|
||||
<field name="value">REGISTRED</field>
|
||||
<field name="value">REGISTERED</field>
|
||||
</record>
|
||||
|
||||
<record id="study_participant_progress_status_ACTIVE" model="study.participant.progress.status">
|
||||
@@ -62,6 +62,47 @@
|
||||
</record>
|
||||
|
||||
|
||||
<!-- study.phase -->
|
||||
<record id="study_phase_NA" model="study.phase">
|
||||
<field name="name">Sans phase</field>
|
||||
<field name="value">NA</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_EARLY_PHASE_1" model="study.phase">
|
||||
<field name="name">Phase précoce 1</field>
|
||||
<field name="value">EARLY-PHASE-1</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_1" model="study.phase">
|
||||
<field name="name">Phase 1</field>
|
||||
<field name="value">PHASE-1</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_1_PHASE_2" model="study.phase">
|
||||
<field name="name">Phase 1 / Phase 2</field>
|
||||
<field name="value">PHASE-1-PHASE-2</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_2" model="study.phase">
|
||||
<field name="name">Phase 2</field>
|
||||
<field name="value">PHASE-2</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_2_PHASE_3" model="study.phase">
|
||||
<field name="name">Phase 2 / Phase 3</field>
|
||||
<field name="value">PHASE-2-PHASE-3</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_3" model="study.phase">
|
||||
<field name="name">Phase 3</field>
|
||||
<field name="value">PHASE-3</field>
|
||||
</record>
|
||||
|
||||
<record id="study_phase_PHASE_4" model="study.phase">
|
||||
<field name="name">Phase 4</field>
|
||||
<field name="value">PHASE-4</field>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- study.questionnaire.status -->
|
||||
<record id="study_questionnaire_status_DRAFT" model="study.questionnaire.status">
|
||||
|
@@ -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)
|
||||
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)
|
||||
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