| [[ o.code ]] [[ o.name ]] |
|
@@ -291,7 +291,7 @@
[[ line['lref'] ]] |
[[ line['move'] ]] |
[[ line['lname'] ]] |
- [[ strip_name(line['line_corresp'],15) ]] |
+ [[ strip_name(line['line_corresp'].replace(', ',','),40) ]] |
[[ formatLang(line['debit']) ]] [[ company.currency_id.symbol ]] |
[[ formatLang(line['credit']) ]] [[ company.currency_id.symbol ]] |
[[ formatLang(line['progress']) ]] [[ company.currency_id.symbol ]] |
diff --git a/addons/account/report/account_partner_balance.py b/addons/account/report/account_partner_balance.py
index 96be4e9b7d5..4ce8eeb986c 100644
--- a/addons/account/report/account_partner_balance.py
+++ b/addons/account/report/account_partner_balance.py
@@ -221,8 +221,8 @@ class partner_balance(report_sxw.rml_parse, common_report_header):
for rec in full_account:
if not rec.get('name', False):
- rec.update({'name': 'No Partner Defined'})
-
+ rec.update({'name': 'Unknown Partner'})
+
## We will now compute Total
subtotal_row = self._add_subtotal(full_account)
# if not self.initial_balance:
diff --git a/addons/account/report/account_partner_balance.rml b/addons/account/report/account_partner_balance.rml
index 7632c88e65f..c5ea2946507 100644
--- a/addons/account/report/account_partner_balance.rml
+++ b/addons/account/report/account_partner_balance.rml
@@ -244,14 +244,6 @@
[[ formatLang((solde_debit()-solde_credit())) ]] [[ company.currency_id.symbol ]] |
[[ formatLang(sum_litige()) ]] [[ company.currency_id.symbol ]] |
-
| [[ repeatIn(lines(), 'a') ]][[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ a['ref'] ]] [[ a['type']==3 and a['code'] ]] |
[[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ a['name'] ]] |