Sélectionner une révision Git
Bifurcation depuis
Le Filament / Confédération Générale des SCOP / cgscop_adhesion
Le projet source a une visibilité limitée.
res_partner.xml 9,04 Kio
<?xml version="1.0"?>
<!-- Copyright 2019 Le Filament
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<data>
<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">
<field name="percent_realisation" widget="priority"/>
</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.view_partner_cooperative_form"/>
<field name="priority" eval="1"/>
<field name="arch" type="xml">
<page name='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="percent_realisation" widget="priority"/>
<field name="date_realisation"/>
<field name="prescriber_canal_id" widget="res_partner_many2one" options="{'no_create': True}"/>
</group>
<group string="Dossier EU">
<field name="file_fse_open" widget="boolean_toggle"/>
<field name="date_return_file"/>
<field name="fes_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"/>
</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"/>
</group>
<group string="Phase d'accompagnement" 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"/>
</group>
<group string="Soumis CGScop" attrs="{'invisible':[('project_status','in',('1_information','2_pre-diagnostic','3_accompagnement','4_adhesion'))]}">
<field name="date_transmission_cg"/>
</group>
</group>
</page>
</page>
<xpath expr='//notebook' position="inside">
<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}"/>
<field name="creation_delegate_id" widget="res_partner_many2one"
attrs="{'required':[('project_status','in',('3_accompagnement','4_adhesion', '5_cg', '6_suivi'))]}" options="{'no_create': True}" domain="[('ur_id', '=', ur_id)]"/>