[IMP] partner_statement: Translate statement title
This commit is contained in:
committed by
Miquel Raïch
parent
736e816bae
commit
a792d29e16
@@ -4,12 +4,9 @@
|
||||
<odoo>
|
||||
<template id="activity_balance">
|
||||
<p>
|
||||
<span t-if="is_detailed">Detailed </span>
|
||||
<span
|
||||
t-if="account_type == 'liability_payable'"
|
||||
>Supplier </span>Statement between <span t-out="d['start']" /> and <span
|
||||
t-out="d['end']"
|
||||
/> in <span t-out="display_currency.name" />
|
||||
t-out="get_title(o, is_detailed=is_detailed, account_type=account_type, starting_date=d['start'], ending_date=d['end'], currency=display_currency.name)"
|
||||
/>
|
||||
</p>
|
||||
<table class="table table-condensed table-statement">
|
||||
<thead>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<odoo>
|
||||
<template id="aging_buckets">
|
||||
<p>
|
||||
Aging Report at <span t-out="d['end']" /> in <span
|
||||
t-out="display_currency.name"
|
||||
/>:
|
||||
<span
|
||||
t-out="get_aging_buckets_title(o, ending_date=d['end'], currency=display_currency.name)"
|
||||
/>
|
||||
</p>
|
||||
<table class="table table-sm table-statement">
|
||||
<thead>
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
<t t-set="display_currency" t-value="Currencies[currency[0]]" />
|
||||
<t t-set="currency" t-value="currency[1]" />
|
||||
<t t-set="line_type" t-value="'prior_lines'" />
|
||||
<t t-set="title_name" t-value="'Prior Balance'" />
|
||||
<t
|
||||
t-set="ending_amount"
|
||||
t-value="currency['balance_forward']"
|
||||
@@ -51,7 +50,6 @@
|
||||
name="detailed_activity"
|
||||
/>
|
||||
<t t-set="line_type" t-value="'ending_lines'" />
|
||||
<t t-set="title_name" t-value="'Ending Balance'" />
|
||||
<t t-set="ending_amount" t-value="currency['amount_due']" />
|
||||
<t t-set="ending_date" t-value="d['end']" />
|
||||
<t
|
||||
|
||||
@@ -5,9 +5,7 @@
|
||||
<template id="outstanding_balance">
|
||||
<p>
|
||||
<span
|
||||
t-out="'' if account_type == 'asset_receivable' else 'Supplier '"
|
||||
/><span t-out="title_name" /> up to <span t-out="ending_date" /> in <span
|
||||
t-out="display_currency.name"
|
||||
t-out="get_title(o, account_type=account_type, line_type=line_type, ending_date=ending_date, currency=display_currency.name)"
|
||||
/>
|
||||
</p>
|
||||
<table class="table table-sm table-statement">
|
||||
@@ -135,7 +133,6 @@
|
||||
<t t-set="display_currency" t-value="Currencies[currency[0]]" />
|
||||
<t t-set="currency" t-value="currency[1]" />
|
||||
<t t-set="line_type" t-value="'lines'" />
|
||||
<t t-set="title_name" t-value="'Statement'" />
|
||||
<t t-set="ending_amount" t-value="currency['amount_due']" />
|
||||
<t t-set="ending_date" t-value="d['end']" />
|
||||
<t
|
||||
|
||||
Reference in New Issue
Block a user