diff --git a/views/res_partner.xml b/views/res_partner.xml index d857daaaec306184cc5d257c849b4f1048a34ec1..1d3c1fffc8911bfe989e43e240f576b2036d8af2 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -9,45 +9,45 @@ <field name="model">res.partner</field> <field name="inherit_id" ref="cgscop_partner.scop_contact_view_form"/> <field name="arch" type="xml"> - <xpath expr="//page[@name='scop_contribution']" position="after"> + <xpath expr="//page[@name='contribution']" position="after"> <page name='scop_exo' string="Exonérations" attrs="{'invisible': ['|', ('is_cooperative', '!=', True), ('project_status', '!=', '6_suivi')]}"> - <field name="exo_ids" mode="tree,form" readonly="1"> - <tree create="false" edit="false" delete="false" default_order="date desc"> - <field name="date_request"/> - <field name="source"/> - <field name="date_exo_start"/> - <field name="date_exo_end"/> - <field name="ur_notice"/> - <field name="final_notice"/> - <field name="date_exo_ok"/> - </tree> - <form> - <group string="Demande initiale"> - <group name="request"> - <field name="date_request"/> - <field name="source"/> - <field name="ur_notice" options="{'no_create': True, 'no_open': True}"/> + <field name="exo_ids" mode="tree,form" readonly="1"> + <tree create="false" edit="false" delete="false" default_order="date desc"> + <field name="date_request"/> + <field name="source"/> + <field name="date_exo_start"/> + <field name="date_exo_end"/> + <field name="ur_notice"/> + <field name="final_notice"/> + <field name="date_exo_ok"/> + </tree> + <form> + <group string="Demande initiale"> + <group name="request"> + <field name="date_request"/> + <field name="source"/> + <field name="ur_notice" options="{'no_create': True, 'no_open': True}"/> + </group> + <group> + <field name="date_exo_start"/> + <field name="date_exo_end"/> + </group> </group> - <group> - <field name="date_exo_start"/> - <field name="date_exo_end"/> + <strong><label for="motivation"/></strong> + <field name="motivation" placeholder=""/> + <group string="Bureau"> + <group> + <field name="date_exo_ok"/> + </group> + <group> + <field name="final_notice"/> + </group> </group> - </group> - <strong><label for="motivation"/></strong> - <field name="motivation" placeholder=""/> - <group string="Bureau"> - <group> - <field name="date_exo_ok"/> - </group> - <group> - <field name="final_notice"/> - </group> - </group> - <strong><label for="head_office_comment"/></strong> - <field name="head_office_comment" placeholder="Commentaire du bureau"/> - </form> - </field> - </page> + <strong><label for="head_office_comment"/></strong> + <field name="head_office_comment" placeholder="Commentaire du bureau"/> + </form> + </field> + </page> </xpath> </field> </record>