diff --git a/addons/account_followup/account_followup.py b/addons/account_followup/account_followup.py
index b514be58365..3e78246cf31 100644
--- a/addons/account_followup/account_followup.py
+++ b/addons/account_followup/account_followup.py
@@ -251,13 +251,14 @@ class res_partner(osv.osv):
followup_table += '''
- | Invoice date |
- Reference |
- Due date |
- Amount (%s) |
- Lit. |
+ ''' + _("Invoice date") + ''' |
+ ''' + _("Description") + ''' |
+ ''' + _("Reference") + ''' |
+ ''' + _("Due date") + ''' |
+ ''' + _("Amount") + " (%s)" % (currency.symbol) + ''' |
+ ''' + _("Lit.") + ''' |
- ''' % (currency.symbol)
+ '''
total = 0
for aml in currency_dict['line']:
block = aml['blocked'] and 'X' or ' '
@@ -268,11 +269,11 @@ class res_partner(osv.osv):
if date <= current_date and aml['balance'] > 0:
strbegin = ""
strend = " | "
- followup_table +="" + strbegin + str(aml['date']) + strend + strbegin + aml['ref'] + strend + strbegin + str(date) + strend + strbegin + str(aml['balance']) + strend + strbegin + block + strend + "
"
+ followup_table +="" + strbegin + str(aml['date']) + strend + strbegin + aml['name'] + strend + strbegin + aml['ref'] + strend + strbegin + str(date) + strend + strbegin + str(aml['balance']) + strend + strbegin + block + strend + "
"
total = rml_parse.formatLang(total, dp='Account', currency_obj=currency)
followup_table += '''
- Amount due: %s ''' % (total)
+ ''' + _("Amount due") + ''' : %s ''' % (total)
return followup_table
def write(self, cr, uid, ids, vals, context=None):
@@ -282,7 +283,7 @@ class res_partner(osv.osv):
#Find partner_id of user put as responsible
responsible_partner_id = self.pool.get("res.users").browse(cr, uid, vals['payment_responsible_id'], context=context).partner_id.id
self.pool.get("mail.thread").message_post(cr, uid, 0,
- body = _("You became responsible to do the next action for the payment follow-up of") + " " + part.name + " ",
+ body = _("You became responsible to do the next action for the payment follow-up of" ) + " " + part.name + " ",
type='comment',
subtype="mail.mt_comment", context=context,
model='res.partner', res_id = part.id,