mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-23 07:22:03 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -8,9 +8,17 @@
|
|||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='tz']" position="after">
|
||||
<field name="livechat_username" string="Online Chat Name" readonly="0"
|
||||
attrs="{'invisible': [('share', '=', True)]}"/>
|
||||
<xpath expr="//field[@name='outgoing_mail_server_type']" position="after">
|
||||
<field name="has_access_livechat" invisible="1"/>
|
||||
<field name="livechat_username" string="Livechat Name" invisible="not has_access_livechat"/>
|
||||
<field name="livechat_lang_ids" string="Spoken Languages"
|
||||
options="{'no_create': True, 'no_edit': True, 'no_create_edit': True}"
|
||||
widget="many2many_tags"
|
||||
invisible="not has_access_livechat"/>
|
||||
<field name="livechat_expertise_ids" string="Expertise"
|
||||
widget="many2many_tags"
|
||||
options="{'no_create': True}"
|
||||
invisible="not has_access_livechat"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
@ -21,12 +29,18 @@
|
|||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='messaging']" position="after">
|
||||
<group name="livechat" string="Livechat"
|
||||
attrs="{'invisible': [('share', '=', True)]}">
|
||||
<field name="livechat_username"/>
|
||||
</group>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='outgoing_mail_server_type']" position="after">
|
||||
<field name="has_access_livechat" invisible="1"/>
|
||||
<field name="livechat_username" string="Livechat Name" invisible="not has_access_livechat"/>
|
||||
<field name="livechat_lang_ids" string="Spoken Languages"
|
||||
options="{'no_create': True, 'no_edit': True}"
|
||||
widget="many2many_tags"
|
||||
invisible="not has_access_livechat"/>
|
||||
<field name="livechat_expertise_ids" string="Expertise"
|
||||
widget="many2many_tags"
|
||||
options="{'no_create': True}"
|
||||
invisible="not has_access_livechat"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue