diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 4feb97c2f5f..d3697b13ea9 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -436,7 +436,7 @@
- +
diff --git a/addons/base_calendar/crm_meeting_view.xml b/addons/base_calendar/crm_meeting_view.xml index 10c65ab850b..8590bcb8b49 100644 --- a/addons/base_calendar/crm_meeting_view.xml +++ b/addons/base_calendar/crm_meeting_view.xml @@ -221,7 +221,7 @@
- +
diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml index aa4243a6838..85507a32c0f 100644 --- a/addons/crm_claim/crm_claim_view.xml +++ b/addons/crm_claim/crm_claim_view.xml @@ -168,7 +168,7 @@
- +
diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml index 52f006ca7b2..1640b9d0318 100644 --- a/addons/crm_helpdesk/crm_helpdesk_view.xml +++ b/addons/crm_helpdesk/crm_helpdesk_view.xml @@ -95,7 +95,7 @@
- +
diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml index 85e3020512e..696c0e2876b 100644 --- a/addons/event/event_view.xml +++ b/addons/event/event_view.xml @@ -205,7 +205,7 @@
- +
@@ -473,7 +473,7 @@
- +
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index ef300741139..752d278baed 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -122,7 +122,7 @@
- +
@@ -159,7 +159,7 @@
- +
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 0dd58937306..c3281b43b94 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -184,7 +184,7 @@
- +
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index ee5a329c800..6de6be6c08d 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -162,7 +162,7 @@
- +
diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml index 214f6edf571..4a880a13c14 100644 --- a/addons/mail/mail_group_view.xml +++ b/addons/mail/mail_group_view.xml @@ -84,7 +84,7 @@
- +
diff --git a/addons/mail/res_users.py b/addons/mail/res_users.py index 1b6388111ba..932c4dd9518 100644 --- a/addons/mail/res_users.py +++ b/addons/mail/res_users.py @@ -91,8 +91,10 @@ class res_users(osv.Model): return user_id def _create_welcome_message(self, cr, uid, user, context=None): - company_name = user.company_id.name if user.company_id else _('the company') - body = _('%s has joined %s.') % (user.name, company_name) + if not self.has_group(cr, uid, 'base.group_user'): + return False + company_name = user.company_id.name if user.company_id else '' + body = _('%s has joined the %s network.') % (user.name, company_name) # TODO change SUPERUSER_ID into user.id but catch errors return self.pool.get('res.partner').message_post(cr, SUPERUSER_ID, [user.partner_id.id], body=body, context=context) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 8f753ca76e9..0bcfd0d3733 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -115,7 +115,7 @@ padding-top:2px; } .openerp .oe_mail .oe_msg.oe_msg_indented .oe_msg_footer{ - margin-bottom: 0px; + margin-bottom: 5px; } /* b) Votes (likes) */ diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index da8d1b3b9c2..9f385339173 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -311,7 +311,7 @@
- +
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index cf22fb44b58..a08597df60b 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -914,7 +914,7 @@
- +
@@ -1040,7 +1040,7 @@
- +