forked from OCA/knowledge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
document_page_multi_company_view.xml
55 lines (48 loc) · 2.21 KB
/
document_page_multi_company_view.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
52
53
54
55
<?xml version="1.0"?>
<openerp>
<data>
<!-- History -->
<record id="wiki_history_tree_inherit" model="ir.ui.view">
<field name="name">document.page.history.tree</field>
<field name="model">document.page.history</field>
<field name="inherit_id" ref="document_page.view_wiki_history_tree"/>
<field name="arch" type="xml">
<field name="page_id" position="after">
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>
<record id="wiki_history_form_inherit" model="ir.ui.view">
<field name="name">document.page.history.form</field>
<field name="model">document.page.history</field>
<field name="inherit_id" ref="document_page.wiki_history_form"/>
<field name="arch" type="xml">
<field name="create_date" position="after">
<label for="company_id" class="oe_edit_only" groups="base.group_multi_company"/>
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>
<!-- Page -->
<record id="wiki_form_inherit" model="ir.ui.view">
<field name="name">document.page.form</field>
<field name="model">document.page</field>
<field name="inherit_id" ref="document_page.view_wiki_form"/>
<field name="arch" type="xml">
<field name="parent_id" position="after">
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>
<record id="view_wiki_tree_inherit" model="ir.ui.view">
<field name="name">document.page.tree</field>
<field name="model">document.page</field>
<field name="inherit_id" ref="document_page.view_wiki_tree"/>
<field name="arch" type="xml">
<field name="write_date" position="after">
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>
</data>
</openerp>