Project 'lefilament/acc/acc_rest_api' was moved to 'lefilament/oacc/acc_rest_api'. Please update any links and bookmarks that may still have the old path.
Sélectionner une révision Git
Ce projet est sous licence GNU Affero General Public License v3.0.
En savoir plus
res_partner.xml 9,92 Kio
<?xml version="1.0"?>
<!-- Copyright 2019 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<!-- ******************************
*** Inherited Views
****************************** -->
<!--
Inherited Scop Partner Kanban
-->
<record id="view_partner_cooperative_adhesion_kanban" model="ir.ui.view">
<field name="name">cooperative.kanban.adhesion</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//kanban/field[@name='type']" position="after">
<field name="percent_realisation"/>
</xpath>
<xpath expr="//div[hasclass('oe_kanban_partner_links')]" position="after">
<div>
<!-- <label for='percent_realisation' class="oe_edit_only"/> -->
<field name="percent_realisation" widget="prioritycg" readonly="1"/>
</div>
</xpath>
</field>
</record>
<record id="view_partner_cooperative_adhesion_form" model="ir.ui.view">
<field name="name">cooperative.adhesion.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="cgscop_partner.scop_contact_view_form"/>
<field name="priority" eval="1"/>
<field name="arch" type="xml">
<page name='scop_contacts' position="before">
<page name="adhesion_processus1" string="Processus d'Adhésion" attrs="{'invisible': [('project_status','=','6_suivi')]}">
<group col="3">
<group string="Général">
<field name="project_number"/>
<field name="percent_realisation" widget="priority" />
<field name="date_realisation"/>
<field name="prescriber_canal_id" widget="res_partner_many2one" options="{'no_create': True, 'no_open': True}"/>
<field name="staff_existing"/>
<field name="staff_planned"/>
<field name="ca_previsionnel"/>
<field name="date_abort" attrs="{'invisible':[('project_status','!=','7_abandonne')], 'required':[('project_status','=','7_abandonne')]}"/>
</group>
<group string="Dossier UE">
<field name="file_fse_open" widget="boolean_toggle"/>
<field name="date_return_file"/>
<field name="fse_full" widget="boolean_toggle"/>
<field name="is_id_card" widget="boolean_toggle"/>
<field name="recipient_file_fse"/>
</group>
<group string="Phase d'information">
<field name="date_first_rdv" attrs="{'required':[('project_status','=', '1_information')]}"/>
<field name="date_send_guide"/>
<field name="adhesion_comments"/>
</group>
<group string="Phase de pré-diagnostic" attrs="{'invisible':[('project_status','in',('1_information'))]}">
<field name="feasibility_study" widget="boolean_toggle"/>
<field name="amount_feasibility_study" widget="monetary"/>
<field name="date_prediag"/>
</group>
<group string="Phase d'accompagnement projet" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic'))]}">
<field name="date_convention"/>
<field name="amount_convention" widget="monetary"/>
</group>
<group string="Phase d'adhésion" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic','3_accompagnement'))]}">
<field name="file_full" widget="boolean_toggle"/>
<field name="date_transmission_cg"/>
</group>
</group>
</page>
</page>
<page name='scop_liasse_fiscale' position="after">
<page name="adhesion_processus2" string="Processus d'Adhésion" attrs="{'invisible': [('project_status','!=','6_suivi')]}">
<group col="3">
<group string="Général">
<field name="percent_realisation" widget="priority"/>
<field name="date_realisation"/>
<field name="prescriber_canal_id" widget="res_partner_many2one" options="{'no_create': True, 'no_open': True}"/>
<field name="creation_delegate_id" widget="res_partner_many2one"
attrs="{'required':[('project_status','in',('3_accompagnement','4_adhesion', '5_cg'))]}" options="{'no_create': True}" domain="[('ur_id', '=', ur_id)]"/>
<field name="staff_existing"/>
<field name="staff_planned"/>
</group>
<group string="Dossier UE">
<field name="file_fse_open" widget="boolean_toggle"/>
<field name="date_return_file"/>
<field name="fse_full" widget="boolean_toggle"/>
<field name="recipient_file_fse"/>
</group>
<group string="Phase d'information">
<field name="date_first_rdv"/>
<field name="date_send_guide"/>
<field name="adhesion_comments"/>
</group>
<group string="Phase de pré-diagnostic" attrs="{'invisible':[('project_status','in',('1_information'))]}">
<field name="feasibility_study" widget="boolean_toggle"/>
<field name="amount_feasibility_study" widget="monetary"/>
<field name="date_prediag"/>
</group>
<group string="Phase d'accompagnement projet" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic'))]}">
<field name="date_convention"/>
<field name="amount_convention" widget="monetary"/>
</group>
<group string="Phase d'adhésion" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic','3_accompagnement'))]}">
<field name="file_full" widget="boolean_toggle"/>
<field name="date_transmission_cg"/>
</group>
</group>
</page>
</page>
</field>
</record>
<record id="view_partner_prospect_adhesion_tree" model="ir.ui.view">
<field name="name">prospect.adhesion.tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="cgscop_partner.view_partner_prospect_tree"/>
<field name="arch" type="xml">
<field name="project_status" position="after">
<field name="percent_realisation" widget="priority"/>
</field>
</field>
</record>
<!-- Prescriber Canal -->
<record id="view_res_partner_prescriber_canal_tree" model="ir.ui.view">
<field name="name">res.partner.prescriber.canal.tree</field>
<field name="model">res.partner.prescriber.canal</field>
<field name="arch" type="xml">
<tree string="Canaux de Prescription" editable="top">
<field name="name"/>
</tree>
</field>
</record>
<record id="action_view_res_partner_prescriber_canal_tree" model="ir.actions.act_window">
<field name="name">Canaux de Prescription</field>
<field name="res_model">res.partner.prescriber.canal</field>
<field name="view_mode">tree</field>
<field name="help">Affiche et gère les Canaux de Prescription</field>
</record>
<menuitem id="menu_res_partner_prescriber_canal"
parent="cgscop_partner.menu_scop"
action="action_view_res_partner_prescriber_canal_tree"
sequence="15"/>
<record id="view_partner_add_fse_form" model="ir.ui.view">
<field name="name">partner.fse.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr='//notebook' position="inside">
<page name="eu_file" string="Dossier UE" attrs="{'invisible': ['|', ('is_company', '=', True), ('type','!=','contact')]}">
<group>
<field name="file_fse_open" widget="boolean_toggle"/>
<field name="date_return_file"/>
<field name="fse_full" widget="boolean_toggle"/>
<field name="recipient_file_fse"/>
</group>
</page>
</xpath>
</field>
</record>
</data>
</odoo>