[IMP] Subscribe data

bzr revid: fp@tinyerp.com-20140313194801-24f5f9s03rk663d6
This commit is contained in:
Fabien Pinckaers 2014-03-13 20:48:01 +01:00
parent 808e55d25c
commit 55ec0feba2
4 changed files with 14 additions and 7 deletions

View File

@ -32,6 +32,7 @@
'views/website_mail.xml', 'views/website_mail.xml',
'views/website_email_designer.xml', 'views/website_email_designer.xml',
'views/email_template_view.xml', 'views/email_template_view.xml',
'data/mail_groups.xml',
'security/website_mail.xml', 'security/website_mail.xml',
], ],
'qweb': [ 'qweb': [

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record model="mail.group" id="group_all_employees">
<field name="name">Newsletter</field>
<field name="public">public</field>
<field name="description">Public Newsletter.</field>
</record>
</data>
</openerp>

View File

@ -9,7 +9,7 @@
var self = this; var self = this;
return website.prompt({ return website.prompt({
id: "editor_new_subscribe_button", id: "editor_new_subscribe_button",
window_title: _t("New Subscribe Button"), window_title: _t("Add a Subscribe Button"),
select: _t("Mailing List"), select: _t("Mailing List"),
init: function (field) { init: function (field) {
return website.session.model('mail.group') return website.session.model('mail.group')

View File

@ -478,18 +478,12 @@
</table> </table>
</div> </div>
</div> </div>
</div> </div>
<div id="snippet_options" class="hidden"> <div id="snippet_options" class="hidden">
<t t-call="website.snippet_options"/> <t t-call="website.snippet_options"/>
</div> </div>
</div> </div>
</div> </div>