-
Notifications
You must be signed in to change notification settings - Fork 4
/
som_documents_sensibles_view.xml
49 lines (47 loc) · 2.25 KB
/
som_documents_sensibles_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_som_documents_sensibles_form">
<field name="name">som_documents_sensibles.form</field>
<field name="model">som.documents.sensibles</field>
<field name="arch" type="xml">
<form string="Documents Sensibles">
<separator string="Nou document sensible" colspan="4"/>
<group colspan="2" col="3">
<field name='categoria' select="1"/>
<field name='partner_id' select="1"/>
</group>
<newline/>
<separator string="Dates" colspan="4"/>
<group colspan="2" col="3">
<field name='data_recepcio' select="1"/>
<field name='darrera_data_valida' select="1"/>
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="view_som_documents_sensibles_tree">
<field name="name">som_documents_sensibles.tree</field>
<field name="model">som.documents.sensibles</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Documents Sensibles">
<field name="categoria"/>
<field name="create_uid"/>
<field name='data_recepcio'/>
<field name='darrera_data_valida'/>
<field name='partner_id'/>
<field name='nif'/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="action_som_documents_sensibles_tree">
<field name="name">Documents Sensibles</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">som.documents.sensibles</field>
<field name="view_type">form</field>
<field name="view_id" ref="view_som_documents_sensibles_tree"/>
</record>
<menuitem action="action_som_documents_sensibles_tree" id="menu_som_documents_sensibles_tree" parent="base.menu_base_partner"/>
</data>
</openerp>