3
(c) 2008 Sednacom <http://www.sednacom.fr>
6
- Brice < brice@sednacom.fr >
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26
<record model="ir.ui.view" id="sednacom_email_form">
27
<field name="name">sednacom.email.form</field>
28
<field name="model">sednacom.email</field>
29
<field name="type">form</field>
30
<field name="arch" type="xml">
32
<field name="exp" colspan="4" select="1" />
33
<field name="to" colspan="4" select="1" />
34
<field name="recipients" colspan="4" select="1" />
35
<field name="name" colspan="4" select="1"/>
36
<field name="datetime" select="2" />
37
<field name="state" select="2" />
38
<field name="crm_case" colspan="4" />
39
<separator label="message" colspan="4" />
40
<field name="body" nolabel="1" colspan="4" widget="html_tag" />
41
<group col="2" colspan="2" >
42
<button name="sendmail" string="Send" type="object" states="draft" />
48
<record model="ir.ui.view" id="sednacom_email_tree">
49
<field name="name">sednacom.email.tree</field>
50
<field name="model">sednacom.email</field>
51
<field name="type">tree</field>
52
<field name="arch" type="xml">
53
<tree string="Emails">
57
<field name="datetime" />
58
<field name="state" />
63
<record model="ir.actions.act_window" id="action_sednacom_email_tree">
64
<field name="name">Emails</field>
65
<field name="type">ir.actions.act_window</field>
66
<field name="res_model">sednacom.email</field>
67
<field name="view_type">form</field>
68
<field name="view_mode">tree,form</field>
69
<field name="view_id" ref="sednacom_email_tree"/>
72
<menuitem name="Tools/Emails" action="action_sednacom_email_tree" id="menu_sednacom_email" />