From f5890b15e8d2a3ca72dc3587884a9dfd8b10c07c Mon Sep 17 00:00:00 2001 From: Serpent Consulting Services Date: Fri, 28 Oct 2011 21:13:37 +0530 Subject: [PATCH] [REF] Account_followup : Refactoring lp bug: https://launchpad.net/bugs/883151 fixed bzr revid: support@serpentcs.com-20111028154337-gvk733owpf0t5ets --- addons/account_followup/__openerp__.py | 2 +- addons/account_followup/account_followup.py | 4 +-- .../account_followup_demo.xml | 4 +-- .../i18n/account_followup.pot | 2 +- addons/account_followup/i18n/ar.po | 2 +- addons/account_followup/i18n/bg.po | 2 +- addons/account_followup/i18n/bs.po | 2 +- addons/account_followup/i18n/ca.po | 2 +- addons/account_followup/i18n/cs.po | 2 +- addons/account_followup/i18n/de.po | 2 +- addons/account_followup/i18n/el.po | 2 +- addons/account_followup/i18n/es.po | 2 +- addons/account_followup/i18n/es_AR.po | 2 +- addons/account_followup/i18n/es_EC.po | 2 +- addons/account_followup/i18n/es_PY.po | 2 +- addons/account_followup/i18n/et.po | 2 +- addons/account_followup/i18n/fi.po | 2 +- addons/account_followup/i18n/fr.po | 2 +- addons/account_followup/i18n/gl.po | 2 +- addons/account_followup/i18n/hr.po | 2 +- addons/account_followup/i18n/hu.po | 2 +- addons/account_followup/i18n/id.po | 2 +- addons/account_followup/i18n/it.po | 2 +- addons/account_followup/i18n/ko.po | 2 +- addons/account_followup/i18n/lt.po | 2 +- addons/account_followup/i18n/mn.po | 2 +- addons/account_followup/i18n/nb.po | 2 +- addons/account_followup/i18n/nl.po | 2 +- addons/account_followup/i18n/nl_BE.po | 2 +- addons/account_followup/i18n/oc.po | 2 +- addons/account_followup/i18n/pl.po | 2 +- addons/account_followup/i18n/pt.po | 2 +- addons/account_followup/i18n/pt_BR.po | 2 +- addons/account_followup/i18n/ro.po | 2 +- addons/account_followup/i18n/ru.po | 2 +- addons/account_followup/i18n/sl.po | 2 +- addons/account_followup/i18n/sq.po | 2 +- addons/account_followup/i18n/sr.po | 2 +- addons/account_followup/i18n/sr@latin.po | 2 +- addons/account_followup/i18n/sv.po | 2 +- addons/account_followup/i18n/tlh.po | 2 +- addons/account_followup/i18n/tr.po | 2 +- addons/account_followup/i18n/uk.po | 2 +- addons/account_followup/i18n/vi.po | 2 +- addons/account_followup/i18n/zh_CN.po | 2 +- addons/account_followup/i18n/zh_TW.po | 2 +- .../report/account_followup_print.py | 4 +-- .../report/account_followup_report.py | 30 +++++++++---------- .../wizard/account_followup_print.py | 6 ++-- 49 files changed, 68 insertions(+), 68 deletions(-) diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py index 3f794682e06..3fe52186f03 100644 --- a/addons/account_followup/__openerp__.py +++ b/addons/account_followup/__openerp__.py @@ -25,7 +25,7 @@ 'category': 'Accounting & Finance', 'complexity': "normal", 'description': """ -Modules to automate letters for unpaid invoices, with multi-level recalls. +Module to automate letters for unpaid invoices, with multi-level recalls. ========================================================================== You can define your multiple levels of recall through the menu: diff --git a/addons/account_followup/account_followup.py b/addons/account_followup/account_followup.py index fd8b7026d74..8bc364ad306 100644 --- a/addons/account_followup/account_followup.py +++ b/addons/account_followup/account_followup.py @@ -45,7 +45,7 @@ class followup(osv.osv): company.append(l.company_id.id) return True _constraints = [ - (check_company_uniq, 'Only One Folllowup by Company.',['company_id'] ) + (check_company_uniq, 'Only One Followup by Company.',['company_id'] ) ] followup() @@ -85,7 +85,7 @@ class account_move_line(osv.osv): _columns = { 'followup_line_id': fields.many2one('account_followup.followup.line', 'Follow-up Level'), 'followup_date': fields.date('Latest Follow-up', select=True), - } + } account_move_line() diff --git a/addons/account_followup/account_followup_demo.xml b/addons/account_followup/account_followup_demo.xml index 3799033b24a..4c3d84fb642 100644 --- a/addons/account_followup/account_followup_demo.xml +++ b/addons/account_followup/account_followup_demo.xml @@ -37,7 +37,7 @@ Dear %(partner_name)s, We are disappointed to see that despite sending a reminder, that your account is now seriously overdue. It is essential that immediate payment is made, otherwise we will have to consider placing a stop on your account which means that we will no longer be able to supply your company with (goods/services). -Please, take appropriate measures in order to carry out this payment in the next 8 days +Please, take appropriate measures in order to carry out this payment in the next 8 days. If there is a problem with paying invoice that we are not aware of, do not hesitate to contact our accounting department at (+32).10.68.94.39. so that we can resolve the matter quickly. @@ -58,7 +58,7 @@ Dear %(partner_name)s, Despite several reminders, your account is still not settled. -Unless full payment is made in next 8 days , then legal action for the recovery of the debt, will be taken without further notice. +Unless full payment is made in next 8 days, then legal action for the recovery of the debt will be taken without further notice. I trust that this action will prove unnecessary and details of due payments is printed below. diff --git a/addons/account_followup/i18n/account_followup.pot b/addons/account_followup/i18n/account_followup.pot index ea2f84c6ed3..4e51d25143d 100644 --- a/addons/account_followup/i18n/account_followup.pot +++ b/addons/account_followup/i18n/account_followup.pot @@ -18,7 +18,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:295 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/ar.po b/addons/account_followup/i18n/ar.po index a4e5ec271ee..937abe242ec 100644 --- a/addons/account_followup/i18n/ar.po +++ b/addons/account_followup/i18n/ar.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/bg.po b/addons/account_followup/i18n/bg.po index 3c95d9b03a3..b0c1f176e0b 100644 --- a/addons/account_followup/i18n/bg.po +++ b/addons/account_followup/i18n/bg.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/bs.po b/addons/account_followup/i18n/bs.po index 8b9a5c80200..4432b4d2e79 100644 --- a/addons/account_followup/i18n/bs.po +++ b/addons/account_followup/i18n/bs.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/ca.po b/addons/account_followup/i18n/ca.po index 86b67bafdab..72a464eb8f6 100644 --- a/addons/account_followup/i18n/ca.po +++ b/addons/account_followup/i18n/ca.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Informe de seguiment" #. module: account_followup diff --git a/addons/account_followup/i18n/cs.po b/addons/account_followup/i18n/cs.po index 556f3f2ec24..aad0dd4942a 100644 --- a/addons/account_followup/i18n/cs.po +++ b/addons/account_followup/i18n/cs.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/de.po b/addons/account_followup/i18n/de.po index fb61bce82ce..0be545e8109 100644 --- a/addons/account_followup/i18n/de.po +++ b/addons/account_followup/i18n/de.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Mahnverfolgung Zusammenfassung" #. module: account_followup diff --git a/addons/account_followup/i18n/el.po b/addons/account_followup/i18n/el.po index 500e0fc5dcf..ebd392f22d0 100644 --- a/addons/account_followup/i18n/el.po +++ b/addons/account_followup/i18n/el.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/es.po b/addons/account_followup/i18n/es.po index fed3e289172..1008af6ffd3 100644 --- a/addons/account_followup/i18n/es.po +++ b/addons/account_followup/i18n/es.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Informe de seguimiento" #. module: account_followup diff --git a/addons/account_followup/i18n/es_AR.po b/addons/account_followup/i18n/es_AR.po index 9df25ba91a5..28083f1856d 100644 --- a/addons/account_followup/i18n/es_AR.po +++ b/addons/account_followup/i18n/es_AR.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/es_EC.po b/addons/account_followup/i18n/es_EC.po index 47670939265..c9dea9cd5a3 100644 --- a/addons/account_followup/i18n/es_EC.po +++ b/addons/account_followup/i18n/es_EC.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/es_PY.po b/addons/account_followup/i18n/es_PY.po index d91b6457074..2656d3e5b84 100644 --- a/addons/account_followup/i18n/es_PY.po +++ b/addons/account_followup/i18n/es_PY.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Informe de seguimiento" #. module: account_followup diff --git a/addons/account_followup/i18n/et.po b/addons/account_followup/i18n/et.po index 5d7e57b8765..3b9e4d4f60b 100644 --- a/addons/account_followup/i18n/et.po +++ b/addons/account_followup/i18n/et.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/fi.po b/addons/account_followup/i18n/fi.po index d38591098d9..38970e423d6 100644 --- a/addons/account_followup/i18n/fi.po +++ b/addons/account_followup/i18n/fi.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Muistutuksen yhteenveto" #. module: account_followup diff --git a/addons/account_followup/i18n/fr.po b/addons/account_followup/i18n/fr.po index 090087f4343..ca7c8d5eb2f 100644 --- a/addons/account_followup/i18n/fr.po +++ b/addons/account_followup/i18n/fr.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Sommaire des suivis" #. module: account_followup diff --git a/addons/account_followup/i18n/gl.po b/addons/account_followup/i18n/gl.po index 27f2453e67b..d7c555b95b9 100644 --- a/addons/account_followup/i18n/gl.po +++ b/addons/account_followup/i18n/gl.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Informe de seguimento" #. module: account_followup diff --git a/addons/account_followup/i18n/hr.po b/addons/account_followup/i18n/hr.po index 3dc52da2875..e9cf364c6ef 100644 --- a/addons/account_followup/i18n/hr.po +++ b/addons/account_followup/i18n/hr.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/hu.po b/addons/account_followup/i18n/hu.po index e4050842e29..7444019e35d 100644 --- a/addons/account_followup/i18n/hu.po +++ b/addons/account_followup/i18n/hu.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Fizetési emlékeztető összesítő" #. module: account_followup diff --git a/addons/account_followup/i18n/id.po b/addons/account_followup/i18n/id.po index 9c2cd41c200..4303a1677c7 100644 --- a/addons/account_followup/i18n/id.po +++ b/addons/account_followup/i18n/id.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/it.po b/addons/account_followup/i18n/it.po index a3a5d942557..8099359c1da 100644 --- a/addons/account_followup/i18n/it.po +++ b/addons/account_followup/i18n/it.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Riepilogo Follow up" #. module: account_followup diff --git a/addons/account_followup/i18n/ko.po b/addons/account_followup/i18n/ko.po index a328d34bbef..30967583ba4 100644 --- a/addons/account_followup/i18n/ko.po +++ b/addons/account_followup/i18n/ko.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/lt.po b/addons/account_followup/i18n/lt.po index 07012ffdb86..54bd300604b 100644 --- a/addons/account_followup/i18n/lt.po +++ b/addons/account_followup/i18n/lt.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/mn.po b/addons/account_followup/i18n/mn.po index 10b0064d8be..aa3d71c003f 100644 --- a/addons/account_followup/i18n/mn.po +++ b/addons/account_followup/i18n/mn.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/nb.po b/addons/account_followup/i18n/nb.po index a5dcaf6ce7d..45de5bf8102 100644 --- a/addons/account_followup/i18n/nb.po +++ b/addons/account_followup/i18n/nb.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Oppfølging Oppsummering" #. module: account_followup diff --git a/addons/account_followup/i18n/nl.po b/addons/account_followup/i18n/nl.po index 5eb0a0ac7a1..5fda72adbe0 100644 --- a/addons/account_followup/i18n/nl.po +++ b/addons/account_followup/i18n/nl.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Samenvatting aanmaningen" #. module: account_followup diff --git a/addons/account_followup/i18n/nl_BE.po b/addons/account_followup/i18n/nl_BE.po index fc3403ad069..127a2a82c3c 100644 --- a/addons/account_followup/i18n/nl_BE.po +++ b/addons/account_followup/i18n/nl_BE.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Samenvatting aanmaningen" #. module: account_followup diff --git a/addons/account_followup/i18n/oc.po b/addons/account_followup/i18n/oc.po index c22488bcd10..12fa16cbbee 100644 --- a/addons/account_followup/i18n/oc.po +++ b/addons/account_followup/i18n/oc.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/pl.po b/addons/account_followup/i18n/pl.po index de7477901c7..b085a803494 100644 --- a/addons/account_followup/i18n/pl.po +++ b/addons/account_followup/i18n/pl.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/pt.po b/addons/account_followup/i18n/pt.po index af53473de04..e7ee3efb7a1 100644 --- a/addons/account_followup/i18n/pt.po +++ b/addons/account_followup/i18n/pt.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/pt_BR.po b/addons/account_followup/i18n/pt_BR.po index 1394e07ec4b..ce7d7d8aa2d 100644 --- a/addons/account_followup/i18n/pt_BR.po +++ b/addons/account_followup/i18n/pt_BR.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Resumo de Acompanhamento" #. module: account_followup diff --git a/addons/account_followup/i18n/ro.po b/addons/account_followup/i18n/ro.po index 7f7a5b12f1d..0979fa3ec14 100644 --- a/addons/account_followup/i18n/ro.po +++ b/addons/account_followup/i18n/ro.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/ru.po b/addons/account_followup/i18n/ru.po index c93a24eb797..b49b4993056 100644 --- a/addons/account_followup/i18n/ru.po +++ b/addons/account_followup/i18n/ru.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Напоминание кратко" #. module: account_followup diff --git a/addons/account_followup/i18n/sl.po b/addons/account_followup/i18n/sl.po index c8574c46aac..e21aa00395c 100644 --- a/addons/account_followup/i18n/sl.po +++ b/addons/account_followup/i18n/sl.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/sq.po b/addons/account_followup/i18n/sq.po index bcac297828c..567c9aa5c30 100644 --- a/addons/account_followup/i18n/sq.po +++ b/addons/account_followup/i18n/sq.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/sr.po b/addons/account_followup/i18n/sr.po index 8a7abee67b4..2336f175131 100644 --- a/addons/account_followup/i18n/sr.po +++ b/addons/account_followup/i18n/sr.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Sumarno Pracenje" #. module: account_followup diff --git a/addons/account_followup/i18n/sr@latin.po b/addons/account_followup/i18n/sr@latin.po index e8485e35454..35298cc5b64 100644 --- a/addons/account_followup/i18n/sr@latin.po +++ b/addons/account_followup/i18n/sr@latin.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Sumarno Pracenje" #. module: account_followup diff --git a/addons/account_followup/i18n/sv.po b/addons/account_followup/i18n/sv.po index 7e8c8c94268..4f023a46d09 100644 --- a/addons/account_followup/i18n/sv.po +++ b/addons/account_followup/i18n/sv.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "Uppföljningssammanfattning" #. module: account_followup diff --git a/addons/account_followup/i18n/tlh.po b/addons/account_followup/i18n/tlh.po index 7129786c33f..94e1ba94869 100644 --- a/addons/account_followup/i18n/tlh.po +++ b/addons/account_followup/i18n/tlh.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/tr.po b/addons/account_followup/i18n/tr.po index 0c0075b6b23..f35761a349f 100644 --- a/addons/account_followup/i18n/tr.po +++ b/addons/account_followup/i18n/tr.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "İzleme Özeti" #. module: account_followup diff --git a/addons/account_followup/i18n/uk.po b/addons/account_followup/i18n/uk.po index a5634028a07..6ead00407cb 100644 --- a/addons/account_followup/i18n/uk.po +++ b/addons/account_followup/i18n/uk.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/vi.po b/addons/account_followup/i18n/vi.po index 3bf2c3f2c44..7b7438cb11e 100644 --- a/addons/account_followup/i18n/vi.po +++ b/addons/account_followup/i18n/vi.po @@ -20,7 +20,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/i18n/zh_CN.po b/addons/account_followup/i18n/zh_CN.po index 9f37edcd2fe..0f02b80f361 100644 --- a/addons/account_followup/i18n/zh_CN.po +++ b/addons/account_followup/i18n/zh_CN.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "催款摘要" #. module: account_followup diff --git a/addons/account_followup/i18n/zh_TW.po b/addons/account_followup/i18n/zh_TW.po index 1cb6df5b031..98b00266275 100644 --- a/addons/account_followup/i18n/zh_TW.po +++ b/addons/account_followup/i18n/zh_TW.po @@ -19,7 +19,7 @@ msgstr "" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:298 #, python-format -msgid "Follwoup Summary" +msgid "Followup Summary" msgstr "" #. module: account_followup diff --git a/addons/account_followup/report/account_followup_print.py b/addons/account_followup/report/account_followup_print.py index 9081e862cfe..3f6b24550a7 100644 --- a/addons/account_followup/report/account_followup_print.py +++ b/addons/account_followup/report/account_followup_print.py @@ -27,13 +27,13 @@ from report import report_sxw class report_rappel(report_sxw.rml_parse): def __init__(self, cr, uid, name, context): super(report_rappel, self).__init__(cr, uid, name, context=context) - self.localcontext.update( { + self.localcontext.update({ 'time': time, 'ids_to_objects': self._ids_to_objects, 'adr_get': self._adr_get, 'getLines': self._lines_get, 'get_text': self._get_text - }) + }) def _ids_to_objects(self, partner_ids): pool = pooler.get_pool(self.cr.dbname) diff --git a/addons/account_followup/report/account_followup_report.py b/addons/account_followup/report/account_followup_report.py index 8d4b914ffa6..25fc37691f4 100644 --- a/addons/account_followup/report/account_followup_report.py +++ b/addons/account_followup/report/account_followup_report.py @@ -45,23 +45,23 @@ class account_followup_stat(osv.osv): def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False): - for arg in args: - if arg[0] == 'period_id' and arg[2] == 'current_year': - current_year = self.pool.get('account.fiscalyear').find(cr, uid) - ids = self.pool.get('account.fiscalyear').read(cr, uid, [current_year], ['period_ids'])[0]['period_ids'] - args.append(['period_id','in',ids]) - args.remove(arg) - return super(account_followup_stat, self).search(cr, uid, args=args, offset=offset, limit=limit, order=order, - context=context, count=count) + for arg in args: + if arg[0] == 'period_id' and arg[2] == 'current_year': + current_year = self.pool.get('account.fiscalyear').find(cr, uid) + ids = self.pool.get('account.fiscalyear').read(cr, uid, [current_year], ['period_ids'])[0]['period_ids'] + args.append(['period_id','in',ids]) + args.remove(arg) + return super(account_followup_stat, self).search(cr, uid, args=args, offset=offset, limit=limit, order=order, + context=context, count=count) def read_group(self, cr, uid, domain, *args, **kwargs): - for arg in domain: - if arg[0] == 'period_id' and arg[2] == 'current_year': - current_year = self.pool.get('account.fiscalyear').find(cr, uid) - ids = self.pool.get('account.fiscalyear').read(cr, uid, [current_year], ['period_ids'])[0]['period_ids'] - domain.append(['period_id','in',ids]) - domain.remove(arg) - return super(account_followup_stat, self).read_group(cr, uid, domain, *args, **kwargs) + for arg in domain: + if arg[0] == 'period_id' and arg[2] == 'current_year': + current_year = self.pool.get('account.fiscalyear').find(cr, uid) + ids = self.pool.get('account.fiscalyear').read(cr, uid, [current_year], ['period_ids'])[0]['period_ids'] + domain.append(['period_id','in',ids]) + domain.remove(arg) + return super(account_followup_stat, self).read_group(cr, uid, domain, *args, **kwargs) def init(self, cr): tools.drop_view_if_exists(cr, 'account_followup_stat') diff --git a/addons/account_followup/wizard/account_followup_print.py b/addons/account_followup/wizard/account_followup_print.py index cd75fb60a26..3fe404134ae 100644 --- a/addons/account_followup/wizard/account_followup_print.py +++ b/addons/account_followup/wizard/account_followup_print.py @@ -32,7 +32,7 @@ class account_followup_print(osv.osv_memory): _columns = { 'date': fields.date('Follow-up Sending Date', required=True, help="This field allow you to select a forecast date to plan your follow-ups"), 'followup_id': fields.many2one('account_followup.followup', 'Follow-up', required=True) - } + } def _get_followup(self, cr, uid, context=None): if context is None: @@ -289,7 +289,7 @@ class account_followup_print_all(osv.osv_memory): if not msg_unsent: summary = _("All E-mails have been successfully sent to Partners:.\n\n%s") % msg_sent else: - msg_unsent = _("E-Mail not sent to following Partners, Email not available !\n\n%s") % msg_unsent + msg_unsent = _("E-Mail not sent to following Partners, E-mail not available !\n\n%s") % msg_unsent msg_sent = msg_sent and _("\n\nE-Mail sent to following Partners successfully. !\n\n%s") % msg_sent line = '==========================================================================' summary = msg_unsent + line + msg_sent @@ -298,7 +298,7 @@ class account_followup_print_all(osv.osv_memory): context.update({'summary': '\n\n\nE-Mail has not been sent to any partner. If you want to send it, please tick send email confirmation on wizard.'}) return { - 'name': _('Follwoup Summary'), + 'name': _('Followup Summary'), 'view_type': 'form', 'context': context, 'view_mode': 'tree,form',