diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py
index 5601179e0fc..f8e203356ae 100644
--- a/addons/account/account_bank_statement.py
+++ b/addons/account/account_bank_statement.py
@@ -127,6 +127,7 @@ class account_bank_statement(osv.osv):
_order = "date desc, id desc"
_name = "account.bank.statement"
_description = "Bank Statement"
+ _inherit = ['mail.thread']
_columns = {
'name': fields.char('Name', size=64, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement
'date': fields.date('Date', required=True, states={'confirm': [('readonly', True)]}, select=True),
@@ -364,7 +365,7 @@ class account_bank_statement(osv.osv):
'name': st_number,
'balance_end_real': st.balance_end
}, context=context)
- self.log(cr, uid, st.id, _('Statement %s is confirmed, journal items are created.') % (st_number,))
+ self.message_append_note(cr, uid, [st.id], body=_('Statement %s is confirmed, journal items are created.') % (st_number,), context=context)
return self.write(cr, uid, ids, {'state':'confirm'}, context=context)
def button_cancel(self, cr, uid, ids, context=None):
diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py
index d0f7579a86e..a163d4a645a 100644
--- a/addons/account/account_invoice.py
+++ b/addons/account/account_invoice.py
@@ -1002,7 +1002,7 @@ class account_invoice(osv.osv):
if obj_inv.type in ('out_invoice', 'out_refund'):
ctx = self.get_log_context(cr, uid, context=ctx)
message = _("Invoice '%s' is validated.") % name
- self.log(cr, uid, inv_id, message, context=ctx)
+ self.message_append_note(cr, uid, [inv_id], body=message, context=context)
return True
def action_cancel(self, cr, uid, ids, *args):
@@ -1232,7 +1232,7 @@ class account_invoice(osv.osv):
# TODO: use currency's formatting function
msg = _("Invoice '%s' is paid partially: %s%s of %s%s (%s%s remaining)") % \
(name, pay_amount, code, invoice.amount_total, code, total, code)
- self.log(cr, uid, inv_id, msg)
+ self.message_append_note(cr, uid, ids, body=msg, context=context)
self.pool.get('account.move.line').reconcile_partial(cr, uid, line_ids, 'manual', context)
# Update the stored value (fields.function), so we write to trigger recompute
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index 5a9e808bf2d..39d164c15ac 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -243,7 +243,7 @@
-
+
@@ -338,7 +338,7 @@
-
+
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index 44e866a3341..033e7e5f02f 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -156,7 +156,7 @@
-
+
@@ -528,7 +528,7 @@
-
+
diff --git a/addons/crm/crm_meeting_view.xml b/addons/crm/crm_meeting_view.xml
index 24799e97421..4c84fef228b 100644
--- a/addons/crm/crm_meeting_view.xml
+++ b/addons/crm/crm_meeting_view.xml
@@ -211,7 +211,7 @@
-
+
diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml
index af49956eda8..ff32825c75e 100644
--- a/addons/crm/crm_phonecall_view.xml
+++ b/addons/crm/crm_phonecall_view.xml
@@ -121,7 +121,7 @@
states="cancel" type="object"
icon="gtk-convert" />
-
+
diff --git a/addons/crm_claim/crm_claim.py b/addons/crm_claim/crm_claim.py
index 9673ba5e430..fa19af177a6 100644
--- a/addons/crm_claim/crm_claim.py
+++ b/addons/crm_claim/crm_claim.py
@@ -98,6 +98,16 @@ class crm_claim(crm.crm_case, osv.osv):
def case_get_note_msg_prefix(self, cr, uid, id, context=None):
return 'Claim'
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(crm_claim, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ msg = '%s has been created .' % (self.case_get_note_msg_prefix(cr, uid, ids, context=context))
+ self.message_append_note(cr, uid, ids, body=msg, context=context)
+ return True
+
def onchange_partner_id(self, cr, uid, ids, part, email=False):
"""This function returns value of partner address based on partner
:param part: Partner's id
@@ -116,8 +126,6 @@ class crm_claim(crm.crm_case, osv.osv):
for l in self.browse(cr, uid, ids):
# When coming from draft override date and stage otherwise just set state
if l.state == 'draft':
- message = _("The claim '%s' has been opened.") % l.name
- self.log(cr, uid, l.id, message)
stage_id = self.stage_find(cr, uid, l.section_id.id or False, [('sequence','>',0)])
if stage_id:
self.stage_set(cr, uid, [l.id], stage_id)
diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml
index 03639fc10e4..193545b11af 100644
--- a/addons/crm_claim/crm_claim_view.xml
+++ b/addons/crm_claim/crm_claim_view.xml
@@ -66,7 +66,8 @@
crm.claim
form
-
diff --git a/addons/crm_fundraising/crm_fundraising.py b/addons/crm_fundraising/crm_fundraising.py
index 76d0ca8fdd5..64c5b69b7bf 100644
--- a/addons/crm_fundraising/crm_fundraising.py
+++ b/addons/crm_fundraising/crm_fundraising.py
@@ -108,6 +108,18 @@ class crm_fundraising(crm.crm_case, osv.osv):
'planned_revenue': 0.0,
}
+ def case_get_note_msg_prefix(self, cr, uid, id, context=None):
+ return 'Fund'
+
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(crm_fundraising, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ msg = '%s has been created .' % (self.case_get_note_msg_prefix(cr, uid, ids, context=context))
+ self.message_append_note(cr, uid, ids, body=msg, context=context)
+ return True
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/crm_fundraising/crm_fundraising_view.xml b/addons/crm_fundraising/crm_fundraising_view.xml
index 48eb1aa3072..80f51a9dfee 100644
--- a/addons/crm_fundraising/crm_fundraising_view.xml
+++ b/addons/crm_fundraising/crm_fundraising_view.xml
@@ -77,7 +77,8 @@
crm.fundraising
form
-
diff --git a/addons/crm_helpdesk/crm_helpdesk.py b/addons/crm_helpdesk/crm_helpdesk.py
index 7717ae2ce21..840fb4423b9 100644
--- a/addons/crm_helpdesk/crm_helpdesk.py
+++ b/addons/crm_helpdesk/crm_helpdesk.py
@@ -92,6 +92,19 @@ class crm_helpdesk(crm.crm_case, osv.osv):
'priority': lambda *a: crm.AVAILABLE_PRIORITIES[2][0],
}
+ def case_get_note_msg_prefix(self, cr, uid, id, context=None):
+ return 'Case'
+
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(crm_helpdesk, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ msg = '%s has been created .' % (self.case_get_note_msg_prefix(cr, uid, ids, context=context))
+ self.message_append_note(cr, uid, ids, body=msg, context=context)
+ return True
+
def message_new(self, cr, uid, msg_dict, custom_values=None, context=None):
"""Automatically called when new email message arrives"""
res_id = super(crm_helpdesk,self).message_new(cr, uid, msg_dict, custom_values=custom_values, context=context)
diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml
index 48681357660..669224d6e0c 100644
--- a/addons/crm_helpdesk/crm_helpdesk_view.xml
+++ b/addons/crm_helpdesk/crm_helpdesk_view.xml
@@ -28,7 +28,8 @@
crm.helpdesk
form
-
diff --git a/addons/event/event.py b/addons/event/event.py
index 93fbc563a68..ea8699790a0 100644
--- a/addons/event/event.py
+++ b/addons/event/event.py
@@ -48,6 +48,7 @@ class event_event(osv.osv):
_name = 'event.event'
_description = __doc__
_order = 'date_begin'
+ _inherit = ['ir.needaction_mixin','mail.thread']
def name_get(self, cr, uid, ids, context=None):
if not ids:
@@ -70,6 +71,11 @@ class event_event(osv.osv):
res = self.name_get(cr, uid, ids, context=context)
return dict(res)
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(event_event, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
def copy(self, cr, uid, id, default=None, context=None):
""" Reset the state and the registrations while copying an event
"""
@@ -82,6 +88,7 @@ class event_event(osv.osv):
return super(event_event, self).copy(cr, uid, id, default=default, context=context)
def button_draft(self, cr, uid, ids, context=None):
+ self.button_draft_send_note(cr, uid, ids, context=context)
return self.write(cr, uid, ids, {'state': 'draft'}, context=context)
def button_cancel(self, cr, uid, ids, context=None):
@@ -91,9 +98,11 @@ class event_event(osv.osv):
if event_reg.state == 'done':
raise osv.except_osv(_('Error!'),_("You have already set a registration for this event as 'Attended'. Please reset it to draft if you want to cancel this event.") )
registration.write(cr, uid, reg_ids, {'state': 'cancel'}, context=context)
+ self.button_cancel_send_note(cr, uid, ids, context=context)
return self.write(cr, uid, ids, {'state': 'cancel'}, context=context)
def button_done(self, cr, uid, ids, context=None):
+ self.button_done_send_note(cr, uid, ids, context=context)
return self.write(cr, uid, ids, {'state': 'done'}, context=context)
def check_registration_limits(self, cr, uid, ids, context=None):
@@ -119,6 +128,7 @@ class event_event(osv.osv):
if isinstance(ids, (int, long)):
ids = [ids]
self.check_registration_limits(cr, uid, ids, context=context)
+ self.button_confirm_send_note(cr, uid, ids, context=context)
return self.confirm_event(cr, uid, ids, context=context)
def _get_register(self, cr, uid, ids, fields, args, context=None):
@@ -248,13 +258,50 @@ class event_event(osv.osv):
'register_max': type_info.default_registration_max,
}
return {'value': dic}
+
+ # ----------------------------------------
+ # OpenChatter methods and notifications
+ # ----------------------------------------
+
+ def get_needaction_user_ids(self, cr, uid, ids, context=None):
+ result = dict.fromkeys(ids, [])
+ for obj in self.browse(cr, uid, ids, context=context):
+ if obj.state == 'draft' and obj.user_id:
+ result[obj.id] = [obj.user_id.id]
+ return result
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ message = _("Event has been created .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
+ def button_cancel_send_note(self, cr, uid, ids, context=None):
+ message = _("Event has been cancelled .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
+ def button_draft_send_note(self, cr, uid, ids, context=None):
+ message = _("Event has been set to draft .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
+ def button_done_send_note(self, cr, uid, ids, context=None):
+ message = _("Event has been done .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
+ def button_confirm_send_note(self, cr, uid, ids, context=None):
+ message = _("Event has been confirmed .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
event_event()
class event_registration(osv.osv):
"""Event Registration"""
_name= 'event.registration'
_description = __doc__
- _inherit = ['mail.thread','res.partner']
+ _inherit = ['ir.needaction_mixin','mail.thread','res.partner']
_columns = {
'id': fields.integer('ID'),
'origin': fields.char('Origin', size=124,readonly=True,help="Name of the sale order which create the registration"),
@@ -285,12 +332,17 @@ class event_registration(osv.osv):
def do_draft(self, cr, uid, ids, context=None):
+ self.do_draft_send_note(cr, uid, ids, context=context)
return self.write(cr, uid, ids, {'state': 'draft'}, context=context)
def confirm_registration(self, cr, uid, ids, context=None):
self.message_append(cr, uid, ids,_('State set to open'),body_text= _('Open'))
return self.write(cr, uid, ids, {'state': 'open'}, context=context)
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(event_registration, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
def registration_open(self, cr, uid, ids, context=None):
""" Open Registration
@@ -382,6 +434,27 @@ class event_registration(osv.osv):
data.update(d['value'])
return {'value': data}
+ # ----------------------------------------
+ # OpenChatter methods and notifications
+ # ----------------------------------------
+
+ def get_needaction_user_ids(self, cr, uid, ids, context=None):
+ result = dict.fromkeys(ids, [])
+ for obj in self.browse(cr, uid, ids, context=context):
+ if obj.state == 'draft' and obj.user_id:
+ result[obj.id] = [obj.user_id.id]
+ return result
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ message = _("Registration has been created .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
+ def do_draft_send_note(self, cr, uid, ids, context=None):
+ message = _("Registration has been set as draft .")
+ self.message_append_note(cr, uid, ids, body=message, context=context)
+ return True
+
event_registration()
diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml
index e14310b87c3..1cd04fdb9a9 100644
--- a/addons/event/event_view.xml
+++ b/addons/event/event_view.xml
@@ -50,7 +50,8 @@
event.event
form
-
@@ -353,7 +358,8 @@
event.registration
form
-
diff --git a/addons/event_moodle/event_view.xml b/addons/event_moodle/event_view.xml
index f19d29e7b77..b009339d564 100644
--- a/addons/event_moodle/event_view.xml
+++ b/addons/event_moodle/event_view.xml
@@ -7,7 +7,7 @@
form
-
+
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml
index 9f8f998cbd9..667d561209a 100644
--- a/addons/hr_holidays/hr_holidays_view.xml
+++ b/addons/hr_holidays/hr_holidays_view.xml
@@ -95,7 +95,7 @@
-
+
@@ -138,7 +138,7 @@
-
+
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 5d175bd16f5..d6e30f2b3cd 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -146,7 +146,7 @@
-
+
diff --git a/addons/mail/doc/index.rst.inc b/addons/mail/doc/index.rst.inc
index 4679cd56fdf..822d855d5b4 100644
--- a/addons/mail/doc/index.rst.inc
+++ b/addons/mail/doc/index.rst.inc
@@ -9,3 +9,4 @@ Mail Module documentation topics
mail_thread
mail_openchatter_howto
mail_needaction_howto
+ mail_partner
diff --git a/addons/mail/doc/mail_openchatter_howto.rst b/addons/mail/doc/mail_openchatter_howto.rst
index fe28017be83..7ca52348d99 100644
--- a/addons/mail/doc/mail_openchatter_howto.rst
+++ b/addons/mail/doc/mail_openchatter_howto.rst
@@ -38,7 +38,7 @@ Make your module inheriting from the ``mail.thread`` class.
# inherit from mail.thread allows the use of OpenChatter
_inherit = ['mail.thread']
-Use the thread viewer widget inside your form view by using the ThreadView widget on the message_ids_social field inherited from mail.thread.
+Use the thread viewer widget inside your form view by using the ThreadView widget on the message_ids field inherited from mail.thread.
::
@@ -50,7 +50,7 @@ Use the thread viewer widget inside your form view by using the ThreadView widge
diff --git a/addons/mail/doc/mail_partner.rst b/addons/mail/doc/mail_partner.rst
new file mode 100644
index 00000000000..a99246395d7
--- /dev/null
+++ b/addons/mail/doc/mail_partner.rst
@@ -0,0 +1,10 @@
+What is shown
+==============
+ - for every module which are related to partner show apporopriate message in the partner view like opportunities, sale orders and invoices.
+
+
+How it is done
+===============
+ - _inherit = 'mail.thread'
+
+ - Override def message_load_ids(self, cr, uid, ids, limit=100, offset=0, domain=[], ascent=False, root_ids=[], context=None) search by the partner
diff --git a/addons/mail/mail_group_view.xml b/addons/mail/mail_group_view.xml
index 7258db2d9dc..67b2efc84a0 100644
--- a/addons/mail/mail_group_view.xml
+++ b/addons/mail/mail_group_view.xml
@@ -69,7 +69,8 @@
-
+
diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py
index 8cd8ef415c3..1ed3e74fe5a 100644
--- a/addons/mail/mail_thread.py
+++ b/addons/mail/mail_thread.py
@@ -61,29 +61,29 @@ class mail_thread(osv.osv):
'''
_name = 'mail.thread'
_description = 'Email Thread'
-
+
def _get_message_ids(self, cr, uid, ids, name, arg, context=None):
res = {}
for id in ids:
res[id] = self.message_load_ids(cr, uid, [id], context=context)
return res
-
- # OpenChatter: message_ids_social is a dummy field that should not be used
+
+ # OpenChatter: message_ids is a dummy field that should not be used
_columns = {
- 'message_ids_social': fields.function(_get_message_ids, method=True,
+ 'message_ids': fields.function(_get_message_ids, method=True,
type='one2many', obj='mail.message', string='Temp messages', _fields_id = 'res_id'),
}
#------------------------------------------------------
# Automatic subscription when creating/reading
#------------------------------------------------------
-
+
def create(self, cr, uid, vals, context=None):
"""Automatically subscribe the creator"""
thread_id = super(mail_thread, self).create(cr, uid, vals, context=context);
self.message_subscribe(cr, uid, [thread_id], [uid], context=context)
return thread_id;
-
+
def write(self, cr, uid, ids, vals, context=None):
"""Automatically subscribe the writer"""
if isinstance(ids, (int, long)):
@@ -92,7 +92,7 @@ class mail_thread(osv.osv):
if write_res:
self.message_subscribe(cr, uid, ids, [uid], context=context)
return write_res;
-
+
def unlink(self, cr, uid, ids, context=None):
"""Override unlink, to automatically delete
- subscriptions
@@ -111,13 +111,13 @@ class mail_thread(osv.osv):
# delete notifications
msg_to_del_ids = msg_obj.search(cr, uid, [('model', '=', self._name), ('res_id', 'in', ids)], context=context)
msg_obj.unlink(cr, uid, msg_to_del_ids, context=context)
-
+
return super(mail_thread, self).unlink(cr, uid, ids, context=context)
-
+
#------------------------------------------------------
# Generic message api
#------------------------------------------------------
-
+
def message_create(self, cr, uid, thread_id, vals, context=None):
"""OpenSocial: wrapper of mail.message create method
- creates the mail.message
@@ -131,15 +131,15 @@ class mail_thread(osv.osv):
notification_obj = self.pool.get('mail.notification')
res_users_obj = self.pool.get('res.users')
body = vals.get('body_html', '') if vals.get('subtype', 'plain') == 'html' else vals.get('body_text', '')
-
+
# automatically subscribe the writer of the message
if vals['user_id']:
self.message_subscribe(cr, uid, [thread_id], [vals['user_id']], context=context)
-
+
# get users that will get a notification pushed
user_to_push_ids = self.message_create_get_notification_user_ids(cr, uid, [thread_id], vals, context=context)
user_to_push_from_parse_ids = self.message_parse_users(cr, uid, [thread_id], body, context=context)
-
+
# set email_from and email_to for comments and notifications
if vals.get('type', False) and vals['type'] == 'comment' or vals['type'] == 'notification':
current_user = res_users_obj.browse(cr, uid, [uid], context=context)[0]
@@ -159,24 +159,24 @@ class mail_thread(osv.osv):
if email_to:
vals['email_to'] = email_to
vals['state'] = 'outgoing'
-
+
# create message
msg_id = message_obj.create(cr, uid, vals, context=context)
-
+
# special: if install mode, do not push demo data
if context.get('install_mode', False):
return True
-
+
# push to users
for id in user_to_push_ids:
notification_obj.create(cr, uid, {'user_id': id, 'message_id': msg_id}, context=context)
-
+
return msg_id
-
+
def message_create_get_notification_user_ids(self, cr, uid, thread_ids, new_msg_vals, context=None):
if context is None:
context = {}
-
+
notif_user_ids = []
body = new_msg_vals.get('body_html', '') if new_msg_vals.get('subtype', 'plain') == 'html' else new_msg_vals.get('body_text', '')
for thread_id in thread_ids:
@@ -193,7 +193,7 @@ class mail_thread(osv.osv):
parent_notif_ids = notif_obj.search(cr, uid, [('message_id', '=', new_msg_vals.get('parent_id'))], context=context)
parent_notifs = notif_obj.read(cr, uid, parent_notif_ids, context=context)
notif_user_ids += [parent_notif['user_id'][0] for parent_notif in parent_notifs]
-
+
# remove duplicate entries
notif_user_ids = list(set(notif_user_ids))
return notif_user_ids
@@ -214,7 +214,7 @@ class mail_thread(osv.osv):
for model_name in self.pool.obj_list():
model = self.pool.get(model_name)
if 'mail.thread' in getattr(model, '_inherit', []):
- ret_dict[model_name] = model._description
+ ret_dict[model_name] = model._description
return ret_dict
def message_append(self, cr, uid, threads, subject, body_text=None, body_html=None,
@@ -259,7 +259,7 @@ class mail_thread(osv.osv):
to determine the model of the thread to
update (instead of the current model).
"""
- if context is None:
+ if context is None:
context = {}
if attachments is None:
attachments = {}
@@ -329,7 +329,7 @@ class mail_thread(osv.osv):
'headers': headers,
'reply_to': reply_to,
'original': original, })
-
+
new_msg_ids.append(self.message_create(cr, uid, thread.id, data, context=context))
return new_msg_ids
@@ -390,7 +390,7 @@ class mail_thread(osv.osv):
if (cur_iter > max_iter):
_logger.warning("Possible infinite loop in _message_add_ancestor_ids. Note that this algorithm is intended to check for cycle in message graph.")
return child_ids
-
+
def message_load_ids(self, cr, uid, ids, limit=100, offset=0, domain=[], ascent=False, root_ids=[], context=None):
""" OpenChatter feature: return thread messages ids. It searches in
mail.messages where res_id = ids, (res_)model = current model.
@@ -408,13 +408,13 @@ class mail_thread(osv.osv):
limit=limit, offset=offset, context=context)
if (ascent): msg_ids = self._message_add_ancestor_ids(cr, uid, ids, msg_ids, root_ids, context=context)
return msg_ids
-
+
def message_load(self, cr, uid, ids, limit=100, offset=0, domain=[], ascent=False, root_ids=[], context=None):
""" OpenChatter feature: return thread messages
"""
msg_ids = self.message_load_ids(cr, uid, ids, limit, offset, domain, ascent, root_ids, context=context)
return self.pool.get('mail.message').read(cr, uid, msg_ids, context=context)
-
+
def get_pushed_messages(self, cr, uid, ids, limit=100, offset=0, msg_search_domain=[], ascent=False, root_ids=[], context=None):
""" OpenChatter: wall: get messages to display (=pushed notifications)
:param domain: domain to add to the search; especially child_of
@@ -442,7 +442,7 @@ class mail_thread(osv.osv):
if (ascent): msg_ids = self._message_add_ancestor_ids(cr, uid, ids, msg_ids, root_ids, context=context)
msgs = msg_obj.read(cr, uid, msg_ids, context=context)
return msgs
-
+
#------------------------------------------------------
# Email specific
#------------------------------------------------------
@@ -534,7 +534,7 @@ class mail_thread(osv.osv):
def message_new(self, cr, uid, msg_dict, custom_values=None, context=None):
"""Called by ``message_process`` when a new message is received
- for a given thread model, if the message did not belong to
+ for a given thread model, if the message did not belong to
an existing thread.
The default behavior is to create a new record of the corresponding
model (based on some very basic info extracted from the message),
@@ -660,7 +660,7 @@ class mail_thread(osv.osv):
The keys used in the returned dict are meant to map
to usual names for relationships towards a partner
and one of its addresses.
-
+
:param email: email address for which a partner
should be searched for.
:rtype: dict
@@ -685,7 +685,7 @@ class mail_thread(osv.osv):
#------------------------------------------------------
# Note specific
#------------------------------------------------------
-
+
def message_broadcast(self, cr, uid, ids, subject=None, body=None, parent_id=False, type='notification', subtype='html', context=None):
if context is None:
context = {}
@@ -710,11 +710,11 @@ class mail_thread(osv.osv):
for msg_id in msg_ids:
notification_obj.create(cr, uid, {'user_id': user.id, 'message_id': msg_id}, context=context)
return True
-
+
def log(self, cr, uid, id, message, secondary=False, context=None):
_logger.warning("log() is deprecated. Please use OpenChatter notification system instead of the res.log mechanism.")
self.message_append_note(cr, uid, [id], 'res.log', message, context=context)
-
+
def message_append_note(self, cr, uid, ids, subject=None, body=None, parent_id=False, type='notification', subtype='html', context=None):
if subject is None:
if type == 'notification':
@@ -730,29 +730,29 @@ class mail_thread(osv.osv):
body_html = body
body_text = body
return self.message_append(cr, uid, ids, subject, body_html=body_html, body_text=body_text, parent_id=parent_id, type=type, subtype=subtype, context=context)
-
+
#------------------------------------------------------
# Subscription mechanism
#------------------------------------------------------
-
+
def message_get_subscribers_ids(self, cr, uid, ids, context=None):
subscr_obj = self.pool.get('mail.subscription')
subscr_ids = subscr_obj.search(cr, uid, ['&', ('res_model', '=', self._name), ('res_id', 'in', ids)], context=context)
subs = subscr_obj.read(cr, uid, subscr_ids, context=context)
return [sub['user_id'][0] for sub in subs]
-
+
def message_get_subscribers(self, cr, uid, ids, context=None):
user_ids = self.message_get_subscribers_ids(cr, uid, ids, context=context)
users = self.pool.get('res.users').read(cr, uid, user_ids, fields=['id', 'name', 'avatar'], context=context)
return users
-
+
def message_is_subscriber(self, cr, uid, ids, user_id = None, context=None):
users = self.message_get_subscribers(cr, uid, ids, context=context)
sub_user_id = uid if user_id is None else user_id
if sub_user_id in [user['id'] for user in users]:
return True
return False
-
+
def message_subscribe(self, cr, uid, ids, user_ids = None, context=None):
subscription_obj = self.pool.get('mail.subscription')
to_subscribe_uids = [uid] if user_ids is None else user_ids
@@ -776,7 +776,7 @@ class mail_thread(osv.osv):
#------------------------------------------------------
# Notification API
#------------------------------------------------------
-
+
def message_remove_pushed_notifications(self, cr, uid, ids, msg_ids, remove_childs=True, context=None):
if context is None:
context = {}
diff --git a/addons/mail/res_partner.py b/addons/mail/res_partner.py
index 637922ff75c..174a5b479a9 100644
--- a/addons/mail/res_partner.py
+++ b/addons/mail/res_partner.py
@@ -24,11 +24,26 @@ from osv import fields
class res_partner(osv.osv):
""" Inherits partner and adds CRM information in the partner form """
- _inherit = 'res.partner'
+ _name = "res.partner"
+ _inherit = ['res.partner', 'mail.thread']
_columns = {
'emails': fields.one2many('mail.message', 'partner_id', 'Emails', readonly=True, domain=[('email_from','!=',False)]),
}
+ def message_load_ids(self, cr, uid, ids, limit=100, offset=0, domain=[], ascent=False, root_ids=[False], context=None):
+ """ Override of message_load_ids
+ partner discussion page :
+ - messages posted on res.partner, partner_id = partner.id
+ - messages directly sent to partner
+ """
+ msg_obj = self.pool.get('mail.message')
+ msg_ids = []
+ for partner in self.browse(cr, uid, ids, context=context):
+ msg_ids += msg_obj.search(cr, uid, ['|',('partner_id', '=', partner.id), '&', ('res_id', '=', partner.id), ('model', '=', self._name)] + domain,
+ limit=limit, offset=offset, context=context)
+ if (ascent): msg_ids = self._message_add_ancestor_ids(cr, uid, ids, msg_ids, root_ids, context=context)
+ return msg_ids
+
res_partner()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/mail/res_partner_view.xml b/addons/mail/res_partner_view.xml
index 21da7d735b7..892ee4e2b2f 100644
--- a/addons/mail/res_partner_view.xml
+++ b/addons/mail/res_partner_view.xml
@@ -12,6 +12,10 @@
False
+
+
+
@@ -27,4 +31,4 @@
-
\ No newline at end of file
+
diff --git a/addons/mail/res_users_view.xml b/addons/mail/res_users_view.xml
index 072f2fc3ba5..e489b616cd5 100644
--- a/addons/mail/res_users_view.xml
+++ b/addons/mail/res_users_view.xml
@@ -28,7 +28,8 @@
-
+
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js
index bed8faea5e0..1ec6fe32eb5 100644
--- a/addons/mail/static/src/js/mail.js
+++ b/addons/mail/static/src/js/mail.js
@@ -476,10 +476,12 @@ openerp.mail = function(session) {
// QWeb template to use when rendering the object
template: 'RecordThread',
- init: function() {
+ init: function() {
this._super.apply(this, arguments);
this.see_subscribers = true;
this.thread = null;
+ this.params = this.get_definition_options();
+ this.params.thread_level = this.params.thread_level || 0;
// datasets
this.ds = new session.web.DataSet(this, this.view.model);
this.ds_users = new session.web.DataSet(this, 'res.users');
@@ -520,12 +522,8 @@ openerp.mail = function(session) {
// create and render Thread widget
this.$element.find('div.oe_mail_recthread_left').empty();
if (this.thread) this.thread.destroy();
- // hack: for groups and users
- if (this.view.model == 'mail.group') thread_level = 1;
- if (this.view.model == 'res.users') thread_level = 1;
- else thread_level = 0;
this.thread = new mail.Thread(this, {'res_model': this.view.model, 'res_id': this.view.datarecord.id, 'uid': this.session.uid,
- 'thread_level': thread_level, 'show_post_comment': true, 'limit': 15});
+ 'thread_level': this.params.thread_level, 'show_post_comment': true, 'limit': 15});
var thread_done = this.thread.appendTo(this.$element.find('div.oe_mail_recthread_left'));
return fetch_sub_done && thread_done;
},
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index e8b809b2ec4..00d3d120e41 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -786,7 +786,7 @@
-
+
@@ -961,10 +961,10 @@
form
-
+
-
+
diff --git a/addons/mrp/procurement.py b/addons/mrp/procurement.py
index 4086a401f56..363f98e35d1 100644
--- a/addons/mrp/procurement.py
+++ b/addons/mrp/procurement.py
@@ -43,7 +43,7 @@ class procurement_order(osv.osv):
cr.execute('update procurement_order set message=%s where id=%s', (_('No BoM defined for this product !'), procurement.id))
for (id, name) in self.name_get(cr, uid, procurement.id):
message = _("Procurement '%s' has an exception: 'No BoM defined for this product !'") % name
- self.log(cr, uid, id, message)
+ self.message_append_note(cr, uid, [procurement.id], body=message, context=context)
return False
return True
@@ -97,6 +97,7 @@ class procurement_order(osv.osv):
})
res[procurement.id] = produce_id
self.write(cr, uid, [procurement.id], {'state': 'running'})
+ self.running_send_note(cr, uid, ids, context=context)
bom_result = production_obj.action_compute(cr, uid,
[produce_id], properties=[x.id for x in procurement.property_ids])
wf_service.trg_validate(uid, 'mrp.production', produce_id, 'button_confirm', cr)
diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml
index ec2ef72d40d..4f7a2b45e16 100644
--- a/addons/mrp_operations/mrp_operations_view.xml
+++ b/addons/mrp_operations/mrp_operations_view.xml
@@ -118,7 +118,7 @@
-
+
diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py
index aeab35be39b..2d0fac89f79 100644
--- a/addons/procurement/procurement.py
+++ b/addons/procurement/procurement.py
@@ -81,6 +81,7 @@ class procurement_order(osv.osv):
_name = "procurement.order"
_description = "Procurement"
_order = 'priority,date_planned desc'
+ _inherit = ['mail.thread']
_log_create = False
_columns = {
'name': fields.char('Reason', size=64, required=True, help='Procurement name.'),
@@ -103,7 +104,7 @@ class procurement_order(osv.osv):
" a make to order method."),
'note': fields.text('Note'),
- 'message': fields.char('Latest error', size=64, help="Exception occurred while computing procurement orders."),
+ 'message': fields.char('Latest error', size=124, help="Exception occurred while computing procurement orders."),
'state': fields.selection([
('draft','Draft'),
('confirmed','Confirmed'),
@@ -346,6 +347,7 @@ class procurement_order(osv.osv):
move_obj.action_confirm(cr, uid, [id], context=context)
self.write(cr, uid, [procurement.id], {'move_id': id, 'close_move': 1})
self.write(cr, uid, ids, {'state': 'confirmed', 'message': ''})
+ self.confirm_send_note(cr, uid, ids, context)
return True
def action_move_assigned(self, cr, uid, ids, context=None):
@@ -354,6 +356,7 @@ class procurement_order(osv.osv):
"""
self.write(cr, uid, ids, {'state': 'running',
'message': _('from stock: products assigned.')})
+ self.running_send_note(cr, uid, ids, context=None)
return True
def _check_make_to_stock_service(self, cr, uid, procurement, context=None):
@@ -383,7 +386,8 @@ class procurement_order(osv.osv):
message = _("Not enough stock.")
if message:
- self.log(cr, uid, procurement.id, _("Procurement '%s' is in exception: ") % (procurement.name) + message)
+ message = _("Procurement '%s' is in exception: ") % (procurement.name) + message
+ self.message_append_note(cr, uid, [procurement.id], body=message, context=context)
cr.execute('update procurement_order set message=%s where id=%s', (message, procurement.id))
return ok
@@ -393,6 +397,7 @@ class procurement_order(osv.osv):
"""
for procurement in self.browse(cr, uid, ids, context=context):
self.write(cr, uid, [procurement.id], {'state': 'running'})
+ self.running_send_note(cr, uid, ids, context=None)
return True
def action_produce_assign_product(self, cr, uid, ids, context=None):
@@ -427,6 +432,7 @@ class procurement_order(osv.osv):
if len(todo):
move_obj.write(cr, uid, todo, {'state': 'assigned'})
self.write(cr, uid, ids, {'state': 'cancel'})
+ self.cancel_send_note(cr, uid, ids, context=None)
wf_service = netsvc.LocalService("workflow")
for id in ids:
wf_service.trg_trigger(uid, 'procurement.order', id, cr)
@@ -451,6 +457,7 @@ class procurement_order(osv.osv):
@return: True
"""
res = self.write(cr, uid, ids, {'state': 'ready'})
+ self.ready_send_note(cr, uid, ids, context=None)
return res
def action_done(self, cr, uid, ids):
@@ -463,11 +470,39 @@ class procurement_order(osv.osv):
if procurement.close_move and (procurement.move_id.state <> 'done'):
move_obj.action_done(cr, uid, [procurement.move_id.id])
res = self.write(cr, uid, ids, {'state': 'done', 'date_close': time.strftime('%Y-%m-%d')})
+ self.done_send_note(cr, uid, ids, context=None)
wf_service = netsvc.LocalService("workflow")
for id in ids:
wf_service.trg_trigger(uid, 'procurement.order', id, cr)
return res
+ # ----------------------------------------
+ # OpenChatter methods and notifications
+ # ----------------------------------------
+
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(procurement_order, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been created ."), context=context)
+
+ def confirm_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been confirmed ."), context=context)
+
+ def running_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been set to running ."), context=context)
+
+ def ready_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been set to ready ."), context=context)
+
+ def cancel_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been cancelled ."), context=context)
+
+ def done_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Procurement has been done ."), context=context)
+
procurement_order()
class StockPicking(osv.osv):
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml
index c82032f2ee4..bc8b89e8823 100644
--- a/addons/procurement/procurement_view.xml
+++ b/addons/procurement/procurement_view.xml
@@ -46,7 +46,8 @@
procurement.order
form
-
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index 3c353e031f2..527e2825d7c 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -190,7 +190,7 @@
-
+
diff --git a/addons/project/project.py b/addons/project/project.py
index 10ab7987774..acb43ab0fad 100644
--- a/addons/project/project.py
+++ b/addons/project/project.py
@@ -514,7 +514,6 @@ users()
class task(osv.osv):
_name = "project.task"
_description = "Task"
- _log_create = True
_date_name = "date_start"
_inherit = ['ir.needaction_mixin', 'mail.thread']
@@ -1104,7 +1103,7 @@ class task(osv.osv):
result = True
else:
result = super(task,self).write(cr, uid, ids, vals, context=context)
- if ('type_id' in vals) or ('remaining_hours' in vals) or ('user_id' in vals) or ('state' in vals) or ('kanban_state' in vals):
+ if ('type_id' in vals) or ('remaining_hours' in vals) or ('user_id' in vals) or ('kanban_state' in vals):
self._store_history(cr, uid, ids, context=context)
self.state_change_send_note(cr, uid, ids, context)
return result
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index 0c9a92ecc31..c1c1f7404f8 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -101,7 +101,7 @@
-
+
@@ -403,7 +403,7 @@
-
+
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 35a256be17e..b887efa25a0 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -113,7 +113,7 @@
-
+
diff --git a/addons/project_mailgate/__openerp__.py b/addons/project_mailgate/__openerp__.py
index f2ac59c9fb1..028fbd8f807 100644
--- a/addons/project_mailgate/__openerp__.py
+++ b/addons/project_mailgate/__openerp__.py
@@ -46,7 +46,6 @@ There are two common alternatives to configure the mailbox integration:
""",
"init_xml": [],
"update_xml": ["security/ir.model.access.csv",
- "project_mailgate_view.xml",
],
'demo_xml': [
],
diff --git a/addons/project_mailgate/project_mailgate.py b/addons/project_mailgate/project_mailgate.py
index 9715a32c151..8fe3b1e20fc 100644
--- a/addons/project_mailgate/project_mailgate.py
+++ b/addons/project_mailgate/project_mailgate.py
@@ -26,21 +26,14 @@ import binascii
class project_tasks(osv.osv):
- _name = "project.task"
- _inherit = ['mail.thread','project.task']
-
- _columns = {
- 'message_ids': fields.one2many('mail.message', 'res_id', 'Messages', domain=[('model','=',_name)], readonly=True),
- }
+ _inherit = 'project.task'
def message_new(self, cr, uid, msg, custom_values=None, context=None):
res_id = super(project_tasks,self).message_new(cr, uid, msg, custom_values=custom_values, context=context)
subject = msg.get('subject')
- body = msg.get('body_text')
msg_from = msg.get('from')
data = {
'name': subject,
- 'description': body,
'planned_hours': 0.0,
}
data.update(self.message_partner_by_email(cr, uid, msg_from))
@@ -48,12 +41,9 @@ class project_tasks(osv.osv):
return res_id
def message_update(self, cr, uid, ids, msg, data={}, default_act='pending'):
- data.update({
- 'description': msg['body_text'],
- })
act = 'do_'+default_act
- maps = {
+ maps = {
'cost':'planned_hours',
}
for line in msg['body_text'].split('\n'):
@@ -73,7 +63,7 @@ class project_tasks(osv.osv):
self.write(cr, uid, ids, data, context=context)
getattr(self,act)(cr, uid, ids, context=context)
- self.message_append_dict(cr, uid, [res_id], msg, context=context)
+ self.message_append_note(cr, uid, [res_id], msg, context=context)
return True
def message_thread_followers(self, cr, uid, ids, context=None):
@@ -84,37 +74,5 @@ class project_tasks(osv.osv):
followers[task.id] = filter(None, task_followers)
return followers
- def do_draft(self, cr, uid, ids, context=None):
- res = super(project_tasks, self).do_draft(cr, uid, ids, context)
- tasks = self.browse(cr, uid, ids, context=context)
- self.message_append(cr, uid, tasks, _('Draft'), context=context)
- return res
-
- def do_open(self, cr, uid, ids, context=None):
- res = super(project_tasks, self).do_open(cr, uid, ids, context)
- tasks = self.browse(cr, uid, ids, context=context)
- self.message_append(cr, uid, tasks, _('Open'), context=context)
- return res
-
- def do_pending(self, cr, uid, ids, context=None):
- res = super(project_tasks, self).do_pending(cr, uid, ids, context)
- tasks = self.browse(cr, uid, ids, context=context)
- self.message_append(cr, uid, tasks, _('Pending'), context=context)
- return res
-
- def do_close(self, cr, uid, ids, context=None):
- res = super(project_tasks, self).do_close(cr, uid, ids, context)
- tasks = self.browse(cr, uid, ids, context=context)
- for task in tasks:
- if task.state == 'done':
- self.message_append(cr, uid, tasks, _('Done'), context=context)
- return res
-
- def do_cancel(self, cr, uid, ids, context=None):
- res = super(project_tasks, self).do_cancel(cr, uid, ids, context=context)
- tasks = self.browse(cr, uid, ids, context=context)
- self.message_append(cr, uid, tasks, _('Cancel'), context=context)
- return res
-
project_tasks()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/project_mailgate/project_mailgate_view.xml b/addons/project_mailgate/project_mailgate_view.xml
deleted file mode 100644
index ea9855e9ec1..00000000000
--- a/addons/project_mailgate/project_mailgate_view.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- task.mailgate.form
- project.task
- form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/addons/project_messages/__init__.py b/addons/project_messages/__init__.py
deleted file mode 100644
index 49b83129fe3..00000000000
--- a/addons/project_messages/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2009 Tiny SPRL ().
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
-
-import project_messages
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/project_messages/__openerp__.py b/addons/project_messages/__openerp__.py
deleted file mode 100644
index 9185e16fdec..00000000000
--- a/addons/project_messages/__openerp__.py
+++ /dev/null
@@ -1,48 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2009 Tiny SPRL ().
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
-
-
-{
- "name": "In-Project Messaging System",
- "version": "1.0",
- "images": ["images/project_message.jpeg"],
- "depends": ["project"],
- "author": "OpenERP SA",
- "category": "Project Management",
- 'complexity': "easy",
- "description": """
-This module provides the functionality to send messages within a project.
-=========================================================================
-
-A user can send messages individually to other user. He can even broadcast
-it to all the users.
- """,
- 'website': 'http://www.openerp.com',
- 'init_xml': [],
- 'update_xml': ['security/ir.model.access.csv',
- 'project_messages_view.xml'],
- 'demo_xml': [],
- 'installable': True,
- 'auto_install': False,
- 'certificate' : '00747329574689027469',
-}
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/project_messages/i18n/ar.po b/addons/project_messages/i18n/ar.po
deleted file mode 100644
index 1136dbba8e4..00000000000
--- a/addons/project_messages/i18n/ar.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Arabic translation for openobject-addons
-# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2012.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-01-12 21:10+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Arabic \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "إلى"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "من"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "تجميع حسب..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "تاريخ الإنشاء"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "الرسائل"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "مشروع"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "اليوم"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "رسالة"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
diff --git a/addons/project_messages/i18n/bg.po b/addons/project_messages/i18n/bg.po
deleted file mode 100644
index e1bf2b50d76..00000000000
--- a/addons/project_messages/i18n/bg.po
+++ /dev/null
@@ -1,111 +0,0 @@
-# Bulgarian translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-03-27 14:39+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Bulgarian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "До"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "От"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Групиране по..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Дата на създаване"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Съобщения"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Проект"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Днес"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Съобщение до"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Съобщение"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Съобщение от"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Съобщения по проект"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Грешка! Начална дата на пректа, трябва да бъде крайния срок на проекта."
diff --git a/addons/project_messages/i18n/ca.po b/addons/project_messages/i18n/ca.po
deleted file mode 100644
index d3c1a00a363..00000000000
--- a/addons/project_messages/i18n/ca.po
+++ /dev/null
@@ -1,135 +0,0 @@
-# Catalan translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-08-17 20:53+0000\n"
-"Last-Translator: mgaja (GrupoIsep.com) \n"
-"Language-Team: Catalan \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Fins"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "projecte.missatges"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Per"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupa per..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data de creació"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Mantingueu aquest buit per transmetre el missatge."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Missatges"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projecte"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de missatgeria intern permet una comunicació eficient i permet el "
-"seguiment entre els membres del projecte. Els missatges s'emmagatzemen en el "
-"sistema i es pot utilitzar per a l'anàlisi posterior."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Avui"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Missatge a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Error! No podeu assignar un escalat al mateix projecte."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Missatge"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Missatge de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Missatge de projectes"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Error! La data d'inici del projecte ha de ser anterior a la data final del "
-"projecte."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Aquest mòdul proporciona la funcionalitat d'enviar missatges en un "
-#~ "projecte.\n"
-#~ " Un usuari pot enviar missatges individualment a un altre usuari. També "
-#~ "pot enviar-los\n"
-#~ " a tots els usuaris del projecte.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistema de missatges en projectes"
diff --git a/addons/project_messages/i18n/da.po b/addons/project_messages/i18n/da.po
deleted file mode 100644
index 43254c31a75..00000000000
--- a/addons/project_messages/i18n/da.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Danish translation for openobject-addons
-# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2012.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-01-27 06:33+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Danish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr ""
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
diff --git a/addons/project_messages/i18n/de.po b/addons/project_messages/i18n/de.po
deleted file mode 100644
index a7c443167bf..00000000000
--- a/addons/project_messages/i18n/de.po
+++ /dev/null
@@ -1,134 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * project_messages
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-12 15:03+0000\n"
-"Last-Translator: Thorsten Vocks (OpenBig.org) \n"
-"Language-Team: German \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "An"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Von"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Gruppiere je ..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Erzeugungsdatum"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Feld leer lassen, um Nachricht allgemein zu veröffentlichen."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mitteilungen"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekt"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Ein integriertes Benachrichtungssystem ermöglicht eine effiziente und "
-"nachvollziehbare Kommunikation der Projektmitarbeiter. Die "
-"Benachrichtigungen werden im System gespeichert und können für eine "
-"Nachbetrachtung genutzt werden."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Heute"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Nachricht An"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Fehler ! Sie können keine Eskalation in dasselbe Projekt vornehmen!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mitteilung"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mitteilung von"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Projekt Mitteilungen"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Fehler ! Projekt Beginn muss vor dem Ende Datum liegen."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Dieses Modul ermöglicht den Versand von Nachrichten zu einem Projekt.\n"
-#~ " Ein Benutzer kann persönliche Nachrichten an andere Benutzer senden. "
-#~ "Alternativ kann eine Benachrichtigung\n"
-#~ " auch allgemein erfolgen und über das Nachrichtensystem allen Benutzern "
-#~ "zur Verfügung gestellt werden.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Integriertes Projekt Nachrichten System"
diff --git a/addons/project_messages/i18n/es.po b/addons/project_messages/i18n/es.po
deleted file mode 100644
index 9e66fa39241..00000000000
--- a/addons/project_messages/i18n/es.po
+++ /dev/null
@@ -1,136 +0,0 @@
-# Spanish translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-16 18:05+0000\n"
-"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
-"\n"
-"Language-Team: Spanish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Fecha de creación"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Mantenga este vacío para transmitir el mensaje."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensajes"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proyecto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de mensajería interno permite una comunicación eficiente y "
-"trazable entre los miembros del proyecto. Los mensajes se almacenan en el "
-"sistema y pueden usarse para un análisis posterior."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoy"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensaje a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "¡Error! No puede asignar un escalado al mismo proyecto."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mensaje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensajes de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensajes de proyectos"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"¡Error! La fecha de inicio del proyecto debe ser anterior a la fecha final "
-"del proyecto."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistema de mensajes en proyectos"
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Este módulo proporciona la funcionalidad de enviar mensajes en un "
-#~ "proyecto.\n"
-#~ " Un usuario puede enviar mensajes individualmente a otro usuario. También "
-#~ "puede enviarlos\n"
-#~ " a todos los usuarios del proyecto.\n"
-#~ " "
diff --git a/addons/project_messages/i18n/es_CR.po b/addons/project_messages/i18n/es_CR.po
deleted file mode 100644
index 37b221562fb..00000000000
--- a/addons/project_messages/i18n/es_CR.po
+++ /dev/null
@@ -1,137 +0,0 @@
-# Spanish translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-02-17 00:31+0000\n"
-"Last-Translator: Carlos Vásquez (CLEARCORP) "
-"\n"
-"Language-Team: Spanish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-18 04:59+0000\n"
-"X-Generator: Launchpad (build 14814)\n"
-"Language: es\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Fecha de creación"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Mantenga este vacío para transmitir el mensaje."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensajes"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proyecto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de mensajería interno permite una comunicación eficiente y "
-"trazable entre los miembros del proyecto. Los mensajes se almacenan en el "
-"sistema y pueden usarse para un análisis posterior."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoy"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensaje a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "¡Error! No puede asignar un escalado al mismo proyecto."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mensaje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensajes de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensajes de proyectos"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"¡Error! La fecha de inicio del proyecto debe ser anterior a la fecha final "
-"del proyecto."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistema de mensajes en proyectos"
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Este módulo proporciona la funcionalidad de enviar mensajes en un "
-#~ "proyecto.\n"
-#~ " Un usuario puede enviar mensajes individualmente a otro usuario. También "
-#~ "puede enviarlos\n"
-#~ " a todos los usuarios del proyecto.\n"
-#~ " "
diff --git a/addons/project_messages/i18n/es_MX.po b/addons/project_messages/i18n/es_MX.po
deleted file mode 100644
index 398d311d7d9..00000000000
--- a/addons/project_messages/i18n/es_MX.po
+++ /dev/null
@@ -1,147 +0,0 @@
-# Spanish translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2011-01-11 11:15+0000\n"
-"PO-Revision-Date: 2011-01-16 18:05+0000\n"
-"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
-"\n"
-"Language-Team: Spanish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2011-09-05 05:50+0000\n"
-"X-Generator: Launchpad (build 13830)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-msgid "Communication Messages"
-msgstr "Mensajes de comunicación"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Fecha de creación"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoy"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Mantenga este vacío para transmitir el mensaje."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensajes"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proyecto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de mensajería interno permite una comunicación eficiente y "
-"trazable entre los miembros del proyecto. Los mensajes se almacenan en el "
-"sistema y pueden usarse para un análisis posterior."
-
-#. module: project_messages
-#: model:ir.module.module,description:project_messages.module_meta_information
-msgid ""
-"\n"
-" This module provides the functionality to send messages within a "
-"project.\n"
-" A user can send messages individually to other user. He can even "
-"broadcast\n"
-" it to all the users.\n"
-" "
-msgstr ""
-"\n"
-" Este módulo proporciona la funcionalidad de enviar mensajes en un "
-"proyecto.\n"
-" Un usuario puede enviar mensajes individualmente a otro usuario. También "
-"puede enviarlos\n"
-" a todos los usuarios del proyecto.\n"
-" "
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensaje a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "¡Error! No puede asignar un escalado al mismo proyecto."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-#: view:project.project:0
-msgid "Message"
-msgstr "Mensaje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensajes de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensajes de proyectos"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"¡Error! La fecha de inicio del proyecto debe ser anterior a la fecha final "
-"del proyecto."
-
-#. module: project_messages
-#: model:ir.module.module,shortdesc:project_messages.module_meta_information
-msgid "In-Project Messaging System"
-msgstr "Sistema de mensajes en proyectos"
diff --git a/addons/project_messages/i18n/es_VE.po b/addons/project_messages/i18n/es_VE.po
deleted file mode 100644
index 398d311d7d9..00000000000
--- a/addons/project_messages/i18n/es_VE.po
+++ /dev/null
@@ -1,147 +0,0 @@
-# Spanish translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2011-01-11 11:15+0000\n"
-"PO-Revision-Date: 2011-01-16 18:05+0000\n"
-"Last-Translator: Jordi Esteve (www.zikzakmedia.com) "
-"\n"
-"Language-Team: Spanish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2011-09-05 05:50+0000\n"
-"X-Generator: Launchpad (build 13830)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-msgid "Communication Messages"
-msgstr "Mensajes de comunicación"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Fecha de creación"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoy"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Mantenga este vacío para transmitir el mensaje."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensajes"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proyecto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de mensajería interno permite una comunicación eficiente y "
-"trazable entre los miembros del proyecto. Los mensajes se almacenan en el "
-"sistema y pueden usarse para un análisis posterior."
-
-#. module: project_messages
-#: model:ir.module.module,description:project_messages.module_meta_information
-msgid ""
-"\n"
-" This module provides the functionality to send messages within a "
-"project.\n"
-" A user can send messages individually to other user. He can even "
-"broadcast\n"
-" it to all the users.\n"
-" "
-msgstr ""
-"\n"
-" Este módulo proporciona la funcionalidad de enviar mensajes en un "
-"proyecto.\n"
-" Un usuario puede enviar mensajes individualmente a otro usuario. También "
-"puede enviarlos\n"
-" a todos los usuarios del proyecto.\n"
-" "
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensaje a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "¡Error! No puede asignar un escalado al mismo proyecto."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-#: view:project.project:0
-msgid "Message"
-msgstr "Mensaje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensajes de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensajes de proyectos"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"¡Error! La fecha de inicio del proyecto debe ser anterior a la fecha final "
-"del proyecto."
-
-#. module: project_messages
-#: model:ir.module.module,shortdesc:project_messages.module_meta_information
-msgid "In-Project Messaging System"
-msgstr "Sistema de mensajes en proyectos"
diff --git a/addons/project_messages/i18n/fi.po b/addons/project_messages/i18n/fi.po
deleted file mode 100644
index 13e93df2e85..00000000000
--- a/addons/project_messages/i18n/fi.po
+++ /dev/null
@@ -1,117 +0,0 @@
-# Finnish translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-06-09 05:56+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Finnish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Vastaanottaja"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Lähettäjä"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Ryhmittely.."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Luontipäivämäärä"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Jätä tämä tyhjäksi niin viesti jaetaan kaikille"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Viestit"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekti"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Projektin sisäinen viestintäjärjestelmä mahdollistaa tehokkaan ja "
-"seurattavan kommunikaation projektiryhmän jäsenten välillä. Viestit "
-"tallennetaan järjestelmään ja niitä voidaan käyttää "
-"jälkikäiteisarvioinneissa."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Tänään"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Viestin vastaanottaja"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Virhe! Et voi määritellä eskalointia samalle projektille!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Viesti"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Viestin lähettäjä"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Projektin viestit"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Virhe: projektin alkupäivä tulee olla aikaisempi kuin loppupäivä."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Projektin sisäinen viestintäjärjestelmä"
diff --git a/addons/project_messages/i18n/fr.po b/addons/project_messages/i18n/fr.po
deleted file mode 100644
index 96ebc0365bb..00000000000
--- a/addons/project_messages/i18n/fr.po
+++ /dev/null
@@ -1,133 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * project_messages
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-13 19:55+0000\n"
-"Last-Translator: lholivier \n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "À"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Regrouper par..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Date de création"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Laisser vide pour diffuser le message"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Messages"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projet"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un système de messagerie interne au projet permet une communication efficace "
-"et traçable entre les membres du projet. Les messages sont stockés dans le "
-"système et peuvent être utilisés pour une analyse ultérieure."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Aujourd'hui"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Destinataire"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Erreur ! On ne peut pas attribuer une escalade sur le même projet !"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Message"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Message de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Messages du projet"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Erreur! La date de début du projet doit être antérieure à la date de fin du "
-"projet."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Système de messagerie interne aux projets"
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Ce module permet d'envoyer des messages au sein d'un projet.\n"
-#~ " Un utilisateur peut envoyer des messages individuellement à un autre "
-#~ "utilisateur. Il peut\n"
-#~ " aussi les diffuser à tous les utilisateurs.\n"
-#~ " "
diff --git a/addons/project_messages/i18n/gl.po b/addons/project_messages/i18n/gl.po
deleted file mode 100644
index 49c1a73b284..00000000000
--- a/addons/project_messages/i18n/gl.po
+++ /dev/null
@@ -1,133 +0,0 @@
-# Galician translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-03-05 01:16+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Galician \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data de creación"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Manteña este campo baleiro para transmitir a mensaxe."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensaxes"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proxecto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistema de mensaxería interno permite unha comunicación eficiente e "
-"trazable entre os membros do proxecto. As mensaxes almacénanse no sistema e "
-"pódense usar para unha análise posterior."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoxe"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensaxe para"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Erro! Non pode asignar escalada ó mesmo proxecto."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mensaxe"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensaxes de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensaxes de proxectos"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Erro! A data de inicio do proxecto debe ser anterior á data final do "
-"proxecto."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Este módulo proporciona a funcionalidade de enviar mensaxes nun "
-#~ "proxecto.Un usuario pode enviar mensaxes individualmente a outro usuario. "
-#~ "Tamén pode envialos a tódolos usuarios do proxecto.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistema de mensaxes en proxectos"
diff --git a/addons/project_messages/i18n/hr.po b/addons/project_messages/i18n/hr.po
deleted file mode 100644
index 8cbed2bb6f1..00000000000
--- a/addons/project_messages/i18n/hr.po
+++ /dev/null
@@ -1,133 +0,0 @@
-# Croatian translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-12-12 08:50+0000\n"
-"Last-Translator: Tomislav Bosnjakovic \n"
-"Language-Team: Croatian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Za"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Od"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupiraj po..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Datum kreiranja"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Poruke"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekt"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Sustav poruka unutar projekta omogućava efikasnu i slijedivu komunikaciju "
-"između članova projekta. Poruke se čuvaju u sustavu i mogu se koristiti za "
-"kasniju analizu."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Danas"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Poruka za"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Greška! Ne možete dodjeliti eskalaciju istom projektu!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Poruka"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Poruka od"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Poruke projekta"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Greška! Početni datum projekta mora biti manji od završnog datuma projekta."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Modul omogućava funkcionalnost slanja poruka unutar projekta.\n"
-#~ " Korisnik može slati pojedinačne poruke drugom korisniku. Može čak i "
-#~ "obavjestiti\n"
-#~ " sve korisnike.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Interni sustav poruka projekta"
diff --git a/addons/project_messages/i18n/hu.po b/addons/project_messages/i18n/hu.po
deleted file mode 100644
index c80fe0f2a18..00000000000
--- a/addons/project_messages/i18n/hu.po
+++ /dev/null
@@ -1,112 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * project_messages
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
-"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-25 13:26+0000\n"
-"Last-Translator: NOVOTRADE RENDSZERHÁZ ( novotrade.hu ) "
-"\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Csoportosítás..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Létrehozás dátuma"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Üzenetek"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekt"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Ma"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Üzenet"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Projektüzenetek"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Hiba! A projekt kezdő dátumának előbbinek kell lennie, mint a projekt "
-"befejező dátumának."
diff --git a/addons/project_messages/i18n/it.po b/addons/project_messages/i18n/it.po
deleted file mode 100644
index 9a737a2e6ee..00000000000
--- a/addons/project_messages/i18n/it.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Italian translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-05-06 10:48+0000\n"
-"Last-Translator: simone.sandri \n"
-"Language-Team: Italian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "A"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Da"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Raggruppa per..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data creazione"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Lasciare vuoto per inviare il messaggio broadcast (a tutti)."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Messaggi"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Progetto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Oggi"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Messaggio a"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Messaggio"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Messaggio da"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Messaggi progetto"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
diff --git a/addons/project_messages/i18n/lv.po b/addons/project_messages/i18n/lv.po
deleted file mode 100644
index a7733eabe19..00000000000
--- a/addons/project_messages/i18n/lv.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Latvian translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-12-31 10:25+0000\n"
-"Last-Translator: OpenERP Administrators \n"
-"Language-Team: Latvian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Kam"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "No"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupēt pēc..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Izveidošanas datums"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Ziņojumi"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekts"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Šodien"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Kļūda! Nedrīkst piešķirt eskalāciju uz to pašu projektu!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Ziņa"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Projekta ziņojumi"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Kļūda! Projekta sākuma datumam jābūt mazākam nekā beigu."
diff --git a/addons/project_messages/i18n/mn.po b/addons/project_messages/i18n/mn.po
deleted file mode 100644
index 8c42384fdcb..00000000000
--- a/addons/project_messages/i18n/mn.po
+++ /dev/null
@@ -1,113 +0,0 @@
-# Mongolian translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-12-21 13:52+0000\n"
-"Last-Translator: OpenERP Administrators \n"
-"Language-Team: Mongolian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Хэнд"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Хэнээс"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Бүлэглэвэл"
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Үүсгэсэн Огноо"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Мессежийг дамжуулахын тулд үүнийг хоосон орхих"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Мессежүүд"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Төсөл"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Өнөөдөр"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Хэнд"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Алдаа! Ижил төсөлд нэмэгдүүлэлтийг олгох боломжгүй."
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Мессеж"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Хэнээс"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Төслийн Мессежүүд"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Алдаа! төслийн эхлэх огноо дуусах огноогоос бага байх ёстой."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Төслийн дотоод Мессежний Систем"
diff --git a/addons/project_messages/i18n/nl.po b/addons/project_messages/i18n/nl.po
deleted file mode 100644
index 42b1abbd7ce..00000000000
--- a/addons/project_messages/i18n/nl.po
+++ /dev/null
@@ -1,133 +0,0 @@
-# Dutch translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-19 07:48+0000\n"
-"Last-Translator: Douwe Wullink (Dypalio) \n"
-"Language-Team: Dutch \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Aan"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Van"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Groepeer op..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Datum gemaakt"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Laat dit leeg om het bericht om te roepen."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Berichten"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Project"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Een in-project berichten systeem maakt efficiënte en volgbare communicatie "
-"tussen projectleden mogelijk. De berichten worden opgeslagen in het systeem "
-"en kunnen voor achteraf analyse worden gebruikt.."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Vandaag"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Bericht aan"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Fout! U kunt geen escalatie toewijzen aan hetzelfde project!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Bericht"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Bericht van"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Project berichten"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Fout! Project startdatum moet liggen voor project einddatum."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Deze module biedt de functionaliteit om breichten binnen een project te "
-#~ "sturen.\n"
-#~ " Een gebruiker kan berichten individueel versturen naar een andere "
-#~ "gebruiker of \n"
-#~ " kan ze zelfs omroepen naar alle gebruikers.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "In-project berichten systeem"
diff --git a/addons/project_messages/i18n/pl.po b/addons/project_messages/i18n/pl.po
deleted file mode 100644
index 06be24f8e2a..00000000000
--- a/addons/project_messages/i18n/pl.po
+++ /dev/null
@@ -1,113 +0,0 @@
-# Polish translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-11-04 09:04+0000\n"
-"Last-Translator: OpenERP Administrators \n"
-"Language-Team: Polish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Do"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Od"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupuj wg..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data utworzenia"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Pozostaw puste do rozpowszechnienia wiadomości"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Wiadomości"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekt"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Dziś"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Wiadomość do"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Wiadomość"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Wiadomość od"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Wiadomości projektu"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "System wiadomości wewnątrzprojektowych"
diff --git a/addons/project_messages/i18n/project_messages.pot b/addons/project_messages/i18n/project_messages.pot
deleted file mode 100644
index 4210adc850c..00000000000
--- a/addons/project_messages/i18n/project_messages.pot
+++ /dev/null
@@ -1,106 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# * project_messages
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.1rc1\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-02-08 00:37+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr ""
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid "An in-project messaging system allows for an efficient and trackable communication between project members. The messages are stored in the system and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-
diff --git a/addons/project_messages/i18n/pt.po b/addons/project_messages/i18n/pt.po
deleted file mode 100644
index c400b18455d..00000000000
--- a/addons/project_messages/i18n/pt.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Portuguese translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-12-09 11:39+0000\n"
-"Last-Translator: OpenERP Administrators \n"
-"Language-Team: Portuguese \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data de criação"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensagens"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projeto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensagem para"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mensagem"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensagem de"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
diff --git a/addons/project_messages/i18n/pt_BR.po b/addons/project_messages/i18n/pt_BR.po
deleted file mode 100644
index 2b9456eae32..00000000000
--- a/addons/project_messages/i18n/pt_BR.po
+++ /dev/null
@@ -1,113 +0,0 @@
-# Brazilian Portuguese translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-01-18 11:14+0000\n"
-"Last-Translator: Emerson \n"
-"Language-Team: Brazilian Portuguese \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Para"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Agrupar Por..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data de Criação"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Deixe isto vazio para transmitir a mensagem."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mensagens"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projeto"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Hoje"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mensagem Para"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Erro! Você não pode atribuir escalas para o mesmo projeto!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mensagem"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mensagem De"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mensagens do Projeto"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Erro! A data inicial do projeto precisa ser menor que a data final."
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistema de Mensagens Em-Projeto"
diff --git a/addons/project_messages/i18n/ro.po b/addons/project_messages/i18n/ro.po
deleted file mode 100644
index f4120d1ac4b..00000000000
--- a/addons/project_messages/i18n/ro.po
+++ /dev/null
@@ -1,135 +0,0 @@
-# Romanian translation for openobject-addons
-# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2012.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-01-13 11:57+0000\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: Romanian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Către"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages (proiect.mesaje)"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "De la"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupează după..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Data creării"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Lăsati necompletat pentru a transmite mesajul."
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mesaje"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proiect"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-"Un sistem de mesaje in-proiect permite o comunicare eficientă, care poate fi "
-"urmărită, intre membrii proiectului. Mesajele sunt stocate in sistem si pot "
-"fi folosite pentru o analiză ulterioară."
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Astăzi"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Mesaj către"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Eroare! Nu puteti atribui intensificare aceluiasi proiect!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mesaj"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mesaj de la"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "Mesaje Proiect"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-"Eroare! data de inceput a proiectului trebuie să fie mai mică decat data de "
-"sfarsit a proiectului."
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Acest modul oferă functionalitatea de a trimite mesaje in cadrul unui "
-#~ "proiect.\n"
-#~ " Un utilizator poate trimite mesaje individual altui utilizator. El il "
-#~ "poate chiar transmite\n"
-#~ " tuturor utilizatorilor.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Sistemul de Mesaje in Proiect"
diff --git a/addons/project_messages/i18n/sr.po b/addons/project_messages/i18n/sr.po
deleted file mode 100644
index 74dc50cf20f..00000000000
--- a/addons/project_messages/i18n/sr.po
+++ /dev/null
@@ -1,130 +0,0 @@
-# Serbian translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-10-15 09:07+0000\n"
-"Last-Translator: OpenERP Administrators \n"
-"Language-Team: Serbian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Do"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Od"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupirano po"
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr ""
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Ostavi ovo praznim da pratis poruke"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Poruke"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekat"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Poruka za"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Poruka"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Poruka od"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Ovaj modul obezbedjuje funkcionalnost da saljete poruke vezane za "
-#~ "projekat.\n"
-#~ " Korisnik moze slati poruke individualno drugom korisniku, Moze ih cak "
-#~ "proslediti\n"
-#~ " svim korisnicima.\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Projektni sistem dopisivanja"
diff --git a/addons/project_messages/i18n/sr@latin.po b/addons/project_messages/i18n/sr@latin.po
deleted file mode 100644
index 8adf4bb1b02..00000000000
--- a/addons/project_messages/i18n/sr@latin.po
+++ /dev/null
@@ -1,130 +0,0 @@
-# Serbian translation for openobject-addons
-# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2010-12-23 15:08+0000\n"
-"Last-Translator: Olivier Dony (OpenERP) \n"
-"Language-Team: Serbian \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Do"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr ""
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Od"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupirano po"
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr ""
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "Ostavi ovo praznim da pratis poruke"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Poruke"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Projekat"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "Poruka za"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Poruka"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Poruka od"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr ""
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "Projektni sistem dopisivanja"
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " Ovaj modul obezbedjuje funkcionalnost da saljete poruke vezane za "
-#~ "projekat.\n"
-#~ " Korisnik moze slati poruke individualno drugom korisniku, Moze ih cak "
-#~ "proslediti\n"
-#~ " svim korisnicima.\n"
-#~ " "
diff --git a/addons/project_messages/i18n/tr.po b/addons/project_messages/i18n/tr.po
deleted file mode 100644
index 593f3346b7b..00000000000
--- a/addons/project_messages/i18n/tr.po
+++ /dev/null
@@ -1,110 +0,0 @@
-# Turkish translation for openobject-addons
-# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2012.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2012-01-25 17:34+0000\n"
-"Last-Translator: Ahmet Altınışık \n"
-"Language-Team: Turkish \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "Kime"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "Kimden"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "Grupla..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "Oluşturulma Tarihi"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr ""
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "Mesajlar"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "Proje"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr ""
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "Bugün"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "Hata! Aynı projeye yükselme atayamazsınız!"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "Mesaj"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "Mesajı Gönderen"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr ""
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "Hata! Proje başlangıç tarihi bitiş tarihinden sonra olamaz."
diff --git a/addons/project_messages/i18n/zh_CN.po b/addons/project_messages/i18n/zh_CN.po
deleted file mode 100644
index ddb70d2ae85..00000000000
--- a/addons/project_messages/i18n/zh_CN.po
+++ /dev/null
@@ -1,127 +0,0 @@
-# Chinese (Simplified) translation for openobject-addons
-# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
-# This file is distributed under the same license as the openobject-addons package.
-# FIRST AUTHOR , 2011.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: openobject-addons\n"
-"Report-Msgid-Bugs-To: FULL NAME \n"
-"POT-Creation-Date: 2012-02-08 00:37+0000\n"
-"PO-Revision-Date: 2011-07-02 15:15+0000\n"
-"Last-Translator: Wei \"oldrev\" Li \n"
-"Language-Team: Chinese (Simplified) \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2012-02-09 07:00+0000\n"
-"X-Generator: Launchpad (build 14763)\n"
-
-#. module: project_messages
-#: field:project.messages,to_id:0
-msgid "To"
-msgstr "收件人"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_messages
-msgid "project.messages"
-msgstr "project.messages"
-
-#. module: project_messages
-#: field:project.messages,from_id:0
-msgid "From"
-msgstr "发件人"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Group By..."
-msgstr "分组..."
-
-#. module: project_messages
-#: field:project.messages,create_date:0
-msgid "Creation Date"
-msgstr "创建日期"
-
-#. module: project_messages
-#: help:project.messages,to_id:0
-msgid "Keep this empty to broadcast the message."
-msgstr "不输入则广播此消息"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.act_project_messages
-#: model:ir.actions.act_window,name:project_messages.action_view_project_editable_messages_tree
-#: view:project.messages:0
-#: view:project.project:0
-#: field:project.project,message_ids:0
-msgid "Messages"
-msgstr "消息"
-
-#. module: project_messages
-#: model:ir.model,name:project_messages.model_project_project
-#: view:project.messages:0
-#: field:project.messages,project_id:0
-msgid "Project"
-msgstr "项目"
-
-#. module: project_messages
-#: model:ir.actions.act_window,help:project_messages.messages_form
-msgid ""
-"An in-project messaging system allows for an efficient and trackable "
-"communication between project members. The messages are stored in the system "
-"and can be used for post analysis."
-msgstr "一个项目内的消息系统,以便项目成员间内部高效可控地沟通。消息存储在系统中可以做历史记录分析。"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Today"
-msgstr "今天"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message To"
-msgstr "收件人"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! You cannot assign escalation to the same project!"
-msgstr "不能升级到相同的项目"
-
-#. module: project_messages
-#: view:project.messages:0
-#: field:project.messages,message:0
-msgid "Message"
-msgstr "消息"
-
-#. module: project_messages
-#: view:project.messages:0
-msgid "Message From"
-msgstr "发件人"
-
-#. module: project_messages
-#: model:ir.actions.act_window,name:project_messages.messages_form
-#: model:ir.ui.menu,name:project_messages.menu_messages_form
-#: view:project.messages:0
-msgid "Project Messages"
-msgstr "项目消息"
-
-#. module: project_messages
-#: constraint:project.project:0
-msgid "Error! project start-date must be lower then project end-date."
-msgstr "错误!项目的开始日期必须小于项目的结束日期"
-
-#~ msgid ""
-#~ "\n"
-#~ " This module provides the functionality to send messages within a "
-#~ "project.\n"
-#~ " A user can send messages individually to other user. He can even "
-#~ "broadcast\n"
-#~ " it to all the users.\n"
-#~ " "
-#~ msgstr ""
-#~ "\n"
-#~ " 此模块允许在项目内部发送消息。\n"
-#~ "用户可以给另一个用户发消息。也可以对所有成员广播消息。\n"
-#~ " "
-
-#~ msgid "In-Project Messaging System"
-#~ msgstr "项目内部消息系统"
diff --git a/addons/project_messages/project_messages.py b/addons/project_messages/project_messages.py
deleted file mode 100644
index 93f83d62f4a..00000000000
--- a/addons/project_messages/project_messages.py
+++ /dev/null
@@ -1,63 +0,0 @@
-# -*- coding: utf-8 -*-
-##############################################################################
-#
-# OpenERP, Open Source Management Solution
-# Copyright (C) 2004-2009 Tiny SPRL ().
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
-
-from osv import fields, osv
-import netsvc
-
-class messages(osv.osv):
- """
- Message from one user to another within a project
- """
- _name = 'project.messages'
- logger = netsvc.Logger()
-
- _columns = {
- 'create_date': fields.datetime('Creation Date', readonly=True),
- 'from_id': fields.many2one('res.users', 'From', required=True, ondelete="CASCADE"),
- 'to_id': fields.many2one('res.users', 'To', ondelete="CASCADE", help="Keep this empty to broadcast the message."),
- 'project_id': fields.many2one('project.project', 'Project',
- required=True, ondelete="CASCADE"),
- 'message': fields.text('Message', required=True),
- }
-
- def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False):
- # return messages by current user, for current user or for all users
- # return all messages if current user is administrator
- if uid != 1:
- args.extend(['|',('from_id', 'in', [uid,]),('to_id', 'in', [uid, False])])
- return super(messages, self).search(cr, uid, args, offset, limit,
- order, context=context, count=count)
-
- _defaults = {
- 'from_id': lambda self, cr, uid, context: uid,
- }
-
-messages()
-
-class project_with_message(osv.osv):
- _inherit = 'project.project'
-
- _columns = {
- 'message_ids':fields.one2many('project.messages', 'project_id', 'Messages'),
- }
-project_with_message()
-
-# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/project_messages/project_messages_view.xml b/addons/project_messages/project_messages_view.xml
deleted file mode 100644
index 920f8bf588e..00000000000
--- a/addons/project_messages/project_messages_view.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
- phase.project.form1
- project.project
- form
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- project.messages.form
- project.messages
- form
-
-
-
-
-
-
- project.messages.tree
- project.messages
- tree
-
-
-
-
-
-
-
-
-
-
-
- project.messages.search
- project.messages
- search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Project Messages
- project.messages
- form
-
- {"search_default_to_id":uid}
-
- An in-project messaging system allows for an efficient and trackable communication between project members. The messages are stored in the system and can be used for post analysis.
-
-
-
-
-
-
-
- Messages
- project.messages
- form
- tree,form
-
-
-
-
-
diff --git a/addons/project_messages/security/ir.model.access.csv b/addons/project_messages/security/ir.model.access.csv
deleted file mode 100644
index 1792f1ea840..00000000000
--- a/addons/project_messages/security/ir.model.access.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_project_messages,project.messages,model_project_messages,project.group_project_user,1,1,1,1
-access_project_message_project_user,project.project.user,model_project_project,project.group_project_user,1,0,0,0
diff --git a/addons/project_mrp/project_procurement.py b/addons/project_mrp/project_procurement.py
index 7d3045aede0..c27a3d547a3 100644
--- a/addons/project_mrp/project_procurement.py
+++ b/addons/project_mrp/project_procurement.py
@@ -81,6 +81,7 @@ class procurement_order(osv.osv):
'company_id': procurement.company_id.id,
},context=context)
self.write(cr, uid, [procurement.id], {'task_id': task_id, 'state': 'running'}, context=context)
+ self.running_send_note(cr, uid, ids, context=None)
return task_id
procurement_order()
diff --git a/addons/project_scrum/project_scrum.py b/addons/project_scrum/project_scrum.py
index 85eba636b90..ea20c3374d4 100644
--- a/addons/project_scrum/project_scrum.py
+++ b/addons/project_scrum/project_scrum.py
@@ -44,6 +44,7 @@ class project_scrum_sprint(osv.osv):
_name = 'project.scrum.sprint'
_description = 'Project Scrum Sprint'
_order = 'date_start desc'
+ _inherit = ['mail.thread']
def _compute(self, cr, uid, ids, fields, arg, context=None):
res = {}.fromkeys(ids, 0.0)
progress = {}
@@ -71,28 +72,27 @@ class project_scrum_sprint(osv.osv):
def button_cancel(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'cancel'}, context=context)
+ self.cancel_send_note(cr, uid, ids, context=None)
return True
def button_draft(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'draft'}, context=context)
+ self.draft_send_note(cr, uid, ids, context=None)
return True
def button_open(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'open'}, context=context)
- for (id, name) in self.name_get(cr, uid, ids):
- message = _("The sprint '%s' has been opened.") % (name,)
- self.log(cr, uid, id, message)
+ self.open_send_note(cr, uid, ids, context=None)
return True
def button_close(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'done'}, context=context)
- for (id, name) in self.name_get(cr, uid, ids):
- message = _("The sprint '%s' has been closed.") % (name,)
- self.log(cr, uid, id, message)
+ self.close_send_note(cr, uid, ids, context=None)
return True
def button_pending(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'pending'}, context=context)
+ self.pending_send_note(cr, uid, ids, context=None)
return True
_columns = {
@@ -138,6 +138,33 @@ class project_scrum_sprint(osv.osv):
v['date_stop'] = (datetime.now() + relativedelta(days=int(proj.sprint_size or 14))).strftime('%Y-%m-%d')
return {'value':v}
+ # ----------------------------------------
+ # OpenChatter methods and notifications
+ # ----------------------------------------
+
+ def create(self, cr, uid, vals, context=None):
+ obj_id = super(project_scrum_sprint, self).create(cr, uid, vals, context)
+ self.create_send_note(cr, uid, [obj_id], context=context)
+ return obj_id
+
+ def draft_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been set to draft ."), context=context)
+
+ def create_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been created ."), context=context)
+
+ def open_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been opened ."), context=context)
+
+ def pending_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been set to pending ."), context=context)
+
+ def cancel_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been cancelled ."), context=context)
+
+ def close_send_note(self, cr, uid, ids, context=None):
+ self.message_append_note(cr, uid, ids, body=_("Sprint has been closed ."), context=context)
+
project_scrum_sprint()
class project_scrum_product_backlog(osv.osv):
diff --git a/addons/project_scrum/project_scrum_view.xml b/addons/project_scrum/project_scrum_view.xml
index 183d6fc3c92..7f20ab7a5c8 100644
--- a/addons/project_scrum/project_scrum_view.xml
+++ b/addons/project_scrum/project_scrum_view.xml
@@ -232,7 +232,8 @@
project.scrum.sprint
form
-
diff --git a/addons/project_scrum/wizard/project_scrum_backlog_sprint.py b/addons/project_scrum/wizard/project_scrum_backlog_sprint.py
index 72b80a969fb..ab017231e89 100644
--- a/addons/project_scrum/wizard/project_scrum_backlog_sprint.py
+++ b/addons/project_scrum/wizard/project_scrum_backlog_sprint.py
@@ -24,6 +24,7 @@ from tools.translate import _
class backlog_sprint_assign(osv.osv_memory):
_name = 'project.scrum.backlog.assign.sprint'
_description = 'Assign sprint to backlogs'
+ _inherit = ['mail.thread']
_columns = {
'sprint_id': fields.many2one('project.scrum.sprint', 'Sprint', required=True, help="Select Sprint to assign backlog."),
'state_open': fields.boolean('Open Backlog', help="Change the state of product backlogs to open if its in draft state"),
@@ -55,12 +56,12 @@ class backlog_sprint_assign(osv.osv_memory):
'remaining_hours':backlog.expected_hours,
})
message = _("Product Backlog '%s' is converted into Task %d.") %(backlog.name, task_id)
- self.log(cr, uid, backlog.id, message)
+ self.message_append_note(cr, uid, [backlog.id], body=message, context=context)
if data.state_open and backlog.state == "draft":
backlog_obj.write(cr, uid, backlog.id, {'state':'open'})
sprint = sprint_obj.browse(cr, uid, data.sprint_id.id, context=context)
message = _("Product Backlog '%s' is assigned to sprint %s") %(backlog.name, sprint.name)
- self.log(cr, uid, backlog.id, message)
+ self.message_append_note(cr, uid, [backlog.id], body=message, context=context)
backlog_obj.write(cr, uid, backlog_ids, {'sprint_id': data.sprint_id.id}, context=context)
return {'type': 'ir.actions.act_window_close'}
diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py
index 8158d5102c7..439d7e8b199 100644
--- a/addons/purchase/purchase.py
+++ b/addons/purchase/purchase.py
@@ -290,8 +290,6 @@ class purchase_order(osv.osv):
for line in po.order_line:
if line.state=='draft':
todo.append(line.id)
- message = _("Purchase order '%s' is confirmed.") % (po.name,)
- self.log(cr, uid, po.id, message)
# current_name = self.name_get(cr, uid, ids)[0][1]
self.pool.get('purchase.order.line').action_confirm(cr, uid, todo, context)
for id in ids:
@@ -327,9 +325,7 @@ class purchase_order(osv.osv):
# Deleting the existing instance of workflow for PO
wf_service.trg_delete(uid, 'purchase.order', p_id, cr)
wf_service.trg_create(uid, 'purchase.order', p_id, cr)
- for (id,name) in self.name_get(cr, uid, ids):
- message = _("Purchase order '%s' has been set in draft state.") % name
- self.log(cr, uid, id, message)
+ self.draft_send_note(cr, uid, ids, context=None)
return True
def action_invoice_create(self, cr, uid, ids, context=None):
@@ -433,8 +429,7 @@ class purchase_order(osv.osv):
for (id, name) in self.name_get(cr, uid, ids):
wf_service.trg_validate(uid, 'purchase.order', id, 'purchase_cancel', cr)
- message = _("Purchase order '%s' is cancelled.") % name
- self.log(cr, uid, id, message)
+ self.cancel_send_note(cr, uid, ids, context)
return True
def _prepare_order_picking(self, cr, uid, order, context=None):
@@ -688,6 +683,9 @@ class purchase_order(osv.osv):
def invoice_done_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Invoice paid ."), context=context)
+
+ def draft_send_note(self, cr, uid, ids, context=None):
+ return self.message_append_note(cr, uid, ids, body=_("Purchase Order has been set to draft ."), context=context)
def cancel_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):
@@ -993,6 +991,7 @@ class procurement_order(osv.osv):
}
res[procurement.id] = self.create_procurement_purchase_order(cr, uid, procurement, po_vals, line_vals, context=context)
self.write(cr, uid, [procurement.id], {'state': 'running', 'purchase_id': res[procurement.id]})
+ self.running_send_note(cr, uid, [procurement.id], context=context)
return res
procurement_order()
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index 9743fb58a7b..05da702b6bb 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -203,7 +203,7 @@
-
+
@@ -506,7 +506,7 @@
form
-
+
diff --git a/addons/purchase_requisition/purchase_requisition.py b/addons/purchase_requisition/purchase_requisition.py
index 51aca3adeb8..8c9c7a67f9a 100644
--- a/addons/purchase_requisition/purchase_requisition.py
+++ b/addons/purchase_requisition/purchase_requisition.py
@@ -259,7 +259,7 @@ class procurement_order(osv.osv):
})],
'purchase_ids': [(6,0,[po_id])]
})
- self.write(cr,uid,proc_id,{'requisition_id':requisition_id})
+ self.write(cr,uid,[proc_id],{'requisition_id':requisition_id},context=context)
return res
procurement_order()
diff --git a/addons/purchase_requisition/purchase_requisition_view.xml b/addons/purchase_requisition/purchase_requisition_view.xml
index c03afa7b544..2a193177b84 100644
--- a/addons/purchase_requisition/purchase_requisition_view.xml
+++ b/addons/purchase_requisition/purchase_requisition_view.xml
@@ -197,7 +197,7 @@
procurement.order
-
+
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml
index c6dab2fa6c4..308f1034920 100644
--- a/addons/sale/sale_view.xml
+++ b/addons/sale/sale_view.xml
@@ -262,7 +262,7 @@
-
+
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 907d8146a7c..fd85d73a93e 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -943,7 +943,7 @@
-
+
@@ -1059,13 +1059,12 @@
-
+
-
stock.picking.in.search
stock.picking.in
diff --git a/addons/stock_location/procurement_pull.py b/addons/stock_location/procurement_pull.py
index 33168a53e20..dc062d4a6a2 100644
--- a/addons/stock_location/procurement_pull.py
+++ b/addons/stock_location/procurement_pull.py
@@ -116,6 +116,7 @@ class procurement_order(osv.osv):
move_obj.write(cr, uid, [proc.move_id.id],
{'location_id':proc.location_id.id})
self.write(cr, uid, [proc.id], {'state':'running', 'message':_('Pulled from another location via procurement %d')%proc_id})
+ self.running_send_note(cr, uid, ids, context=context)
# trigger direct processing (the new procurement shares the same planned date as the original one, which is already being processed)
wf_service.trg_validate(uid, 'procurement.order', proc_id, 'button_check', cr)