forked from twtrubiks/odoo-demo-addons-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.xml
30 lines (28 loc) · 1.27 KB
/
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
<?xml version="1.0"?>
<odoo>
<record id="view_activity_form" model="ir.ui.view">
<field name="name">demo.activity.form</field>
<field name="model">demo.activity</field>
<field eval="25" name="priority"/>
<field name="arch" type="xml">
<form string="Demo Activity">
<header>
<button name="button_activity_schedule" string="_activity schedule" type="object" class="oe_highlight"/>
<button name="button_activity_unlink" string="activity unlink" type="object" class="oe_highlight"/>
<button name="button_activity_feedback" string="activity feedback" type="object" class="oe_highlight"/>
</header>
<sheet>
<group>
<field name="name"/>
<field name="employee_id"/>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
</odoo>