Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 3f0d2e16924595e05171b970c3f7bbef828d62a0
  • 14.0 par défaut
  • 12.0 protégée
  • 13.0
4 résultats

res_partner.xml

Blame
  • res_partner.xml 1,98 Kio
    <?xml version="1.0" encoding="utf-8" ?>
    <odoo>
        <!--  Copyright 2020 Le Filament
              License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).  -->
        <data>
    
            <record id="scop_contact_view_form" model="ir.ui.view">
                <field name="name">res.partner.scop.view.form</field>
                <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_membership']" position="after">
                        <page
                            name='scop_contribution'
                            string="Cotisations"
                            attrs="{'invisible': ['|', ('is_cooperative', '!=', True), ('project_status', '!=', '4_suivi')]}"
                        >
                            <notebook>
                                <page name="contribution" string="Appels de Cotisations">
                                    <field name="contribution_report_ids" mode="tree,form">
                                        <tree
                                            create="false"
                                            edit="false"
                                            delete="false"
                                            default_order="year desc"
                                        >
                                            <field name="year" />
                                            <field name="type_contribution_id" />
                                            <field name='partner_id' />
                                            <field name='amount_called' />
                                            <field name='amount_paid' />
                                            <field name='amount_due' />
                                        </tree>
                                    </field>
                                </page>
                            </notebook>
                        </page>
                    </xpath>
                </field>
            </record>
        </data>
    </odoo>