diff options
| author | Csaba Tóth <csaba.toth@i3rendszerhaz.hu> | 2020-04-03 19:06:48 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2020-04-15 13:35:16 +0000 |
| commit | dff06e82b371c8b9610b7f4c5bfdf35fee3b7d7e (patch) | |
| tree | 813e704fc9887b21ada3835f2dcf819082aad545 /addons/l10n_in | |
| parent | a6026eb71d77172249c4f0e9c08ccaf85c038f74 (diff) | |
[FIX] account.invoice: leftovers of the state / invoice_payment_state
refactoring
this fixes bugs introduced by
https://github.com/odoo/odoo/commit/beaa30a3d1843de43a45f419bfbc1bfa7613a920
in saas-13.2, the field invoice_payment_state was renamed into payment_state by
https://github.com/odoo/odoo/commit/8e4158af810bcf475214946fa64d3b0ce4d3b26d
in saas-13.4, the feature post_at of journal have been removed by
https://github.com/odoo/odoo/commit/caeb782841fc5a7ad71a196e2c9ee67644ef9074
closes odoo/odoo#49569
X-original-commit: 2001c413ee142c50ca6549cd5dff9fc0f9f1637b
Signed-off-by: Csaba Tóth <csaba.toth@i3rendszerhaz.hu>
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/l10n_in')
| -rw-r--r-- | addons/l10n_in/views/report_invoice.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_in/views/report_invoice.xml b/addons/l10n_in/views/report_invoice.xml index 0856519ad66..15aa1e270dd 100644 --- a/addons/l10n_in/views/report_invoice.xml +++ b/addons/l10n_in/views/report_invoice.xml @@ -26,7 +26,7 @@ <xpath expr="//h2" position="replace"> <h2> - <span t-if="o.move_type == 'out_invoice' and o.state in ('open', 'in_payment', 'paid')" t-field="o.journal_id.name"/> + <span t-if="o.move_type == 'out_invoice' and o.state == 'open'" t-field="o.journal_id.name"/> <span t-if="o.move_type == 'out_invoice' and o.state == 'draft'">Draft <span t-field="o.journal_id.name"/></span> <span t-if="o.move_type == 'out_invoice' and o.state == 'cancel'">Cancelled <span t-field="o.journal_id.name"/></span> <span t-if="o.move_type == 'out_refund'">Credit Note</span> |
