144 lines
6.5 KiB
XML
144 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<odoo>
|
||
<!-- TREE VIEW -->
|
||
<record id="view_study_study_tree" model="ir.ui.view">
|
||
<field name="name">study.study.tree</field>
|
||
<field name="model">study.study</field>
|
||
<field name="arch" type="xml">
|
||
<tree string="Études">
|
||
<field name="title"/>
|
||
<field name="name"/>
|
||
<field name="period_start"/>
|
||
<field name="period_end"/>
|
||
<field name="progress_status_id"/>
|
||
</tree>
|
||
</field>
|
||
</record>
|
||
|
||
<!-- FORM VIEW -->
|
||
<record id="view_study_study_form" model="ir.ui.view">
|
||
<field name="name">study.study.form</field>
|
||
<field name="model">study.study</field>
|
||
<field name="arch" type="xml">
|
||
<form string="Étude">
|
||
<header>
|
||
<!-- action buttons -->
|
||
<button name="%(action_create_progress_status_wizard)d"
|
||
string="Update Status"
|
||
class="oe_highlight"
|
||
type="action"
|
||
/>
|
||
</header>
|
||
<sheet>
|
||
<div class="oe_button_box" name="button_box">
|
||
<!-- big buttons -->
|
||
</div>
|
||
|
||
<div class="oe_title">
|
||
<h1>
|
||
<label for="title" string="Nom de l'étude" /><field name="title" />
|
||
</h1>
|
||
<h2>
|
||
<label for="name" string="Acronyme" /><field name="name" />
|
||
</h2>
|
||
</div>
|
||
<group name="study_status" string="Statut">
|
||
<group name="study_status_left">
|
||
<field name="period_start" />
|
||
<field name="period_end" />
|
||
<field name="progress_status_id" options="{'no_open': True}" />
|
||
</group>
|
||
<group name="study_status_right">
|
||
|
||
</group>
|
||
</group>
|
||
<group name="description" string="Description">
|
||
<group name="description_left">
|
||
<field name="description_summary" />
|
||
<field name="description" />
|
||
<field name="keywords" widget="many2many_tags" />
|
||
</group>
|
||
<group name="description_right">
|
||
<field name="primary_purpose_type" />
|
||
<field name="part_of" />
|
||
<field name="version" />
|
||
<field name="phase" />
|
||
<field name="status" />
|
||
</group>
|
||
</group>
|
||
<group name="technique" string="Technique">
|
||
<group name="technique_left">
|
||
<field name="site" />
|
||
<field name="identifier_author" />
|
||
</group>
|
||
<group name="technique_right">
|
||
<field name="identifier_primary_id" />
|
||
<field name="created" />
|
||
<field name="updated" />
|
||
</group>
|
||
</group>
|
||
<notebook>
|
||
<page string="Recrutement" name="recruitment">
|
||
<group name="recruitment">
|
||
<group name="recruitment_left">
|
||
<field name="recruitment_target_number" />
|
||
<field name="recruitment_max_number" />
|
||
<field name="recruitment_eligibility_gender" />
|
||
<field name="recruitment_eligibility_age_min" />
|
||
<field name="recruitment_eligibility_age_max" />
|
||
<field name="recruitment_eligibility_condition_clinical_status" widget="many2many_tags" />
|
||
</group>
|
||
<group name="recruitment_right">
|
||
<field name="recruitment_eligibility_condition_body_site" widget="many2many_tags" />
|
||
<field name="recruitment_eligibility_study_incl" widget="many2many_tags" />
|
||
<field name="recruitment_eligibility_study_excl" widget="many2many_tags" />
|
||
<field name="recruitment_eligibility_description" />
|
||
<field name="recruitment_eligibility_topic" widget="many2many_tags" />
|
||
<field name="region" widget="many2many_tags" />
|
||
</group>
|
||
</group>
|
||
</page>
|
||
<page string="Notes" name="notes">
|
||
<field name="note" />
|
||
</page>
|
||
<page string="Progress status" name="progress_status" groups="base.group_no_one">
|
||
<field name="progress_status" nolabel="1">
|
||
<tree create="false" delete="false" default_order="date_begin DESC" >
|
||
<field name="state" />
|
||
<field name="date_begin" />
|
||
<field name="date_end" />
|
||
<field name="actual" />
|
||
</tree>
|
||
</field>
|
||
</page>
|
||
</notebook>
|
||
</sheet>
|
||
</form>
|
||
</field>
|
||
</record>
|
||
|
||
|
||
<!-- ACTIONS -->
|
||
<record id="action_study_study" model="ir.actions.act_window">
|
||
<field name="name">Études</field>
|
||
<field name="type">ir.actions.act_window</field>
|
||
<field name="res_model">study.study</field>
|
||
</record>
|
||
|
||
<!-- SEARCH -->
|
||
<record id="view_study_study_search" model="ir.ui.view">
|
||
<field name="name">study.study.search</field>
|
||
<field name="model">study.study</field>
|
||
<field name="arch" type="xml">
|
||
<search string="Études">
|
||
<field name="title" string="Nom de l'étude" />
|
||
<field name="name" string="Acronyme" />
|
||
<field name="identifier_primary_id" string="Seintinelles ID"/>
|
||
<field name="period_start" string="Date de début" />
|
||
<field name="period_end" string="Date de fin" />
|
||
</search>
|
||
</field>
|
||
</record>
|
||
|
||
</odoo>
|