diff --git a/account_partner_aged_statement_webkit/__openerp__.py b/account_partner_aged_statement_webkit/__openerp__.py
index 7ee8c585..969710ae 100644
--- a/account_partner_aged_statement_webkit/__openerp__.py
+++ b/account_partner_aged_statement_webkit/__openerp__.py
@@ -26,6 +26,8 @@
'author': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'depends': [
+ 'report_webkit',
+ 'base_headers_webkit',
'mail',
'account',
],
@@ -36,16 +38,20 @@ Print & Send Partner Aged Statement by email
This module adds in the system :
* a new mail template "Aged Statement Letter";
- * the abitlity to print the partner aged statement;
- * a button "Send by email" in the pricelist form view which load the template
- and attache the pricelist to the email.
+ * the ability to print the partner aged statement;
+ * a button "Send by email" in the partner form view which load the template
+ and attach the statement to the email.
-So far the module does not drill down through pricelist items that are
-based on another pricelist or based on purchase pricelists.
+Comparing to 'Overdue Payment' report provided with OpenERP, this one adds more
+informations :
+ * the summary per period
+ * the list of invoices per period
+ * the invoices are also shown with the foreign currency
Contributors
------------
* Marc Cassuto (marc.cassuto@savoirfairelinux.com)
+* Vincent Vinet (vincent.vinet@savoirfairelinux.com)
""",
'data': [
'partner_aged_statement_report.xml',
diff --git a/account_partner_aged_statement_webkit/partner_aged_statement_data.xml b/account_partner_aged_statement_webkit/partner_aged_statement_data.xml
index 3a6aa819..9c6c7b54 100644
--- a/account_partner_aged_statement_webkit/partner_aged_statement_data.xml
+++ b/account_partner_aged_statement_webkit/partner_aged_statement_data.xml
@@ -2,7 +2,7 @@
+ ${message_line} +
+ %endfor +${_('Not Due')} | +${_('0-30')} | +${_('30-60')} | +${_('60-90')} | +${_('90-120')} | +${_('+120')} | +${_('Total')} | +
---|---|---|---|---|---|---|
${ formatLang(l['direction'], currency_obj=company.currency_id) } | +${ formatLang(l['4'], currency_obj=company.currency_id) } | +${ formatLang(l['3'], currency_obj=company.currency_id) } | +${ formatLang(l['2'], currency_obj=company.currency_id) } | +${ formatLang(l['1'], currency_obj=company.currency_id) } | +${ formatLang(l['0'], currency_obj=company.currency_id) } | +${ formatLang(l['total'], currency_obj=company.currency_id) } | +
${_('Date')} | +${_('Description')} | +${_('Reference')} | +${_('Due date')} | +${_('Amount')} | +${_('Paid')} | +${_('Total')} (${company.currency_id.name}) |
+ ${_('Total')} (fgn. cur.) |
+
---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | +${ line.name } | +${ line.ref } | +${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | +${ formatLang(line.debit) or 0 } | +${ formatLang(line.credit) or 0 } | +${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } | +${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +
${_('Date')} | +${_('Description')} | +${_('Reference')} | +${_('Due date')} | +${_('Amount')} | +${_('Paid')} | +${_('Total')} (${company.currency_id.name}) |
+ ${_('Total')} (fgn. cur.) |
+
---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | +${ line.name } | +${ line.ref } | +${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | +${ formatLang(line.debit) or 0 } | +${ formatLang(line.credit) or 0 } | +${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } | +${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +
${_('Date')} | +${_('Description')} | +${_('Reference')} | +${_('Due date')} | +${_('Amount')} | +${_('Paid')} | +${_('Total')} (${company.currency_id.name}) |
+ ${_('Total')} (fgn. cur.) |
+
---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | +${ line.name } | +${ line.ref } | +${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | +${ formatLang(line.debit) or 0 } | +${ formatLang(line.credit) or 0 } | +${ formatLang(line.debit - line.credit, currency_obj = company.currency_id) } | +${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +