Newer
Older
<!-- Copyright 2020-2022 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<record model="ir.ui.view" id="view_project_kanban">
<field name="name">project.project.kanban</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.view_project_kanban" />
<kanban position="attributes">
<attribute name="default_order">num_dossier</attribute>
<attribute name="quick_create">false</attribute>
<field name="num_dossier" />
<field name="user_id" />
</field>
<xpath expr="//div[hasclass('o_primary')]" position="after">
<div>
<span t-if="record.num_dossier.value">
<strong>Numéro de dossier : <t
t-esc="record.num_dossier.value"
/></strong><br />
<a
class="o_project_kanban_box"
name="%(project.act_project_project_2_project_task_all)d"
type="action"
>
<span class="o_value"><t
t-esc="record.task_count.value"
/></span>
<a
t-if="record.allow_timesheets.raw_value"
class="o_project_kanban_box o_project_timesheet_box"
name="%(hr_timesheet.act_hr_timesheet_line_by_project)d"
type="action"
groups="hr_timesheet.group_hr_timesheet_user"
>
<div>
<span class="o_label">Feuilles de temps</span>
</div>
</a>
</div>
<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="padding">4</field>
<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" />
<header position="inside">
<button
string="Valider pour CA"
type="object"
class="btn-primary"
name="validate_ca"
attrs="{'invisible': ['|', ('num_dossier', '!=', False), ('project_status', '!=', %(adefpat_project.project_status_pret_pour_ca)d)]}"
/>
<button
name="export_gap"
string="Exporter les membres du GAP"
type="object"
/>
<button
name="export_benef"
string="Exporter les bénéficiaires"
type="object"
/>
<button name="attachment_tree_view" position="replace" />
<field name="name_subtitle" placeholder="Sous-titre" />
<field
name="num_dossier"
attrs="{'invisible': [('num_dossier', '=', False)]}"
readonly="1"
/>
<xpath expr="//div[@name='options_active']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
<field name="task_count" position="replace">
<field string="Séances" name="task_count" widget="statinfo" />
</field>
<page name="settings" position="attributes">
<attribute name="invisible">1</attribute>
</page>
<group
attrs="{'invisible': [('project_status', '!=', %(adefpat_project.project_status_demande)d), ('project_status', '!=', %(adefpat_project.project_status_instruction)d)]}"
>
<field name="first_contact_id" />
<field name="type_contact" />
<field name="date_first_contact" />
<field name="prescripteur_id" />

Juliana
committed
</group>
<group>
<field name="territoire_id" options="{'no_create': True}" />
<field name="departement_ids" widget="many2many_tags" />
<field name="region_ids" widget="many2many_tags" />
<field name="petr_ids" widget="many2many_tags" />
<field name="departement" />
<field name="user_id" />
<field name="description" />
</group>
</group>
<field name="porteurs_projets_ids" widget="one2many">
<tree
string="Porteurs de projet"
editable="top"
default_order='porteur_id'
>
<field name="porteur_id" />
<field name="lastname" />
<field name="firstname" />
<field name="commune" />
<field name="mobile" />
<field name="fixe" />
<field name="email" widget="email" />
<field name="statut" options="{'no_create': True}" />
<form string="Porteurs de projets">
<sheet>
<group>
<group>
<field name="porteur_id" />
<field name="lastname" />
<field name="firstname" />
<field name="commune" />
<field name="mobile" />
<field name="fixe" />
<field name="email" widget="email" />
<field name="statut" />
<field name="eligible" />
<field
name="od_ids"
options="{'no_create': True}"
widget="many2many_tags"
/>
<field
name="animateur_ids"
options="{'no_create': True}"
widget="many2many_tags"
/>
<field
name="type_convention_id"
options="{'limit': 10, 'no_create': True, 'no_open': True}"
/>
<field name="date_ca" />
<field name="date_demarrage" />
<field name="elu_id" options="{'no_create': True}" />
Loading
Loading full blame...