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

This commit is contained in:
Luis Escobar
2021-10-20 21:19:53 +00:00
committed by Borruso
parent be7123e9a9
commit a8e66f563f
15 changed files with 729 additions and 192 deletions

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(