Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 1c7a0d7211d523bf04a9d78678a14b13e7b99b72
  • 12.0 par défaut protégée
  • 14-RV-20250312
  • 14-RV-20250305
  • 14-RV-20250129
  • 12-RV-Orthographe
6 résultats

hr_timesheet.xml

Blame
  • Bifurcation depuis Le Filament / Confédération Générale des SCOP / cgscop_timesheet
    Le projet source a une visibilité limitée.
    res_users.xml NaN Gio
    <?xml version="1.0" ?>
    <!-- Copyright 2019 Le Filament
         License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
    <odoo>
        <data>
            <record id="users_form_with_ur" model="ir.ui.view">
                <field name="name">add ur in users view</field>
                <field name="model">res.users</field>
                <field name="inherit_id" ref="base.view_users_form" />
                <field name="arch" type="xml">
                    <xpath
                        expr="//div[hasclass('oe_title')]//field[@name='partner_id']"
                        position="after"
                    >
                        <field
                            name="ur_id"
                            readonly="1"
                            options="{'no_open': True, 'no_create': True}"
                        />
                    </xpath>
                </field>
            </record>
        </data>
    </odoo>