diff --git a/addons/website_blog/static/description/index.html b/addons/website_blog/static/description/index.html
index 7ca5b48ae55..3f44eea9b4d 100644
--- a/addons/website_blog/static/description/index.html
+++ b/addons/website_blog/static/description/index.html
@@ -22,7 +22,7 @@
translated in mutiple languages in just a few clicks.
diff --git a/addons/website_blog/static/src/js/website.tour.blog.js b/addons/website_blog/static/src/js/website.tour.blog.js
index b6701d74634..e76e793dfda 100644
--- a/addons/website_blog/static/src/js/website.tour.blog.js
+++ b/addons/website_blog/static/src/js/website.tour.blog.js
@@ -27,7 +27,7 @@
element: '#content-menu-button',
placement: 'left',
title: _t("Add Content"),
- content: _t("Create new pages, blogs, menu items and products through the 'Content' menu."),
+ content: _t("Use this 'Content' menu to create a new blog post like any other document (page, menu, products, event, ...)."),
popover: { fixed: true },
},
{
@@ -59,7 +59,7 @@
{
waitNot: '#wrap h1[data-oe-model="blog.post"]:contains("Blog Post Title")',
element: 'button[data-action=snippet]',
- placement: 'bottom',
+ placement: 'left',
title: _t("Layout Your Blog Post"),
content: _t("Use well designed building blocks to structure the content of your blog. Click 'Insert Blocks' to add new content."),
popover: { fixed: true },
@@ -68,7 +68,7 @@
snippet: 'image-text',
placement: 'bottom',
title: _t("Drag & Drop a Block"),
- content: _t("Drag the 'Image-Text' block and drop it in your page."),
+ content: _t("Drag this block and drop it in your page."),
popover: { fixed: true },
},
{
@@ -82,14 +82,14 @@
snippet: 'text-block',
placement: 'bottom',
title: _t("Drag & Drop a block"),
- content: _t("Drag the 'Text Block' block and drop it below the image block."),
+ content: _t("Drag this block and drop it below the image block."),
popover: { fixed: true },
},
{
element: '.oe_active .oe_snippet_remove',
placement: 'top',
- title: _t("Delete the Title"),
- content: _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the title."),
+ title: _t("Delete the block"),
+ content: _t("From this toolbar you can move, duplicate or delete the selected zone. Click on the garbage can image to delete the block. Or click on the Title and delete it."),
},
{
waitNot: '.oe_active .oe_snippet_remove:visible',
diff --git a/addons/website_event/static/src/js/website.tour.event.js b/addons/website_event/static/src/js/website.tour.event.js
index 73510b455dd..a9e40a5f65b 100644
--- a/addons/website_event/static/src/js/website.tour.event.js
+++ b/addons/website_event/static/src/js/website.tour.event.js
@@ -21,7 +21,7 @@
{
title: _t("Create an Event"),
content: _t("Let's go through the first steps to publish a new event."),
- popover: { next: _("Start Tutorial"), end: _("Skip It") },
+ popover: { next: _t("Start Tutorial"), end: _t("Skip It") },
},
{
element: '#content-menu-button',
diff --git a/addons/website_livechat/__openerp__.py b/addons/website_livechat/__openerp__.py
index 0ab7781b7ab..5220fc47bb6 100644
--- a/addons/website_livechat/__openerp__.py
+++ b/addons/website_livechat/__openerp__.py
@@ -12,10 +12,7 @@ OpenERP Website LiveChat
'depends': ['website', 'im_livechat'],
'installable': True,
'data': [
- 'views/website_livechat.xml'
+ 'views/website_livechat.xml',
+ 'views/res_config.xml'
],
- 'demo': [ ],
- 'js': [],
- 'qweb': [],
- 'css': [],
}
diff --git a/addons/website_livechat/models/website.py b/addons/website_livechat/models/website.py
index 7e86042a67a..3e3df1c5bdc 100644
--- a/addons/website_livechat/models/website.py
+++ b/addons/website_livechat/models/website.py
@@ -5,4 +5,11 @@ class website(osv.osv):
_columns = {
'channel_id': fields.many2one('im_livechat.channel', string="Channel"),
- }
\ No newline at end of file
+ }
+
+class website_config_settings(osv.osv_memory):
+ _inherit = 'website.config.settings'
+
+ _columns = {
+ 'channel_id': fields.related('website_id', 'channel_id', type='many2one', relation='im_livechat.channel', string='Live Chat Channel'),
+ }
diff --git a/addons/website_livechat/views/res_config.xml b/addons/website_livechat/views/res_config.xml
new file mode 100644
index 00000000000..ac69929ca63
--- /dev/null
+++ b/addons/website_livechat/views/res_config.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+ Website livechat settings
+ website.config.settings
+
+
+
+
+
-
-
-
-
diff --git a/addons/website_mail/models/mail_message.py b/addons/website_mail/models/mail_message.py
index 308cf9da4b8..c708d9c3e33 100644
--- a/addons/website_mail/models/mail_message.py
+++ b/addons/website_mail/models/mail_message.py
@@ -28,13 +28,21 @@ class MailMessage(osv.Model):
_columns = {
'website_published': fields.boolean(
- 'Publish', help="Publish on the website as a blog"
+ 'Published', help="Visible on the website as a comment"
),
}
- _defaults = {
- 'website_published': True,
- }
+ def default_get(self, cr, uid, fields_list, context=None):
+ defaults = super(MailMessage, self).default_get(cr, uid, fields_list, context=context)
+
+ # Note: explicitly implemented in default_get() instead of _defaults,
+ # to avoid setting to True for all existing messages during upgrades.
+ # TODO: this default should probably be dynamic according to the model
+ # on which the messages are attached, thus moved to create().
+ if 'website_published' in fields_list:
+ defaults.setdefault('website_published', True)
+
+ return defaults
def _search(self, cr, uid, args, offset=0, limit=None, order=None,
context=None, count=False, access_rights_uid=None):
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml
index e236132ee61..1b0e5c84654 100644
--- a/addons/website_sale/views/templates.xml
+++ b/addons/website_sale/views/templates.xml
@@ -29,6 +29,7 @@
+