diff --git a/account_partner_aged_statement_webkit/i18n/account_partner_aged_statement_webkit.pot b/account_partner_aged_statement_webkit/i18n/account_partner_aged_statement_webkit.pot index 31104b97..a93ae723 100644 --- a/account_partner_aged_statement_webkit/i18n/account_partner_aged_statement_webkit.pot +++ b/account_partner_aged_statement_webkit/i18n/account_partner_aged_statement_webkit.pot @@ -157,6 +157,11 @@ msgstr "" msgid "60-90" msgstr "" +#. module: account_partner_aged_statement_webkit +#: report:addons/account_partner_aged_statement_webkit/report/partner_aged_statement.mako:0 +msgid "Currency" +msgstr "" + #. module: account_partner_aged_statement_webkit #: view:res.partner:0 msgid "Send Aged Statement" diff --git a/account_partner_aged_statement_webkit/i18n/fr.po b/account_partner_aged_statement_webkit/i18n/fr.po index 03074f3b..bff78e7a 100644 --- a/account_partner_aged_statement_webkit/i18n/fr.po +++ b/account_partner_aged_statement_webkit/i18n/fr.po @@ -194,6 +194,11 @@ msgstr "+120" msgid "0-30" msgstr "0-30" +#. module: account_partner_aged_statement_webkit +#: report:addons/account_partner_aged_statement_webkit/report/partner_aged_statement.mako:0 +msgid "Currency" +msgstr "Devise" + #. module: account_partner_aged_statement_webkit #: report:addons/account_partner_aged_statement_webkit/report/partner_aged_statement.mako:37 #: model:ir.model,name:account_partner_aged_statement_webkit.model_res_partner diff --git a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako index 321d4812..08780055 100644 --- a/account_partner_aged_statement_webkit/report/partner_aged_statement.mako +++ b/account_partner_aged_statement_webkit/report/partner_aged_statement.mako @@ -55,34 +55,36 @@ %else:
${_('Not Due')} | -${_('0-30')} | -${_('30-60')} | -${_('60-90')} | -${_('90-120')} | -${_('+120')} | -${_('Total')} | -
---|---|---|---|---|---|---|
${ formatLang(balance_amount(l['direction']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['4']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['3']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['2']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['1']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['0']), currency_obj=company.currency_id) } | -${ formatLang(balance_amount(l['total']), currency_obj=company.currency_id) } | -
${_('Not Due')} | +${_('0-30')} | +${_('30-60')} | +${_('60-90')} | +${_('90-120')} | +${_('+120')} | +${_('Total')} | +${_('Currency')} | +
---|---|---|---|---|---|---|---|
${ l['not_due'] } | +${ l['30'] } | +${ l['3060'] } | +${ l['6090'] } | +${ l['90120'] } | +${ l['120'] } | +${ l['total'] } | +${ l['currency_name']} | +
${_('Due date')} | ${_('Amount')} | ${_('Paid')} | -${_('Total')} (${company.currency_id.name}) |
- ${_('Total')} (fgn. cur.) |
+ ${_('Total')} | +${_('Currency')} | - %for line in getLines30(partner): + %for line in getLines30(partner, company):|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | -${ line.move_id.name } | -${ line.ref } | -${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | -${ formatLang(line_amount(line))} | -${ formatLang(line_paid(line))} | -${ formatLang(line_amount(line) - line_paid(line), currency_obj = company.currency_id) } | -${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +${ formatLang(line['date_original'], date=True) } | +${ line['name'] } | +${ line['ref'] } | +${ line['date_due'] and formatLang(line['date_due'], date=True) or '' } | +${ formatLang(line['amount_original']) } | +${ formatLang(line['amount_original'] - line['amount_unreconciled']) } | +${ formatLang(line['amount_unreconciled']) } | +${ line['currency_name'] } |
${_('Due date')} | ${_('Amount')} | ${_('Paid')} | -${_('Total')} (${company.currency_id.name}) |
- ${_('Total')} (fgn. cur.) |
+ ${_('Total')} | +${_('Currency')} | - %for line in getLines3060(partner): + %for line in getLines3060(partner, company):|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | -${ line.move_id.name } | -${ line.ref } | -${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | -${ formatLang(line_amount(line))} | -${ formatLang(line_paid(line))} | -${ formatLang(line_amount(line) - line_paid(line), currency_obj = company.currency_id) } | -${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +${ formatLang(line['date_original'], date=True) } | +${ line['name'] } | +${ line['ref'] } | +${ line['date_due'] and formatLang(line['date_due'], date=True) or '' } | +${ formatLang(line['amount_original']) } | +${ formatLang(line['amount_original'] - line['amount_unreconciled']) } | +${ formatLang(line['amount_unreconciled']) } | +${ line['currency_name'] } |
${_('Due date')} | ${_('Amount')} | ${_('Paid')} | -${_('Total')} (${company.currency_id.name}) |
- ${_('Total')} (fgn. cur.) |
+ ${_('Total')} | +${_('Currency')} | - %for line in getLines60(partner): + %for line in getLines60(partner, company):|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
${ formatLang(line.date, date=True) } | -${ line.move_id.name } | -${ line.ref } | -${ line.date_maturity and formatLang(line.date_maturity,date=True) or '' } | -${ formatLang(line_amount(line))} | -${ formatLang(line_paid(line))} | -${ formatLang(line_amount(line) - line_paid(line), currency_obj = company.currency_id) } | -${ line.amount_currency and formatLang(line.amount_currency, currency_obj = line.currency_id) or '' } | +${ formatLang(line['date_original'], date=True) } | +${ line['name'] } | +${ line['ref'] } | +${ line['date_due'] and formatLang(line['date_due'], date=True) or '' } | +${ formatLang(line['amount_original']) } | +${ formatLang(line['amount_original'] - line['amount_unreconciled']) } | +${ formatLang(line['amount_unreconciled']) } | +${ line['currency_name'] } |