80 lines
3.0 KiB
XML
80 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- TREE VIEW -->
|
|
<record id="view_study_participant_tree" model="ir.ui.view">
|
|
<field name="name">study.participant.tree</field>
|
|
<field name="model">study.participant</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Participants">
|
|
<field name="part_of"/>
|
|
<field name="subject"/>
|
|
<field name="firstname"/>
|
|
<field name="lastname"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- FORM VIEW -->
|
|
<record id="view_study_participant_form" model="ir.ui.view">
|
|
<field name="name">study.participant.form</field>
|
|
<field name="model">study.participant</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Participant">
|
|
<header>
|
|
<!-- action buttons -->
|
|
</header>
|
|
<sheet>
|
|
<div class="oe_button_box" name="button_box">
|
|
<!-- big buttons -->
|
|
</div>
|
|
|
|
<div class="oe_title">
|
|
<h1>
|
|
<label for="identifier_primary_id" string="Idientifiant Seintinelles" /><field name="identifier_primary_id" />
|
|
</h1>
|
|
<h2>
|
|
<label for="part_of" string="Étude" /><field name="part_of" />
|
|
</h2>
|
|
</div>
|
|
<group name="participant" string="Participant">
|
|
<group name="participant_left">
|
|
<field name="subject" />
|
|
<field name="lastname" />
|
|
<field name="firstname" />
|
|
</group>
|
|
<group name="participant_right">
|
|
|
|
</group>
|
|
</group>
|
|
<group name="participation" string="Participation">
|
|
<group name="participation_left">
|
|
<field name="progress_status" />
|
|
<field name="state" />
|
|
</group>
|
|
<group name="participation_right">
|
|
<field name="identifier" />
|
|
</group>
|
|
</group>
|
|
<group name="technique" string="Technique">
|
|
<group name="technique_left">
|
|
<field name="created" />
|
|
<field name="updated" />
|
|
</group>
|
|
<group name="technique_right">
|
|
</group>
|
|
</group>
|
|
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<!-- ACTIONS -->
|
|
<record id="action_study_participant" model="ir.actions.act_window">
|
|
<field name="name">Participants</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">study.participant</field>
|
|
</record>
|
|
|
|
</odoo> |