Newer
Older
<?xml version="1.0"?>
<!-- Copyright 2020 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<record id="increment_num_dossier_sequence" model="ir.sequence">
<field name="name">Champ incrémentation</field>
<field name="code">increment_num_dossier</field>
<field name="prefix"></field>
<field name="padding">4</field>
<field name="company_id" eval="False"/>
</record>
<record id="edit_project" model="ir.ui.view">
<field name="name">project.project.form</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<header position="inside">
<button string="Valider pour CA" type="object" class="btn-primary" name="validate_ca" attrs="{'invisible': [('num_dossier', '!=', False)]}"/>
</header>
<xpath expr="//div[@name='options_active']" position="inside">
<div>
<label for="name_subtitle" class="oe_inline" string="Sous-titre :"/>
<field name="name_subtitle" class="oe_inline oe_input_align"/>
</div>
<div>
<label for="num_dossier" class="oe_inline" string="Numéro de dossier :"/>
<field name="num_dossier" class="oe_inline oe_input_align"/>
</div>
</xpath>
<xpath expr="//notebook" position="before">
<group>
<group>
<field name="first_contact_id"/>
<field name="type_contact"/>
<field name="date_first_contact"/>
<field name="prescripteur_id"/>
<field name="prescripteur_company_id"/>

Juliana
committed
</group>
<group>

Juliana
committed
<field name="description"/>
</group>
</group>
<field name="porteurs_projets_ids" widget="one2many">
<tree string="Porteurs de projet" editable="top">
<field name="partner_id"/>
<field name="lastname"/>
<field name="firstname"/>
<field name="commune"/>
<field name="mobile"/>
<field name="fixe"/>
<field name="email"/>
<field name="statut"/>
<field name="eligible"/>
</tree>
</field>
<group>
<group>

Juliana
committed
<field name="od_id" options="{'no_create': True}"/>
<field name="animateur_id" options="{'no_create': True}"/>
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<field name="type_convention_id"/>
</group>
<group>
<field name="date_ca"/>
<field name="date_start"/>
</group>
</group>
</xpath>
<xpath expr="//notebook" position="inside">
<page name="dossier" string="Dossier">
<group string="Dossier Consultation">
<group>
<field name="contexte"/>
<field name="caract_beneficiaire"/>
<field name="historique"/>
<field name="besoins_beneficiaires"/>
<field name="objectifs_accompagnement"/>
</group>
<group>
<field name="competences_requises"/>
<field name="secteurs_requis"/>
<field name="modalites_intervention"/>
<field name="modalites_facturation"/>
<field name="modalites_reponse"/>
</group>
</group>
<group >
<group string="Critères CA">
<field name="type_beneficiaire"/>
<field name="objectif_projet"/>
<field name="secteur_crit"/>
<field name="taille"/>
<field name="objectif_formation"/>
<field name="type_formation"/>
<field name="encadrement"/>
</group>
<group string="Infos Dossier CA">
<field name="lieu"/>
<field name="periode_realisation"/>
</group>
</group>
</page>
<page name="consultation" string="Consultation">
<field name="consulant_ids" widget="one2many">
<tree string="Consultants" editable="top">
<field name="partner_id"/>
<field name="lastname"/>
<field name="firstname"/>

Juliana
committed
<field name="reference"/>
<field name="mobile"/>
<field name="email"/>
<field name="date_cdc"/>

Juliana
committed
<field name="cout_journée"/>

Juliana
committed
<field name="date_notification"/>
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
</tree>
</field>
</page>
<page name="gap" string="GAP">
<group >
<group>
<field name="elu_referent_id"/>
<field name="date_gap"/>
</group>
<group>
<field name="modalite_gap"/>
</group>
</group>
<field name="membre_ids" widget="one2many">
<tree string="Membres" editable="top">
<field name="partner_id"/>
<field name="lastname"/>
<field name="firstname"/>
<field name="commune"/>
<field name="mobile"/>
<field name="fixe"/>
<field name="email"/>
</tree>
</field>
<field name="reunion_ids" widget="one2many">
<tree string="Réunions GAP" editable="top">
<field name="name"/>
<field name="date"/>
</tree>
</field>
</page>
</xpath>
</field>
</record>
<record id="action_view_adefpat_type_convention" model="ir.actions.act_window">
<field name="name">Types de convention</field>
<field name="res_model">adefpat.type.convention</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
id="adefpat_project.menu_type_convention"
name="Types de convention"
parent="project.menu_project_config"
action="action_view_adefpat_type_convention"
groups="base.group_no_one"/>
</data>
</odoo>