-
-
Notifications
You must be signed in to change notification settings - Fork 440
/
Copy pathvault_inbox_views.xml
51 lines (49 loc) · 1.95 KB
/
vault_inbox_views.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_vault_inbox_tree" model="ir.ui.view">
<field name="model">vault.inbox</field>
<field name="arch" type="xml">
<tree create="false">
<field name="name" />
<field name="inbox_link" widget="url" />
</tree>
</field>
</record>
<record id="view_vault_inbox_form" model="ir.ui.view">
<field name="model">vault.inbox</field>
<field name="arch" type="xml">
<form create="false">
<sheet>
<field name="user_id" invisible="1" />
<field name="iv" invisible="1" />
<field name="key" invisible="1" />
<field name="filename" invisible="1" />
<group>
<field name="inbox_link" widget="url" />
<field name="name" />
<field name="accesses" />
<field name="expiration" />
<field
name="secret"
widget="vault_inbox_field"
attrs="{'invisible': [('secret', '=', False)]}"
/>
<field
name="secret_file"
filename="filename"
widget="vault_inbox_file"
attrs="{'invisible': [('secret_file', '=', False)]}"
/>
</group>
<label for="log_ids" />
<field name="log_ids" options="{'no_open': True}">
<tree>
<field name="name" />
<field name="create_date" />
</tree>
</field>
</sheet>
</form>
</field>
</record>
</odoo>