[IMP] studies_base:
Vues Questionnaire + Participant + Response + Progress Status
This commit is contained in:
@@ -13,11 +13,11 @@ class StudyParticipant(models.Model):
|
||||
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")
|
||||
state = fields.Many2one("study.participant.state", string="État de la participation")
|
||||
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)
|
||||
|
||||
part_of_author = fields.Many2one("study.author", string="Platforme d'étude", related="part_of.author")
|
||||
author = fields.Char("ID plateforme")
|
||||
identifier = fields.Char("Idientifiants de l'enrôlement")
|
||||
author = fields.Char("ID plateforme", readonly=True)
|
||||
identifier = fields.Char("Idientifiants de l'enrôlement", readonly=True)
|
||||
|
||||
#questionnaire_responses = fields.One2many("study.questionnaire.response", "study_questionnaire_id", string="Réponses")
|
||||
questionnaire_responses = fields.One2many("study.questionnaire.response", "study_participant_id", string="Réponses")
|
||||
|
Reference in New Issue
Block a user