Browse Source

[FIX] update res.user form

12.3
Nicolas JEUDY 5 years ago
parent
commit
a269170176
  1. 6
      base_phone/views/res_users_view.xml

6
base_phone/views/res_users_view.xml

@ -13,13 +13,13 @@
<field name="model">res.users</field> <field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form"/> <field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<notebook position="inside">
<xpath expr="//notebook" position="inside">
<page string="Telephony" name="phone" invisible="1"> <page string="Telephony" name="phone" invisible="1">
<!-- Empty page, which will be used by other phone modules --> <!-- Empty page, which will be used by other phone modules -->
<group name="phone-preferences" string="Telephony Preferences"> <group name="phone-preferences" string="Telephony Preferences">
</group> </group>
</page> </page>
</notebook>
</xpath>
</field> </field>
</record> </record>
@ -28,7 +28,7 @@
<field name="model">res.users</field> <field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form_simple_modif" /> <field name="inherit_id" ref="base.view_users_form_simple_modif" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//group[@name='signature']/.." position="after">
<xpath expr="//group[@name='signature']" position="after">
<group name="phone" string="Telephony Preferences" invisible="1"> <group name="phone" string="Telephony Preferences" invisible="1">
<!-- Empty group, that is used by other phone modules --> <!-- Empty group, that is used by other phone modules -->
</group> </group>

Loading…
Cancel
Save