mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[ADD] base_ical
This commit is contained in:
committed by
fkantelberg
parent
35dbc22d7e
commit
1e6b6ceda7
38
base_ical/views/res_users.xml
Normal file
38
base_ical/views/res_users.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2023 Hunki Enterprises BV
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
|
||||
<data>
|
||||
<record id="view_res_users_form" model="ir.ui.view">
|
||||
<field name="model">res.users</field>
|
||||
<field name="inherit_id" ref="base.view_users_form_simple_modif" />
|
||||
<field name="arch" type="xml">
|
||||
<notebook position="inside">
|
||||
<page name="base_ical" string="Calendars">
|
||||
<field name="ical_ids">
|
||||
<tree>
|
||||
<button
|
||||
type="object"
|
||||
name="action_enable"
|
||||
attrs="{'invisible': [('user_active', '=', True)]}"
|
||||
string="Enable"
|
||||
/>
|
||||
<button
|
||||
type="object"
|
||||
name="action_disable"
|
||||
attrs="{'invisible': [('user_active', '=', False)]}"
|
||||
string="Disable"
|
||||
/>
|
||||
<field name="name" />
|
||||
<field name="user_active" invisible="1" />
|
||||
<field
|
||||
name="user_url"
|
||||
attrs="{'invisible': [('user_active', '=', False)]}"
|
||||
widget="url"
|
||||
/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
</notebook>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
Reference in New Issue
Block a user