[FIX] account_tax_balance: Fixed translation of the financial type field values

pull/824/head
Luis Escobar 2021-10-20 21:19:53 +00:00
parent e7cc118194
commit 9de6ad5abc
2 changed files with 43 additions and 7 deletions

View File

@ -151,6 +151,12 @@ msgstr ""
msgid "Last Updated on"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Liquidity"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_account_move_filter
msgid "Move type"
@ -161,6 +167,36 @@ msgstr ""
msgid "Open Taxes"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Other"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Payable"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Payable refund"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Receivable"
msgstr ""
#. module: account_tax_balance
#: code:addons/account_tax_balance/models/account_move.py:0
#, python-format
msgid "Receivable refund"
msgstr ""
#. module: account_tax_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_search_balance
#: model_terms:ir.ui.view,arch_db:account_tax_balance.view_tax_tree_balance

View File

@ -1,7 +1,7 @@
# Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, fields, models
from odoo import _, api, fields, models
class AccountMove(models.Model):
@ -10,12 +10,12 @@ class AccountMove(models.Model):
@api.model
def _selection_financial_type(self):
return [
("other", "Other"),
("liquidity", "Liquidity"),
("receivable", "Receivable"),
("receivable_refund", "Receivable refund"),
("payable", "Payable"),
("payable_refund", "Payable refund"),
("other", _("Other")),
("liquidity", _("Liquidity")),
("receivable", _("Receivable")),
("receivable_refund", _("Receivable refund")),
("payable", _("Payable")),
("payable_refund", _("Payable refund")),
]
financial_type = fields.Selection(